Engine to write trigger bits and amplitudes to the Root output.
The structure of the trigger bits in the current version of the code (June 2008) is the following:
struct TrigBits_t { Float_t vetoADC; // amplitude of the multiplicity counter 20x20, to be used to cut double particles in the beam Int_t veto; // 1== 20x20 trigger counter is on Int_t beam; // 1== main beam trigger recorded (normally 10x10 coincidence, but can also be 100x100 or 20x20 Int_t spill; // 1== beam spill (calibration and pedestals are taken out of spill) Int_t pedestal; // 1== pedestal event Int_t calib; // 1== calibration event (LED for the AHCAL) Int_t cosmics; // 1== cosmic event (used only in lab test with detector rotated for cosmic data taking) Int_t cherenkow; // 1== Ch on (in 2006/2007 CERN = electron) Int_t a3x3; // single triggers bits used in the coincidence for beam trigger Int_t b3x3; Int_t a10x10; Int_t b10x10; Int_t a100x100; // muon counter in front of detector (removed for non muon runs) Int_t b100x100; // muon counter in the back of the detector (muon veto) } _trigBits;
this structure has been changed in the most recent protest version (July 2008) to remove ambiguity and to include also the second Cherenkov trigger available at FNAL:
struct TrigBits_t { Float_t multiADC; // amplitude of the multiplicity counter 20x20, to be used to cut double particles in the beam Int_t multi; // 1== 20x20 trigger counter is on Int_t beam; // 1== main beam trigger recorded (normally 10x10 coincidence, but can also be 100x100 or 20x20 Int_t spill; // 1== beam spill (calibration and pedestals are taken out of spill) Int_t pedestal; // 1== pedestal event Int_t calib; // 1== calibration event (LED for the AHCAL) Int_t cosmics; // 1== cosmic event (used only in lab test with detector rotated for cosmic data taking) Int_t cherenkow; // 1== Ch on (in 2006/2007 CERN = electron) Int_t cherenkow2; // 1== Ch2 on (in 2008 the meaning of Ch bits is more complex and will be documented separately) Int_t a3x3; // single triggers bits used in the coincidence for beam trigger Int_t b3x3; Int_t a10x10; Int_t b10x10; Int_t a100x100; // muon counter in front of detector (removed for non muon runs) Int_t b100x100; // muon counter in the back of the detector (muon veto) Int_t veto; // 0== no double particle in the outer veto, 1-4== number of triggers hit by double particles } _trigBits;
IMPORTANT!!! to account for this modification the steering file parameters name
VetoAmplitudeName VetoAmplitude VetoBitName VetoBit
need to be changed to:
MultiAmplitudeName MultiAmplitude MultiBitName MultiBit