The device (1) has a transmitter (5) for transmitting an x-ray quanta (34), and a detector (7) arranged in a detection plane (10) for receiving the quanta. The quanta is designed and arranged to produce a detector signal based on the quanta received by an object (40), where a quanta signal is produced based on the produced detector signal for the detected quanta. The quanta signal represents the quanta energy of the detected quanta, where a total signal corresponds to a sum of quanta energies of the detected quanta is produced. Independent claims are also included for the following: (1) a computer tomograph with a detection device (2) a method for detecting an object.