41 #ifndef STBTOFINLCORR_H
42 #define STBTOFINLCORR_H
49 #include "TDataSetIter.h"
50 #include "TObjectSet.h"
60 static const Int_t mNTray = 120;
61 static const Int_t mNTDIGOnTray = 8;
62 static const Int_t mNGLOBALCHANMAX = 192;
67 static const Int_t mNTDIGMAX = 1206;
68 static const Int_t mNChanOnTDIG = 24;
69 static const Int_t mNChanMAX = 1024;
70 static const Int_t mNBoardIdMAX = 4800;
72 static const Int_t mEastVpdTrayId = 122;
73 static const Int_t mWestVpdTrayId = 121;
75 Int_t mTdigOnTray[mNTray][mNTDIGOnTray];
76 Int_t mTdigOnEastVpd[mNTDIGOnTray];
77 Int_t mTdigOnWestVpd[mNTDIGOnTray];
79 Int_t mBoardId[mNTDIGMAX];
80 Int_t mBoardId2Index[mNBoardIdMAX];
81 Short_t mINLCorr[mNTDIGMAX][mNChanOnTDIG][mNChanMAX];
98 float getVpdINLCorr(StBeamDirection eastwest,
int globalTdcChan,
int bin);
float getTdigINLCorr(int tdigId, int tdcChannel, int bin)
direct access to INL correction table for any TDIG-Id
float getTrayINLCorr(int trayId, int globalTdcChan, int bin)
To get the INL correction tables for trays.
void initFromDbase(StMaker *maker)
Initial function to access the data base and retrieve INL tables.
float getVpdINLCorr(StBeamDirection eastwest, int globalTdcChan, int bin)
To get the INL correction tables for vpds.