24 #ifndef StFpdTriggerDetector_hh
25 #define StFpdTriggerDetector_hh
43 unsigned int numberOfTowers(
unsigned int nstbps)
const;
44 unsigned int numberOfModules()
const;
45 unsigned int numberOfLayer1Boards()
const;
47 unsigned int adc(StBeamDirection eastwest,
unsigned int nstbps,
unsigned int tower)
const;
48 unsigned int layer1(StBeamDirection eastwest,
unsigned int nstbps,
unsigned int board)
const;
49 unsigned int layer2(StBeamDirection eastwest,
unsigned int nstbps)
const;
51 void setAdc(StBeamDirection eastwest,
unsigned int nstbps,
unsigned int tower,
unsigned char v);
52 void setLayer1(StBeamDirection eastwest,
unsigned int nstbps,
unsigned int board,
unsigned short v);
53 void setLayer2(StBeamDirection eastwest,
unsigned int nstbps,
unsigned short v);
56 enum {mMaxNS = 49, mMaxTB = 25, mMaxPS = 7, mMaxModule = 6, mMaxBoard = 4};
63 unsigned int mMaxTower[mMaxModule];
64 UChar_t* mAdc[2][mMaxModule];
78 UShort_t mLayer1[2][mMaxModule][mMaxBoard];
79 UShort_t mLayer2[2][mMaxModule];