25 #ifndef STTOFINLCORR_H
26 #define STTOFINLCORR_H
33 #include "TDataSetIter.h"
34 #include "TObjectSet.h"
40 static const Int_t mNTray = 120;
41 static const Int_t mNTDIGOnTray = 8;
42 static const Int_t mNGLOBALCHANMAX = 192;
44 static const Int_t mNTDIGMAX = 1200;
45 static const Int_t mNChanOnTDIG = 24;
46 static const Int_t mNChanMAX = 1024;
47 static const Int_t mNBoardIdMAX = 4800;
49 static const Int_t mEastVpdTrayId = 122;
50 static const Int_t mWestVpdTrayId = 121;
52 Int_t mTdigOnTray[mNTray][mNTDIGOnTray];
53 Int_t mTdigOnEastVpd[mNTDIGOnTray];
54 Int_t mTdigOnWestVpd[mNTDIGOnTray];
56 Int_t mBoardId[mNTDIGMAX];
57 Int_t mBoardId2Index[mNBoardIdMAX];
58 Float_t mINLCorr[mNTDIGMAX][mNChanOnTDIG][mNChanMAX];
68 void initFromDbase(
StMaker *maker);
71 float getTrayINLCorr(
int trayId,
int globalTdcChan,
int bin);
72 float getVpdINLCorr(
int ewId,
int globalTdcChan,
int bin);
74 void setNValidTrays(
int ntrays);
77 inline void StTofINLCorr::setNValidTrays(
int ntrays) { mNValidTrays = ntrays; }