The GammasphereTapeFMA handler supports the basic Ge+BGO formats plus FMA FERA extensions.
This is the standard handler for Gammasphere experiments at Argonne.
The event header is output as a 9 word group as follows ...
header[255] (cleange,dirtyge_bgoonly,ttH,ttM,ttL,tac1,tac2,gelowsum,bgolowsum)
The GE and BGO detectors are output as N-parameter groups,
where the number of words in the following list is dependent on the value of "modeflags" ...
ge[1:110] (hit_pattern,ge_high,ge_side,ge_time,ge_trap,ge_low,bgo_time,bgo_low)
The (optional) FERA detectors are output as N-parameter groups as
follows ...
It should be noted that all data for a particular FERA VSN appears as
one group.
ChanPlate1[111] (q1,q2,q3,q4,qtot)
ChanPlate2[112] (q1,q2,q3,q4,qtot)
IonChamber[113] (rftac,pu,de3,rgtac,de1)
VSN 21 (15 in HEX) Channel Plate 1 channel 0 = Q1 channel 1 = Q2 channel 2 = Q3 channel 3 = Q4 channel 4 = Qtot VSN 22 (16 in hex) Channel plate 2 channel 0 = Q1 channel 1 = Q2 channel 2 = Q3 channel 3 = Q4 channel 4 = Qtot VSN 23 (17 in HEX) ION Chamber channel 9 RFTAC channel 12 PU channel 13 DE3 channel 14 RGTAC channel 15 DE1
These are newer definitions, but are compatible with the previous version. Just use group numbers and formats as appropriate.
IonChamber[114] (de_ic1,de_ic2,de_ic3,gsppac_tof,ppacrf_tof)
ppac[115] (p_left,p_right,p_up,p_down)
mball[121:216] (energy,time,tail))
nwall[221:249] (elow,ehigh,tail,tof,zerocross)
These correspond to the raw FERA formats ...
VSN 24 (18 in HEX) PPAC channel 0 = LEFT channel 1 = RIGHT channel 2 = UP channel 3 = DOWN VSN 25 (19 in HEX) ION Chamber channel 0 = DE_IC1 channel 1 = DE_IC2 channel 2 = DE_IC3 channel 3 = DE_PPAC channel 4 = GSPPAC_TOF channel 5 = PPACRF_TOF Microball VSN 97-102 (61-66 in HEX) Energies VSN 113-118 (71-76 in HEX) Times VSN 129-135 (81-86 in HEX) Tails Neutron array VSN 49,52 (31,34 in HEX) Low energies VSN 50,53 (32,35 in HEX) High energies VSN 51,54 (33,36 in HEX) Tail VSN 55,57 (37,39 in HEX) Time of flight VSN 56,58 (38,3a in HEX) Zero-crossing
N.B. If channel numbers above change, then handler will need recompiling. If change is likely, then it will need a config file defining.
Event separator FFFF 1st word: NNNN NNNN ---- ---- Run number ---- ---- NNNN NNNN Number of words in this event 2nd word: 0NNN NNNN ---- ---- Total Ge fold ---- ---- 0NNN NNNN Clean Ge fold 3rd word: NNNN NNNN ---- ---- Raw BGO sum energy/8 ---- ---- NNNN NNNN Raw Ge lowres sum energy/8 4th word: 1--- ---- ---- ---- Set if FMA data present -000 ---- ---- ---- Unused ---- NNNN ---- ---- #neutrons ---- ---- NNNN ---- #protons ---- ---- ---- NNNN #alphas ----------------------------------------------------------------------- Ge data follows ... 1st word: 0--- ---- ---- ---- Unused -NNN ---- ---- ---- side channel (Devlin) ---- -000 ---- ---- Unused ---- ---N ---- ---- Thick target tag (Set adds 3rd word) ---- ---- 0NNN NNNN detector number 2nd word: 00-- ---- ---- ---- Unused --NN NNNN NNNN NNNN detector energy 3rd word: 0000 ---- ---- ---- Unused ---- NNNN NNNN NNNN Ge time ----------------------------------------------------------------------- Neutron data follows ... 1st word: 1111 ---- ---- ---- Tag ---- 0000 0--- ---- Unused ---- ---- -NNN NNNN detector number 2nd word: 0000 ---- ---- ---- Unused ---- NNNN NNNN NNNN Elow ----------------------------------------------------------------------- Proton data follows ... 1st word: 0001 ---- ---- ---- Tag ---- 0000 0--- ---- Unused ---- ---- -NNN NNNN detector number 2nd word: 0000 ---- ---- ---- Unused ---- NNNN NNNN NNNN Energy ----------------------------------------------------------------------- Alpha data follows ... 1st word: 0100 ---- ---- ---- Tag ---- 0000 0--- ---- Unused ---- ---- -NNN NNNN detector number 2nd word: 0000 ---- ---- ---- Unused ---- NNNN NNNN NNNN Elow ----------------------------------------------------------------------- FMA data follows ... 1st word: 0000 00-- ---- ---- Unused ---- --NN NNNN NNNN M/Q value (right-left + 300) 2nd word: 0000 00-- ---- ---- Unused ---- --NN NNNN NNNN PPAC-Gammasphere TOF -----------------------------------------------------------------------
This is mapped onto the following format statements ...
trigger[255] (total_fold,clean_fold,raw_bgo,lowres_ge,fma_present,neutrons,protons,alphas) ge[1:110] (side,energy,time) neutron[221:250] (energy) proton[121:220] (energy) alpha[256:344] (energy) fma[254] (mq,tof)
1= unsegmented detector (no correction) 2= centre (no correction) 3= high ratio of detector divided into thirds (adjust angle by +2.9) 4= low ratio of detector divided into thirds (adjust angle by -2.9) 5= high ratio of detector divided into halves (adjust angle by +2.4) 6= low ratio of detector divided into halves (adjust angle by -2.4)
Further information may be obtained from the Gammasphere documentation web page.