1 #ifndef DQM_HCALMONITORTASKS_HCALDETDIAGLEDMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALDETDIAGLEDMONITOR_H
53 if(sd.compare(
"HB")==0) SD=1;
54 if(sd.compare(
"HE")==0) SD=2;
55 if(sd.compare(
"HO")==0) SD=3;
56 if(sd.compare(
"HF")==0) SD=4;
58 if(eta>0)
ETA=1;
else ETA=-1;
59 if(phi==71 ||phi==72 || phi==1 || phi==2)
PHI=71;
else PHI=((phi-3)/4)*4+3;
63 if(phi==71 ||phi==72 || phi==1 || phi==2 || phi==3 || phi==4)
PHI=71;
else PHI=((phi-5)/6)*6+5;
68 if(phi==71 ||phi==72 || (phi>=1 && phi<=10))
PHI=71;
else PHI=((phi-11)/12)*12+11;
71 if(eta>0)
ETA=1;
else ETA=-1;
72 if(phi>=1 && phi<=18)
PHI=1;
73 if(phi>=19 && phi<=36)
PHI=19;
74 if(phi>=37 && phi<=54)
PHI=37;
75 if(phi>=55 && phi<=72)
PHI=55;
MonitorElement * Time2Dhbhehf
MonitorElement * Time2Dho
MonitorElement * EnergyRMS
std::string OutputFilePath
HcalLogicalMapGenerator * gen
std::string ReferenceData
EtaPhiHists ChannelsLEDEnergyRef
EtaPhiHists ChannelStatusTimeRMS
HcalDetDiagLEDData * calib_data[5][5][72]
void fill_channel_status(std::string subdet, int eta, int phi, int depth, int type, double status)
HcalDetDiagLEDData * GetCalib(std::string sd, int eta, int phi)
HcalDetDiagLEDData * hb_data[85][72][4]
edm::InputTag calibDigiLabel_
EtaPhiHists ChannelStatusMissingChannels
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
HcalDetDiagLEDMonitor(const edm::ParameterSet &ps)
HcalDetDiagLEDData * hf_data[85][72][4]
void beginRun(const edm::Run &run, const edm::EventSetup &c)
EtaPhiHists ChannelStatusUnstableLEDsignal
MonitorElement * EnergyHF
MonitorElement * Energy2Dho
EtaPhiHists ChannelStatusTimeMean
EtaPhiHists ChannelStatusLEDRMS
MonitorElement * Energy2Dhbhehf
void fill_energy(std::string subdet, int eta, int phi, int depth, double e, int type)
MonitorElement * EnergyRMSHF
MonitorElement * TimeRMSHF
EtaPhiHists ChannelStatusUnstableChannels
MonitorElement * EnergyCorr
HcalDetDiagLEDData * ho_data[85][72][4]
EtaPhiHists ChannelStatusLEDMean
double get_energy(std::string subdet, int eta, int phi, int depth, int type)
EtaPhiHists ChannelsLEDEnergy
edm::InputTag triggerLabel_
HcalDetDiagLEDData * he_data[85][72][4]