34 #ifndef StVpdTriggerDetector_hh
35 #define StVpdTriggerDetector_hh
50 unsigned int numberOfVpdCounters()
const;
51 unsigned short ADC(StBeamDirection eastwest,
unsigned int pmt)
const;
52 unsigned short TDC(StBeamDirection eastwest,
unsigned int pmt)
const;
53 unsigned short ADCmxq(StBeamDirection eastwest,
unsigned int pmt)
const;
54 unsigned short TDCmxq(StBeamDirection eastwest,
unsigned int pmt)
const;
55 unsigned short EarliestTDC(StBeamDirection eastwest)
const;
56 unsigned short TimeDifference()
const {
return mTimeDifference;};
58 void setADC(StBeamDirection eastwest,
unsigned int pmt,
unsigned short v);
59 void setTDC(StBeamDirection eastwest,
unsigned int pmt,
unsigned short v);
60 void setADCmxq(StBeamDirection eastwest,
unsigned int pmt,
unsigned short v);
61 void setTDCmxq(StBeamDirection eastwest,
unsigned int pmt,
unsigned short v);
62 void setEarliestTDC(StBeamDirection eastwest,
unsigned short v) {mEarliestTDC[eastwest]=v;}
63 void setTimeDifference(
unsigned short v) {mTimeDifference = v;}
66 enum {mMaxVpdCounter = 16};
67 unsigned short mADC[2][mMaxVpdCounter];
68 unsigned short mTDC[2][mMaxVpdCounter];
69 unsigned short mADCmxq[2][mMaxVpdCounter];
70 unsigned short mTDCmxq[2][mMaxVpdCounter];
71 unsigned short mEarliestTDC[2];
72 unsigned short mTimeDifference;