The input data is in the form of un-blocked byte stream disk files,
including odd-byte length records.
Data processing cannot start part way through a file.
Tigress Germanium detectors are 4-crystal clovers, each segmented 8-fold.
The Bambino Si detector consists of 2 arrays of 16 by 24 elements.
The time (cfd) word associated with each core is extracted from the raw
timestamp data by taking detector 1 coreA as a reference, and
calculating the difference, offset by 8192 channels.
The suppressor and bambino cfd words are provided similarly.
This allows all cfd words to fit into 16bit words.
There is a config file to allow mapping of the electronics channel number.
*formats
coreA[1:16] (e,t,s1,s2,s3,s4,s5,s6,s7,s8)
coreB[17:32] (e,t,s1,s2,s3,s4,s5,s6,s7,s8)
coreC[33:48] (e,t,s1,s2,s3,s4,s5,s6,s7,s8)
coreD[49:64] (e,t,s1,s2,s3,s4,s5,s6,s7,s8)
suppress[65:80] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,
s16,s17,s18,s19,s20)
suppress_cfd[81:96] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,
s16,s17,s18,s19,s20)
bambino_segs[100] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15)
bambino_rings[120] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,
s16,s17,s18,s19,s20,s21,s22,s23)
bambino_segs_cfd[140] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15)
bambino_rings_cfd[160] (s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,
s16,s17,s18,s19,s20,s21,s22,s23)
rf[255] (e)
!Detector traces ordered: coreA,segsA(8),coreB,segsB(8),coreC,segsC(8),coreD,segsD(8)
detector1traces[256:291]
detector2traces[292:327]
!etc...