#include <HcalBaseMonitor.h>
Public Member Functions | |
void | beginLuminosityBlock (int lb) |
virtual void | beginRun () |
virtual void | clearME () |
virtual void | done () |
void | endLuminosityBlock () |
bool | getDiagnostics () const |
int | getVerbosity () const |
HcalBaseMonitor () | |
void | hideKnownBadCells () |
virtual void | periodicReset () |
void | processEvent () |
void | setDiagnostics (bool myval) |
void | setMinMaxHists1D (std::vector< MonitorElement * > &hh, double min, double max) |
void | setMinMaxHists2D (std::vector< MonitorElement * > &hh, double min, double max) |
virtual void | setup (const edm::ParameterSet &ps, DQMStore::IBooker &ib) |
void | setupDepthHists1D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int lowbound, int highbound, int Nbins) |
void | setupDepthHists1D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int lowbound, int highbound, int Nbins) |
void | setupDepthHists2D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units) |
void | setupDepthHists2D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units) |
void | setupDepthHists2D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int nbinsx, int lowboundx, int highboundx, int nbinsy, int lowboundy, int highboundy) |
void | setupDepthHists2D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int nbinsx, int lowboundx, int highboundx, int nbinsy, int lowboundy, int highboundy) |
void | SetupEtaPhiHists (DQMStore::IBooker &ib, MonitorElement *&h, EtaPhiHists &hh, std::string Name, std::string Units) |
void | SetupEtaPhiHists (DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units) |
void | setVerbosity (int verb) |
bool | vetoCell (HcalDetId &id) |
virtual | ~HcalBaseMonitor () |
Protected Member Functions | |
void | LumiBlockUpdate (int lb) |
Protected Attributes | |
std::vector< int > | AllowedCalibTypes_ |
std::vector< std::string > | badCells_ |
std::string | baseFolder_ |
bool | checkHB_ |
bool | checkHE_ |
bool | checkHF_ |
bool | checkHO_ |
int | checkNevents_ |
edm::CPUTimer | cpu_timer |
bool | dump2database |
int | etaBins_ |
double | etaMax_ |
double | etaMin_ |
int | fVerbosity |
int | ievt_ |
bool | LBprocessed_ |
int | levt_ |
int | lumiblock |
bool | makeDiagnostics |
MonitorElement * | meEVT_ |
MonitorElement * | meTOTALEVT_ |
double | minErrorFlag_ |
int | Nlumiblocks_ |
int | NumBadHB |
int | NumBadHE |
int | NumBadHF |
int | NumBadHO |
int | oldlumiblock |
bool | Online_ |
int | phiBins_ |
double | phiMax_ |
double | phiMin_ |
MonitorElement * | ProblemCells |
EtaPhiHists | ProblemCellsByDepth |
MonitorElement * | ProblemsVsLB |
MonitorElement * | ProblemsVsLB_HB |
MonitorElement * | ProblemsVsLB_HBHEHF |
MonitorElement * | ProblemsVsLB_HE |
MonitorElement * | ProblemsVsLB_HF |
MonitorElement * | ProblemsVsLB_HO |
int | resetNevents_ |
std::string | rootFolder_ |
bool | showTiming |
int | tevt_ |
Definition at line 43 of file HcalBaseMonitor.h.
HcalBaseMonitor::HcalBaseMonitor | ( | ) |
Definition at line 10 of file HcalBaseMonitor.cc.
References badCells_, baseFolder_, fVerbosity, and rootFolder_.
|
virtual |
Definition at line 17 of file HcalBaseMonitor.cc.
void HcalBaseMonitor::beginLuminosityBlock | ( | int | lb | ) |
Definition at line 155 of file HcalBaseMonitor.cc.
References LBprocessed_, levt_, and LumiBlockUpdate().
Referenced by ZDCMonitorModule::beginLuminosityBlock().
|
virtual |
Definition at line 19 of file HcalBaseMonitor.cc.
References ievt_, LBprocessed_, and levt_.
Referenced by ZDCMonitorModule::bookHistograms().
|
virtual |
|
virtual |
Definition at line 172 of file HcalBaseMonitor.cc.
void HcalBaseMonitor::endLuminosityBlock | ( | void | ) |
|
inline |
|
inline |
void HcalBaseMonitor::hideKnownBadCells | ( | ) |
Definition at line 214 of file HcalBaseMonitor.cc.
References badCells_, CalcEtaBin(), EtaPhiHists::depth, i, ProblemCells, ProblemCellsByDepth, and MonitorElement::setBinContent().
|
protected |
Definition at line 115 of file HcalBaseMonitor.cc.
References lumiblock, and Nlumiblocks_.
Referenced by beginLuminosityBlock().
|
virtual |
Definition at line 632 of file HcalBaseMonitor.cc.
References EtaPhiHists::depth, i, ProblemCells, ProblemCellsByDepth, and MonitorElement::Reset().
void HcalBaseMonitor::processEvent | ( | ) |
Definition at line 103 of file HcalBaseMonitor.cc.
References MonitorElement::Fill(), ievt_, levt_, meEVT_, meTOTALEVT_, and tevt_.
|
inline |
void HcalBaseMonitor::setMinMaxHists1D | ( | std::vector< MonitorElement * > & | hh, |
double | min, | ||
double | max | ||
) |
void HcalBaseMonitor::setMinMaxHists2D | ( | std::vector< MonitorElement * > & | hh, |
double | min, | ||
double | max | ||
) |
|
virtual |
Reimplemented in HcalEEUSMonitor, HcalCaloTowerMonitor, and HcalZDCMonitor.
Definition at line 21 of file HcalBaseMonitor.cc.
References AllowedCalibTypes_, badCells_, checkHB_, checkHE_, checkHF_, checkHO_, checkNevents_, gather_cfg::cout, dump2database, etaBins_, ETAMAX, etaMax_, ETAMIN, etaMin_, fVerbosity, edm::ParameterSet::getUntrackedParameter(), ievt_, levt_, lumiblock, makeDiagnostics, meEVT_, meTOTALEVT_, minErrorFlag_, Nlumiblocks_, NumBadHB, NumBadHE, NumBadHF, NumBadHO, oldlumiblock, Online_, phiBins_, PHIMAX, phiMax_, PHIMIN, phiMin_, ProblemsVsLB, ProblemsVsLB_HB, ProblemsVsLB_HBHEHF, ProblemsVsLB_HE, ProblemsVsLB_HF, ProblemsVsLB_HO, resetNevents_, rootFolder_, showTiming, AlCaHLTBitMon_QueryRunRegistry::string, and tevt_.
Referenced by HcalCaloTowerMonitor::setup(), HcalZDCMonitor::setup(), and HcalEEUSMonitor::setup().
void HcalBaseMonitor::setupDepthHists1D | ( | DQMStore::IBooker & | ib, |
MonitorElement *& | h, | ||
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units, | ||
int | lowbound, | ||
int | highbound, | ||
int | Nbins | ||
) |
Definition at line 516 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book1D(), gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), mergeVDriftHistosByStation::name, edm::CPUTimer::reset(), MonitorElement::setAxisTitle(), showTiming, edm::CPUTimer::start(), and edm::CPUTimer::stop().
void HcalBaseMonitor::setupDepthHists1D | ( | DQMStore::IBooker & | ib, |
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units, | ||
int | lowbound, | ||
int | highbound, | ||
int | Nbins | ||
) |
Definition at line 559 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book1D(), gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), i, mergeVDriftHistosByStation::name, edm::CPUTimer::reset(), showTiming, edm::CPUTimer::start(), and edm::CPUTimer::stop().
void HcalBaseMonitor::setupDepthHists2D | ( | DQMStore::IBooker & | ib, |
MonitorElement *& | h, | ||
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units | ||
) |
Definition at line 276 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book2D(), etaBins_, etaMax_, etaMin_, mergeVDriftHistosByStation::name, phiBins_, phiMax_, phiMin_, and MonitorElement::setAxisTitle().
Referenced by setupDepthHists2D().
void HcalBaseMonitor::setupDepthHists2D | ( | DQMStore::IBooker & | ib, |
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units | ||
) |
Definition at line 325 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book2D(), etaBins_, etaMax_, etaMin_, i, mergeVDriftHistosByStation::name, phiBins_, phiMax_, and phiMin_.
void HcalBaseMonitor::setupDepthHists2D | ( | DQMStore::IBooker & | ib, |
MonitorElement *& | h, | ||
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units, | ||
int | nbinsx, | ||
int | lowboundx, | ||
int | highboundx, | ||
int | nbinsy, | ||
int | lowboundy, | ||
int | highboundy | ||
) |
Definition at line 397 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book2D(), gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), mergeVDriftHistosByStation::name, edm::CPUTimer::reset(), setupDepthHists2D(), showTiming, edm::CPUTimer::start(), and edm::CPUTimer::stop().
void HcalBaseMonitor::setupDepthHists2D | ( | DQMStore::IBooker & | ib, |
std::vector< MonitorElement * > & | hh, | ||
std::string | Name, | ||
std::string | Units, | ||
int | nbinsx, | ||
int | lowboundx, | ||
int | highboundx, | ||
int | nbinsy, | ||
int | lowboundy, | ||
int | highboundy | ||
) |
Definition at line 447 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book2D(), gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), mergeVDriftHistosByStation::name, edm::CPUTimer::reset(), showTiming, edm::CPUTimer::start(), and edm::CPUTimer::stop().
void HcalBaseMonitor::SetupEtaPhiHists | ( | DQMStore::IBooker & | ib, |
MonitorElement *& | h, | ||
EtaPhiHists & | hh, | ||
std::string | Name, | ||
std::string | Units | ||
) |
Definition at line 241 of file HcalBaseMonitor.cc.
References DQMStore::IBooker::book2D(), mergeVDriftHistosByStation::name, and MonitorElement::setAxisTitle().
void HcalBaseMonitor::SetupEtaPhiHists | ( | DQMStore::IBooker & | ib, |
EtaPhiHists & | hh, | ||
std::string | Name, | ||
std::string | Units | ||
) |
Definition at line 270 of file HcalBaseMonitor.cc.
References EtaPhiHists::setup().
|
inline |
bool HcalBaseMonitor::vetoCell | ( | HcalDetId & | id | ) |
Definition at line 197 of file HcalBaseMonitor.cc.
|
protected |
Definition at line 117 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 113 of file HcalBaseMonitor.h.
Referenced by HcalBaseMonitor(), hideKnownBadCells(), setup(), and vetoCell().
|
protected |
Definition at line 115 of file HcalBaseMonitor.h.
Referenced by HcalBaseMonitor(), HcalZDCMonitor::setup(), HcalCaloTowerMonitor::setup(), and HcalEEUSMonitor::setup().
|
protected |
Definition at line 104 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 104 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 104 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 104 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 97 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 108 of file HcalBaseMonitor.h.
Referenced by HcalZDCMonitor::processEvent(), HcalZDCMonitor::setup(), setupDepthHists1D(), and setupDepthHists2D().
|
protected |
Definition at line 96 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 101 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 99 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 99 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 94 of file HcalBaseMonitor.h.
Referenced by getVerbosity(), HcalBaseMonitor(), HcalCaloTowerMonitor::processEvent(), HcalZDCMonitor::processEvent(), HcalZDCMonitor::setup(), HcalEEUSMonitor::setup(), setup(), and setVerbosity().
|
protected |
Definition at line 122 of file HcalBaseMonitor.h.
Referenced by beginRun(), processEvent(), and setup().
|
protected |
Definition at line 125 of file HcalBaseMonitor.h.
Referenced by beginLuminosityBlock(), beginRun(), and endLuminosityBlock().
|
protected |
Definition at line 123 of file HcalBaseMonitor.h.
Referenced by beginLuminosityBlock(), beginRun(), processEvent(), and setup().
|
protected |
Definition at line 128 of file HcalBaseMonitor.h.
Referenced by LumiBlockUpdate(), and setup().
|
protected |
Definition at line 110 of file HcalBaseMonitor.h.
Referenced by getDiagnostics(), setDiagnostics(), and setup().
|
protected |
Definition at line 126 of file HcalBaseMonitor.h.
Referenced by processEvent(), and setup().
|
protected |
Definition at line 127 of file HcalBaseMonitor.h.
Referenced by processEvent(), and setup().
|
protected |
Definition at line 102 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 106 of file HcalBaseMonitor.h.
Referenced by LumiBlockUpdate(), and setup().
|
protected |
Definition at line 130 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 130 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 130 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 130 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 129 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 112 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 101 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 100 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 100 of file HcalBaseMonitor.h.
Referenced by setup(), and setupDepthHists2D().
|
protected |
Definition at line 119 of file HcalBaseMonitor.h.
Referenced by hideKnownBadCells(), and periodicReset().
|
protected |
Definition at line 120 of file HcalBaseMonitor.h.
Referenced by hideKnownBadCells(), and periodicReset().
|
protected |
Definition at line 131 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 132 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 132 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 132 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 132 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 132 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 105 of file HcalBaseMonitor.h.
Referenced by setup().
|
protected |
Definition at line 114 of file HcalBaseMonitor.h.
Referenced by HcalBaseMonitor(), HcalZDCMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalEEUSMonitor::setup(), and setup().
|
protected |
Definition at line 95 of file HcalBaseMonitor.h.
Referenced by HcalZDCMonitor::processEvent(), HcalZDCMonitor::setup(), setup(), setupDepthHists1D(), and setupDepthHists2D().
|
protected |
Definition at line 124 of file HcalBaseMonitor.h.
Referenced by processEvent(), and setup().