54 #ifndef StTriggerData2004_hh
55 #define StTriggerData2004_hh
57 #include "StTriggerData.h"
70 unsigned int version()
const;
71 unsigned int numberOfPreXing()
const;
72 unsigned int numberOfPostXing()
const;
75 unsigned int token()
const;
76 unsigned int triggerWord()
const;
77 unsigned int actionWord()
const;
78 unsigned short busyStatus()
const;
79 unsigned short dsmInput()
const;
80 unsigned short trgToken()
const;
81 unsigned short dsmAddress()
const;
82 unsigned short mAddBits()
const;
83 unsigned short bcData(
int channel)
const;
86 unsigned int bunchCounterHigh()
const;
87 unsigned int bunchCounterLow()
const;
88 unsigned int bunchId48Bit()
const;
89 unsigned int bunchId7Bit()
const;
90 unsigned int spinBit()
const;
91 unsigned int spinBitYellowFilled()
const;
92 unsigned int spinBitYellowUp()
const;
93 unsigned int spinBitYellowDown()
const;
94 unsigned int spinBitYellowUnpol()
const;
95 unsigned int spinBitBlueFilled()
const;
96 unsigned int spinBitBlueUp()
const;
97 unsigned int spinBitBlueDown()
const;
98 unsigned int spinBitBlueUnpol()
const;
101 unsigned short tcuBits()
const;
102 unsigned short lastDSM(
int address)
const;
103 unsigned short bemcLayer1DSM(
int channel,
int prepost=0)
const;
104 unsigned short eemcLayer1DSM(
int channel,
int prepost=0)
const;
105 unsigned short emcLayer2DSM(
int channel)
const;
106 unsigned short fpdLayer1DSMRaw(StBeamDirection eastwest,
int channel,
int prepost=0)
const;
107 unsigned short fpdLayer1DSM(StBeamDirection eastwest,
int module,
int board,
int prepost=0)
const;
108 unsigned short fpdLayer2DSMRaw(
int channel)
const;
109 unsigned short fpdLayer2DSM(StBeamDirection eastwest,
int module)
const;
112 unsigned short ctbRaw(
int address,
int prepost=0)
const;
113 unsigned short ctb(
int pmt,
int prepost=0)
const;
114 unsigned short ctbTraySlat(
int tray,
int slat,
int prepost=0)
const;
115 unsigned short ctbSum(
int prepost=0)
const;
118 unsigned short mwc(
int pmt,
int prepost=0)
const;
121 unsigned short bbcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
122 unsigned short bbcTDC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
123 unsigned short bbcADCSum(StBeamDirection eastwest,
int prepost=0)
const;
124 unsigned short bbcADCSumLargeTile(StBeamDirection eastwest,
int prepost=0)
const;
125 unsigned short bbcEarliestTDC(StBeamDirection eastwest,
int prepost=0)
const;
126 unsigned short bbcTimeDifference()
const;
129 unsigned short fpd(StBeamDirection eastwest,
int module,
int pmt,
int prepost=0)
const;
130 unsigned short fpdSum(StBeamDirection eastwest,
int module)
const;
133 unsigned short zdcAtChannel(
int channel,
int prepost=0)
const;
134 unsigned short zdcAtAddress(
int address,
int prepost=0)
const;
135 unsigned short zdcUnAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
136 unsigned short zdcAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
137 unsigned short zdcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
138 unsigned short zdcTDC(StBeamDirection eastwest,
int prepost=0)
const;
139 unsigned short zdcHardwareSum(
int prepost=0)
const;
142 unsigned short zdcSMD(StBeamDirection eastwest,
int verthori,
int strip,
int prepost=0)
const;
145 unsigned char bemcHighTower(
int patch_id,
int prepost=0)
const;
146 unsigned char bemcJetPatch (
int patch_id,
int prepost=0)
const;
147 unsigned char eemcHighTower(
int patch_id,
int prepost=0)
const;
148 unsigned char eemcJetPatch (
int patch_id,
int prepost=0)
const;
149 unsigned char bemcHighestTowerADC(
int prepost=0)
const;
150 unsigned char eemcHighestTowerADC(
int prepost=0)
const;
153 char* getTriggerStructure();
155 int getRawSize()
const;
157 unsigned char* getDsm0_BEMCE(
int prepost=0)
const {
return 0;}
158 unsigned char* getDsm0_BEMCW(
int prepost=0)
const {
return 0;}
159 unsigned char * getDsm0_EEMC(
int prepost=0)
const;
160 unsigned short int* getDsm1_BEMC(
int prepost=0)
const {
return 0;}
161 unsigned short int * getDsm1_EEMC(
int prepost=0)
const;
162 unsigned short int * getDsm2_EMC()
const;
163 unsigned short int * getDsm3()
const;
164 unsigned int l2ResultLength()
const;
165 const unsigned int* l2Result()
const;