A radiation device includes a detector connected to a multi-functional
radiation identifying and processing application specific integrated
circuit. The detector includes a plurality of individual imaging cells,
each imaging cell generating a charge in response to incident radiation
events and outputting the generated charge at an imaging cell output. The
application specific integrated circuit includes a different circuit
connected respectively to a corresponding one of the imaging cell
outputs, each circuit receiving and processing the generated charge
received from the corresponding one imaging cell output. Each circuit
includes a preamplifier for generating a voltage or current amplitude in
response to the received charge, a counter, and a mode logic configured
for setting the counter to perform, selectively, at least two of a)
photon counting, b) analog to digital conversion of the one of the
voltage amplitude and the current amplitude, and c) timing measurement of
incident radiation events.