9 #ifndef StMuEmcTowerData__h
10 #define StMuEmcTowerData__h
16 enum {bemc=1, bprs=2, bsmde=3, bsmdp=4, eemc=5, eprs=6, esmdu=7, esmdv=8};
24 int towerADC(
int id,
int detector = bemc)
const;
25 StEmcCrateStatus crateStatus(
int crate,
int detector = bemc)
const;
30 int getNEndcapTowerADC()
const {
return nEndcapTowers;}
31 void getEndcapTowerADC(
int ihit,
int &adc,
int &sec,
int &sub,
int & eta)
const;
33 void setTowerADC(
int,
int,
int detector = bemc);
34 void setCrateStatus(StEmcCrateStatus status,
int crate,
int detector = bemc);
36 enum { nBTowCrates=30, nBSmdCrates=8, nBPrsCrates=4, nETowCrates=6,
37 nESmdCrates=36, nEPrsCrates=12};
40 enum {nEmcTowers=4800, nEndcapTowers=720};
41 unsigned short mTowerADC[nEmcTowers];
42 unsigned short mEndcapTowerADC[nEndcapTowers];
43 unsigned char mBTowCrateFlags[nBTowCrates];
44 unsigned char mBSmdCrateFlags[nBSmdCrates];
45 unsigned char mBPrsCrateFlags[nBPrsCrates];
46 unsigned char mETowCrateFlags[nETowCrates];
47 unsigned char mESmdCrateFlags[nESmdCrates];
48 unsigned char mEPrsCrateFlags[nEPrsCrates];