A plurality of detector elements (2) each connected to an individual photon counting channel (4, PCC) for providing at least one photon counting output, and a photon counting channel for outputting a photon counting output An X-ray detection system (1) is provided, which comprises a read-out unit (9). The X-ray detection system (1) comprises at least two photon countings, each at least a subset of the photon counting channels (PCC, 4) each providing at least one photon counting output and having a shaping filter (6). The shaping filters of the photon counting sub-channels having sub-channels (40-1 to 40-M) are configured with different shaping times, and the photon counting sub-channels having shaping filters with different shaping times have different energy levels. Characterized in that it is adapted to count photons in order. Furthermore, the readout unit (9) is arranged to select the photon counting output from the photon counting sub-channel for each photon counting channel (PCC).少なくとも1つの光子計数出力を提供するための個々の光子計数チャンネル(4、PCC)にそれぞれが接続された複数の検出素子(2)と、光子計数出力を出力するための光子計数チャンネルに接続された読出ユニット(9)と、を備えるX線検出システム(1)が提供される。X線検出システム(1)は、光子計数チャンネル(PCC、4)の少なくともサブセットのそれぞれが、それぞれが少なくとも1つの光子計数出力を提供し、かつ、整形フィルタ(6)を有する少なくとも2つの光子計数サブチャンネル(40-1から40-M)を備え、光子計数サブチャンネルの整形フィルタは異なる整形時間を備えて構成され、異なる整形時間を備えた整形フィルタを有する光子計数サブチャンネルは、異なるエネルギー準位の光子を計数するために適合されていることを特徴とする。さらに、読出ユニット(9)は、光子計数サブチャンネルからの光子計数出力を、それぞれの光子計数チャンネル(PCC)について選択するように構成されている。