34 #ifndef StTriggerData2007_hh
35 #define StTriggerData2007_hh
37 #include "StTriggerData.h"
50 unsigned int version()
const;
51 unsigned int numberOfPreXing()
const;
52 unsigned int numberOfPostXing()
const;
55 unsigned int token()
const;
56 unsigned int triggerWord()
const;
57 unsigned int actionWord()
const;
58 unsigned short busyStatus()
const;
59 unsigned short dsmInput()
const;
60 unsigned short trgToken()
const;
61 unsigned short dsmAddress()
const;
62 unsigned short mAddBits()
const;
63 unsigned short bcData(
int channel)
const;
66 int L2ResultsOffset(StL2AlgorithmId
id)
const;
67 bool isL2Triggered(StL2TriggerResultType
id)
const;
70 unsigned int bunchCounterHigh()
const;
71 unsigned int bunchCounterLow()
const;
72 unsigned int bunchId48Bit()
const;
73 unsigned int bunchId7Bit()
const;
74 unsigned int spinBit()
const;
75 unsigned int spinBitYellowFilled()
const;
76 unsigned int spinBitYellowUp()
const;
77 unsigned int spinBitYellowDown()
const;
78 unsigned int spinBitYellowUnpol()
const;
79 unsigned int spinBitBlueFilled()
const;
80 unsigned int spinBitBlueUp()
const;
81 unsigned int spinBitBlueDown()
const;
82 unsigned int spinBitBlueUnpol()
const;
85 unsigned short tcuBits()
const;
86 unsigned short lastDSM(
int address)
const;
87 unsigned short bemcLayer1DSM(
int channel,
int prepost=0)
const;
88 unsigned short eemcLayer1DSM(
int channel,
int prepost=0)
const;
89 unsigned short emcLayer2DSM(
int channel)
const;
90 unsigned short fpdLayer1DSMRaw(StBeamDirection eastwest,
int channel,
int prepost=0)
const;
91 unsigned short fpdLayer1DSM(StBeamDirection eastwest,
int module,
int board,
int prepost=0)
const;
92 unsigned short fpdLayer2DSMRaw(
int channel)
const;
93 unsigned short fpdLayer2DSM(StBeamDirection eastwest,
int module)
const;
96 unsigned short ctbRaw(
int address,
int prepost=0)
const;
97 unsigned short ctb(
int pmt,
int prepost=0)
const;
98 unsigned short ctbTraySlat(
int tray,
int slat,
int prepost=0)
const;
99 unsigned short ctbSum(
int prepost=0)
const;
102 unsigned short bbcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
103 unsigned short bbcTDC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
104 unsigned short bbcADCSum(StBeamDirection eastwest,
int prepost=0)
const;
105 unsigned short bbcADCSumLargeTile(StBeamDirection eastwest,
int prepost=0)
const;
106 unsigned short bbcEarliestTDC(StBeamDirection eastwest,
int prepost=0)
const;
107 unsigned short bbcTimeDifference()
const;
110 unsigned short fpd(StBeamDirection eastwest,
int module,
int pmt,
int prepost=0)
const;
111 unsigned short fpdSum(StBeamDirection eastwest,
int module)
const;
114 unsigned short nQTdata(
int prepost=0)
const;
115 unsigned int* QTdata(
int prepost=0)
const;
118 unsigned short zdcAtChannel(
int channel,
int prepost=0)
const;
119 unsigned short zdcAtAddress(
int address,
int prepost=0)
const;
120 unsigned short zdcUnAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
121 unsigned short zdcAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
122 unsigned short zdcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
123 unsigned short zdcTDC(StBeamDirection eastwest,
int prepost=0)
const;
124 unsigned short zdcHardwareSum(
int prepost=0)
const;
127 unsigned short zdcSMD(StBeamDirection eastwest,
int verthori,
int strip,
int prepost=0)
const;
130 unsigned char bemcHighTower(
int patch_id,
int prepost=0)
const;
131 unsigned char bemcJetPatch (
int patch_id,
int prepost=0)
const;
132 unsigned char eemcHighTower(
int patch_id,
int prepost=0)
const;
133 unsigned char eemcJetPatch (
int patch_id,
int prepost=0)
const;
134 unsigned char bemcHighestTowerADC(
int prepost=0)
const;
135 unsigned char eemcHighestTowerADC(
int prepost=0)
const;
138 unsigned short vpdADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
139 unsigned short vpdTDC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
140 unsigned short vpdEarliestTDC(StBeamDirection eastwest,
int prepost=0)
const;
141 unsigned short vpdTimeDifference()
const;
144 unsigned short mtdAtAddress(
int address,
int prepost=0)
const;
145 unsigned short mtdAdc(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
146 unsigned short mtdTdc(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
149 char* getTriggerStructure();
151 int getRawSize()
const;
153 unsigned char* getDsm0_BEMCE(
int prepost=0)
const {
return 0;}
154 unsigned char* getDsm0_BEMCW(
int prepost=0)
const {
return 0;}
155 unsigned char* getDsm0_EEMC(
int prepost=0)
const;
156 unsigned short* getDsm1_BEMC(
int prepost=0)
const {
return 0;}
158 unsigned short* getDsm1_EEMC(
int prepost=0)
const;
159 unsigned short* getDsm2_EMC()
const;
160 unsigned short* getDsm3()
const;
161 unsigned char* getDsm_FMS(
int prepost=0)
const;
162 unsigned char* getDsm01_FMS(
int prepost=0)
const;
163 unsigned char* getDsm02_FMS(
int prepost=0)
const;
164 unsigned short* getDsm1_FMS(
int prepost=0)
const;
165 unsigned short* getDsm2_FMS()
const;
166 unsigned int l2ResultLength()
const;
167 const unsigned int* l2Result()
const;