44 #ifndef StTriggerData2005_hh
45 #define StTriggerData2005_hh
47 #include "StTriggerData.h"
60 unsigned int version()
const;
61 unsigned int numberOfPreXing()
const;
62 unsigned int numberOfPostXing()
const;
65 unsigned int token()
const;
66 unsigned int triggerWord()
const;
67 unsigned int actionWord()
const;
68 unsigned short busyStatus()
const;
69 unsigned short dsmInput()
const;
70 unsigned short trgToken()
const;
71 unsigned short dsmAddress()
const;
72 unsigned short mAddBits()
const;
73 unsigned short bcData(
int channel)
const;
76 int L2ResultsOffset(StL2AlgorithmId
id)
const;
77 bool isL2Triggered(StL2TriggerResultType
id)
const;
80 unsigned int bunchCounterHigh()
const;
81 unsigned int bunchCounterLow()
const;
82 unsigned int bunchId48Bit()
const;
83 unsigned int bunchId7Bit()
const;
84 unsigned int spinBit()
const;
85 unsigned int spinBitYellowFilled()
const;
86 unsigned int spinBitYellowUp()
const;
87 unsigned int spinBitYellowDown()
const;
88 unsigned int spinBitYellowUnpol()
const;
89 unsigned int spinBitBlueFilled()
const;
90 unsigned int spinBitBlueUp()
const;
91 unsigned int spinBitBlueDown()
const;
92 unsigned int spinBitBlueUnpol()
const;
95 unsigned short tcuBits()
const;
96 unsigned short lastDSM(
int address)
const;
97 unsigned short bemcLayer1DSM(
int channel,
int prepost=0)
const;
98 unsigned short eemcLayer1DSM(
int channel,
int prepost=0)
const;
99 unsigned short emcLayer2DSM(
int channel)
const;
100 unsigned short fpdLayer1DSMRaw(StBeamDirection eastwest,
int channel,
int prepost=0)
const;
101 unsigned short fpdLayer1DSM(StBeamDirection eastwest,
int module,
int board,
int prepost=0)
const;
102 unsigned short fpdLayer2DSMRaw(
int channel)
const;
103 unsigned short fpdLayer2DSM(StBeamDirection eastwest,
int module)
const;
106 unsigned short ctbRaw(
int address,
int prepost=0)
const;
107 unsigned short ctb(
int pmt,
int prepost=0)
const;
108 unsigned short ctbTraySlat(
int tray,
int slat,
int prepost=0)
const;
109 unsigned short ctbSum(
int prepost=0)
const;
112 unsigned short mwc(
int pmt,
int prepost=0)
const;
115 unsigned short bbcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
116 unsigned short bbcTDC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
117 unsigned short bbcADCSum(StBeamDirection eastwest,
int prepost=0)
const;
118 unsigned short bbcADCSumLargeTile(StBeamDirection eastwest,
int prepost=0)
const;
119 unsigned short bbcEarliestTDC(StBeamDirection eastwest,
int prepost=0)
const;
120 unsigned short bbcTimeDifference()
const;
123 unsigned short fpd(StBeamDirection eastwest,
int module,
int pmt,
int prepost=0)
const;
124 unsigned short fpdSum(StBeamDirection eastwest,
int module)
const;
127 unsigned short zdcAtChannel(
int channel,
int prepost=0)
const;
128 unsigned short zdcAtAddress(
int address,
int prepost=0)
const;
129 unsigned short zdcUnAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
130 unsigned short zdcAttenuated(StBeamDirection eastwest,
int prepost=0)
const;
131 unsigned short zdcADC(StBeamDirection eastwest,
int pmt,
int prepost=0)
const;
132 unsigned short zdcTDC(StBeamDirection eastwest,
int prepost=0)
const;
133 unsigned short zdcHardwareSum(
int prepost=0)
const;
136 unsigned short zdcSMD(StBeamDirection eastwest,
int verthori,
int strip,
int prepost=0)
const;
139 unsigned char bemcHighTower(
int patch_id,
int prepost=0)
const;
140 unsigned char bemcJetPatch (
int patch_id,
int prepost=0)
const;
141 unsigned char eemcHighTower(
int patch_id,
int prepost=0)
const;
142 unsigned char eemcJetPatch (
int patch_id,
int prepost=0)
const;
143 unsigned char bemcHighestTowerADC(
int prepost=0)
const;
144 unsigned char eemcHighestTowerADC(
int prepost=0)
const;
147 char* getTriggerStructure();
149 int getRawSize()
const;
151 unsigned char* getDsm0_BEMCE(
int prepost=0)
const {
return 0;}
152 unsigned char* getDsm0_BEMCW(
int prepost=0)
const {
return 0;}
153 unsigned char * getDsm0_EEMC(
int prepost=0)
const;
154 unsigned short int* getDsm1_BEMC(
int prepost=0)
const {
return 0;}
155 unsigned short int * getDsm1_EEMC(
int prepost=0)
const;
156 unsigned short int * getDsm2_EMC()
const;
157 unsigned short int * getDsm3()
const;
158 unsigned int l2ResultLength()
const;
159 const unsigned int* l2Result()
const;