34 #ifndef StFpdCollection_hh
35 #define StFpdCollection_hh
45 unsigned int numberOfADC()
const;
46 unsigned int numberOfTDC()
const;
47 unsigned int numberOfRegisters()
const;
48 unsigned int numberOfPedestal()
const;
49 unsigned int numberOfPMTpEEMC()
const;
50 unsigned int numberOfPMTPbg()
const;
51 unsigned int numberOfPMTSmdX()
const;
52 unsigned int numberOfPMTSmdY()
const;
53 unsigned int numberOfScalers()
const;
55 unsigned short* adc();
56 const unsigned short* adc()
const;
57 unsigned short* tdc();
58 const unsigned short* tdc()
const;
59 unsigned short registers(
unsigned int)
const;
60 unsigned short* pedestal();
61 const unsigned short* pedestal()
const;
62 unsigned int scaler(
unsigned int)
const;
64 unsigned short north(
unsigned int)
const;
65 unsigned short south(
unsigned int)
const;
66 unsigned short top(
unsigned int)
const;
67 unsigned short bottom(
unsigned int)
const;
68 unsigned short smdx(
unsigned int)
const;
69 unsigned short smdy(
unsigned int)
const;
70 unsigned short pres1(
unsigned int)
const;
71 unsigned short pres2(
unsigned int)
const;
72 unsigned short southVeto()
const;
74 unsigned int sumAdcNorth()
const;
75 unsigned int sumAdcSouth()
const;
76 unsigned int sumAdcTop()
const;
77 unsigned int sumAdcBottom()
const;
78 unsigned int sumAdcPreShower1()
const;
79 unsigned int sumAdcPreShower2()
const;
80 unsigned int sumAdcSmdX()
const;
81 unsigned int sumAdcSmdY()
const;
83 void setAdc(
unsigned int,
unsigned short);
84 void setTdc(
unsigned int,
unsigned short);
85 void setRegister(
unsigned int,
unsigned short);
86 void setPedestal(
unsigned int,
unsigned short);
87 void setScaler(
unsigned int,
unsigned int);
89 unsigned int token()
const;
90 void setToken(
unsigned int);
105 UShort_t mAdc[mMaxAdc];
106 UShort_t mTdc[mMaxTdc];
107 UShort_t mReg[mMaxRegisters];
108 UShort_t mPed[mMaxPedestal];
109 UInt_t mScl[mMaxScalers];
116 StFpdCollection::numberOfADC()
const {
return mMaxAdc;}
119 StFpdCollection::numberOfTDC()
const {
return mMaxTdc;}
122 StFpdCollection::numberOfRegisters()
const {
return mMaxRegisters;}
125 StFpdCollection::numberOfPedestal()
const {
return mMaxPedestal;}
128 StFpdCollection::numberOfPMTpEEMC()
const {
return mMaxPMTpEEMC;}
131 StFpdCollection::numberOfPMTPbg()
const {
return mMaxPMTPbg;}
134 StFpdCollection::numberOfPMTSmdX()
const {
return mMaxPMTSmdX;}
137 StFpdCollection::numberOfPMTSmdY()
const {
return mMaxPMTSmdY;}
140 StFpdCollection::numberOfScalers()
const {
return mMaxScalers;}
143 StFpdCollection::token()
const {
return mToken;}