21 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
22 prefixME_.append(
"/");
47 if (
debug_>0)
std::cout <<
"HcalCoarsePedestalMonitor::cleanup()"<<std::endl;
70 if (
debug_>0)
std::cout <<
"HcalCoarsePedestalMonitor::endJob()"<<std::endl;
83 std::cout <<
"<HcalCoarsePedestalMonitor::beginRun> Setting up histograms"<<std::endl;
85 std::ostringstream
name;
102 excludeHORing2->
Fill(1);
104 excludeHORing2->
Fill(0);
155 if (
debug_>1)
std::cout <<
"\t<HcalCoarsePedestalMonitor::analyze> Processing good event! event # = "<<
ievt_<<std::endl;
173 std::cout <<
"HcalCoarsePedestalMonitor::processEvent DQMStore not instantiated!!!"<<std::endl;
179 unsigned int allgooddigis= hbhe.
size()+ho.
size()+hf.
size();
182 if ((allgooddigis==0) ||
190 unsigned int digisize=0;
191 int depth=0, iphi=0, ieta=0, binEta=-9999;
203 digisize=digi.
size();
219 for (
unsigned int i=0;
i<8;++
i)
232 digisize=digi.
size();
249 for (
unsigned int i=0;
i<8;++
i)
262 digisize=digi.
size();
265 digisize=digi.
size();
277 for (
unsigned int i=0;
i<8;++
i)
318 int iphi=-1, ieta=-99, idepth=0, calcEta=-99;
320 for (
int d=0;d<4;++d)
350 int zside=ieta/
abs(ieta);
376 for (
int i=0;
i<85;++
i)
377 for (
int j=0;
j<72;++
j)
378 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)
#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
std::vector< T >::const_iterator const_iterator
edm::LuminosityBlockNumber_t luminosityBlock() const
double pedestalsum_[85][72][4]
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
MonitorElement * bookFloat(const char *name)
Book float.
LuminosityBlockNumber_t luminosityBlock() const
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
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
void removeContents(void)
erase all monitoring elements in current directory (not including subfolders);
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
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
int iphi() const
get the cell iphi
~HcalCoarsePedestalMonitor()
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)
void SetupEtaPhiHists(EtaPhiHists &hh, std::string Name, std::string Units)
int badQualityDigis() const
void fill_Nevents()
Methods, variables accessible only within class code.
const HcalDetId & id() const
const HcalDetId & id() const
void beginRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * bookInt(const char *name)
Book int.
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)
const_iterator begin() const
bool validDetId(HcalSubdetector sd, int ies, int ip, int dp)