21 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
22 prefixME_.append(
"/");
55 if (
debug_>0)
std::cout <<
"HcalCoarsePedestalMonitor::endJob()"<<std::endl;
67 std::cout <<
"<HcalCoarsePedestalMonitor::setup> Setting up histograms"<<std::endl;
69 std::ostringstream
name;
86 excludeHORing2->
Fill(1);
88 excludeHORing2->
Fill(0);
140 if (
debug_>1)
std::cout <<
"\t<HcalCoarsePedestalMonitor::analyze> Processing good event! event # = "<<
ievt_<<std::endl;
157 unsigned int allgooddigis= hbhe.
size()+ho.
size()+hf.
size();
160 if ((allgooddigis==0) ||
168 unsigned int digisize=0;
169 int depth=0, iphi=0, ieta=0, binEta=-9999;
181 digisize=digi.
size();
197 for (
unsigned int i=0;
i<8;++
i)
210 digisize=digi.
size();
227 for (
unsigned int i=0;
i<8;++
i)
240 digisize=digi.
size();
243 digisize=digi.
size();
255 for (
unsigned int i=0;
i<8;++
i)
296 int iphi=-1, ieta=-99, idepth=0, calcEta=-99;
298 for (
int d=0;d<4;++d)
354 for (
int i=0;
i<85;++
i)
355 for (
int j=0;
j<72;++
j)
356 for (
int k=0;
k<4;++
k)
T getUntrackedParameter(std::string const &, T const &) const
bool LumiInOrder(int lumisec)
MonitorElement * ProblemsCurrentLB
HcalSubdetector subdet() const
get the subdetector
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
#define DEFINE_FWK_MODULE(type)
int adc() const
get the ADC sample
std::vector< int > AllowedCalibTypes_
int size() const
total number of samples in the digi
virtual void cleanup(void)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * bookInt(Args &&...args)
std::vector< HBHEDataFrame >::const_iterator const_iterator
edm::LuminosityBlockNumber_t luminosityBlock() const
double pedestalsum_[85][72][4]
edm::EDGetTokenT< HFDigiCollection > tok_hf_
EtaPhiHists CoarsePedestalsSumByDepth
const HcalQIESample & sample(int i) const
access a sample
void processEvent(const HBHEDigiCollection &hbhe, const HODigiCollection &ho, const HFDigiCollection &hf, const HcalUnpackerReport &report)
const HcalDetId & id() const
LuminosityBlockNumber_t luminosityBlock() const
void SetupEtaPhiHists(DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units)
bool isSiPM(int ieta, int iphi, int depth)
int depth() const
get the tower depth
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
std::vector< MonitorElement * > depth
void endRun(const edm::Run &run, const edm::EventSetup &c)
bool IsAllowedCalibType()
int pedestalocc_[85][72][4]
void analyze(const edm::Event &e, const edm::EventSetup &c)
int ieta() const
get the cell ieta
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
int size() const
total number of samples in the digi
const HcalQIESample & sample(int i) const
access a sample
Abs< T >::type abs(const T &t)
void setup(DQMStore::IBooker &)
const_iterator end() const
int iphi() const
get the cell iphi
~HcalCoarsePedestalMonitor()
void setCurrentFolder(const std::string &fullpath)
int size() const
total number of samples in the digi
const HcalQIESample & sample(int i) const
access a sample
EtaPhiHists CoarsePedestalsOccByDepth
void FillUnphysicalHEHFBins(std::vector< TH2F > &hh)
int CalcEtaBin(int subdet, int ieta, int depth)
HcalCoarsePedestalMonitor(const edm::ParameterSet &ps)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
int badQualityDigis() const
void fill_Nevents()
Methods, variables accessible only within class code.
const HcalDetId & id() const
MonitorElement * bookFloat(Args &&...args)
const HcalDetId & id() const
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
void Reset(void)
reset ME (ie. contents, errors, etc)
virtual void setup(DQMStore::IBooker &)
edm::EDGetTokenT< HcalUnpackerReport > tok_report_
const_iterator begin() const
bool validDetId(HcalSubdetector sd, int ies, int ip, int dp)
edm::EDGetTokenT< HODigiCollection > tok_ho_