36 #define NCRYSEB 1700 // Number of crystals per EB supermodule
37 #define NMODEB 9 // Number of EB submodules
38 #define NPNPERMOD 2 // Number of PN per module
41 #define NCRYSEE 830 // Number of crystals per EE supermodule
42 #define NMODEE 22 // Number of EE submodules
44 #define NSIDES 2 // Number of sides
45 #define NREFCHAN 2 // Ref number for APDB
59 void setGeomEB(
int etaG,
int phiG,
int module,
int tower,
int strip,
int xtal,
60 int apdRefTT,
int channel,
int lmr);
61 void setGeomEE(
int etaG,
int phiG,
int iX,
int iY,
int iZ,
int module,
int tower,
62 int ch ,
int apdRefTT,
int channel,
int lmr);
unsigned int _firstsamplePN
int IsThereDataADC[NCRYSEB][nColor]
int nEvtBadTiming[NCRYSEB]
std::vector< int > modules
EcalLaserAnalyzer(const edm::ParameterSet &iConfig)
std::map< int, unsigned int > apdRefMap[2]
std::string digiPNCollection_
TTree * RefAPDtrees[NREFCHAN][NMODEE]
TAPD * APDFirstAnal[NCRYSEB][nColor]
unsigned int _timingcuthigh
unsigned int _timingcutlow
unsigned int _timingquallow
unsigned int isFirstChanModFilled[NMODEE]
std::string digiProducer_
std::vector< int > colors
TTree * ADCtrees[NCRYSEB]
std::string digiCollection_
unsigned int _lastsamplePN
bool wasTimingOK[NCRYSEB]
std::string eventHeaderProducer_
TPN * PNFirstAnal[NMODEE][NPNPERMOD][nColor]
unsigned int _firstsample
std::string eventHeaderCollection_
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
TAPD * APDAnal[NCRYSEB][nColor]
std::map< unsigned int, unsigned int > channelMapEE
std::string alphainitfile
void setGeomEB(int etaG, int phiG, int module, int tower, int strip, int xtal, int apdRefTT, int channel, int lmr)
void setGeomEE(int etaG, int phiG, int iX, int iY, int iZ, int module, int tower, int ch, int apdRefTT, int channel, int lmr)
unsigned int _timingqualhigh
unsigned int iModule[NCRYSEB]
TTree * APDtrees[NCRYSEB]
unsigned int firstChanMod[NMODEE]
unsigned int nevtAB[NCRYSEB]
bool wasABCalcOK[NCRYSEB]
unsigned int _presamplePN
TTree * respntrees[nColor]
TPN * PNAnal[NMODEE][NPNPERMOD][nColor]