#include <ElectronDqmAnalyzerBase.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
MonitorElement * | bookH1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
MonitorElement * | bookH1withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P") |
MonitorElement * | bookH2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ") |
MonitorElement * | bookH2withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ") |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
MonitorElement * | bookP1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P") |
MonitorElement * | cloneH1 (DQMStore::IBooker &iBooker, const std::string &name, MonitorElement *original, const std::string &title="") |
MonitorElement * | cloneH1 (DQMStore::IBooker &iBooker, const std::string &name, const std::string &original, const std::string &title="") |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
ElectronDqmAnalyzerBase (const edm::ParameterSet &conf) | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
bool | finalStepDone () |
void | setBookEfficiencyFlag (const bool &) |
void | setBookIndex (short) |
void | setBookPrefix (const std::string &) |
void | setBookStatOverflowFlag (const bool &) |
int | verbosity () |
virtual | ~ElectronDqmAnalyzerBase () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Member Functions | |
std::string | newName (const std::string &name) |
Private Attributes | |
bool | bookEfficiencyFlag_ = false |
short | bookIndex_ |
std::string | bookPrefix_ |
bool | bookStatOverflowFlag_ = false |
bool | finalDone_ |
std::string | finalStep_ |
std::vector< std::string > | histoNames_ |
bool | histoNamesReady |
std::string | inputFile_ |
std::string | inputInternalPath_ |
std::string | outputFile_ |
std::string | outputInternalPath_ |
int | verbosity_ |
Definition at line 19 of file ElectronDqmAnalyzerBase.h.
|
explicitprotected |
Definition at line 19 of file ElectronDqmAnalyzerBase.cc.
References finalStep_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputFile_, inputInternalPath_, outputFile_, outputInternalPath_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
|
protectedvirtual |
Definition at line 31 of file ElectronDqmAnalyzerBase.cc.
|
inlineoverrideprotectedvirtual |
Reimplemented in ElectronAnalyzer, ElectronMcFakeValidator, ElectronTagProbeAnalyzer, ElectronGeneralAnalyzer, ElectronMcSignalValidator, and ElectronMcSignalValidatorMiniAOD.
Definition at line 34 of file ElectronDqmAnalyzerBase.h.
|
protected |
Definition at line 95 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book1D(), bookH1withSumw2(), bookStatOverflowFlag_, MonitorElement::getTH1(), MonitorElement::getTH1F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), bookHistograms(), ElectronMcFakeValidator::bookHistograms(), ElectronAnalyzer::bookHistograms(), and verbosity().
|
protected |
Definition at line 110 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book1D(), bookH2(), bookStatOverflowFlag_, MonitorElement::getTH1(), MonitorElement::getTH1F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH1(), ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), ElectronAnalyzer::bookHistograms(), and verbosity().
|
protected |
Definition at line 126 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book2D(), bookH2withSumw2(), bookStatOverflowFlag_, MonitorElement::getTH1(), MonitorElement::getTH2F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH1withSumw2(), ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), ElectronAnalyzer::bookHistograms(), and verbosity().
|
protected |
Definition at line 142 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book2D(), bookP1(), bookStatOverflowFlag_, MonitorElement::getTH1(), MonitorElement::getTH2F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH2(), ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), and verbosity().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Reimplemented in ElectronAnalyzer, ElectronMcFakeValidator, ElectronTagProbeAnalyzer, ElectronGeneralAnalyzer, ElectronMcSignalValidator, and ElectronMcSignalValidatorMiniAOD.
Definition at line 88 of file ElectronDqmAnalyzerBase.cc.
References bookH1().
|
protected |
Definition at line 159 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::bookProfile(), bookStatOverflowFlag_, MonitorElement::getTH1(), MonitorElement::getTProfile(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH2withSumw2(), ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), ElectronAnalyzer::bookHistograms(), and verbosity().
|
protected |
Referenced by verbosity().
|
protected |
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 58 of file ElectronDqmAnalyzerBase.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 78 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalStep_, and funct::true.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 62 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalStep_, outputFile_, and funct::true.
|
inlineprotected |
|
private |
Definition at line 46 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, bookPrefix_, and dataset::name.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), and bookP1().
|
protected |
Definition at line 40 of file ElectronDqmAnalyzerBase.cc.
References bookEfficiencyFlag_.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and verbosity().
|
protected |
Definition at line 37 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, and diffTreeTool::index.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), ElectronAnalyzer::bookHistograms(), and verbosity().
|
protected |
Definition at line 34 of file ElectronDqmAnalyzerBase.cc.
References bookPrefix_, and tablePrinter::prefix.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and verbosity().
|
protected |
Definition at line 43 of file ElectronDqmAnalyzerBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and verbosity().
|
inlineprotected |
Definition at line 38 of file ElectronDqmAnalyzerBase.h.
References bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), cloneH1(), dataset::name, TSGForRoadSearch_cfi::option, definitions::original, setBookEfficiencyFlag(), setBookIndex(), setBookPrefix(), setBookStatOverflowFlag(), AlCaHLTBitMon_QueryRunRegistry::string, fftjetcommon_cfi::title, and verbosity_.
|
private |
Definition at line 91 of file ElectronDqmAnalyzerBase.h.
Referenced by setBookEfficiencyFlag().
|
private |
Definition at line 90 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookIndex().
|
private |
Definition at line 89 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookPrefix().
|
private |
Definition at line 92 of file ElectronDqmAnalyzerBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and setBookStatOverflowFlag().
|
private |
Definition at line 100 of file ElectronDqmAnalyzerBase.h.
Referenced by endLuminosityBlock(), endRun(), and finalStepDone().
|
private |
Definition at line 95 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 94 of file ElectronDqmAnalyzerBase.h.
|
private |
Definition at line 93 of file ElectronDqmAnalyzerBase.h.
|
private |
Definition at line 96 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 98 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 97 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), and endRun().
|
private |
Definition at line 99 of file ElectronDqmAnalyzerBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and ElectronDqmAnalyzerBase().
|
private |
Definition at line 88 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), and verbosity().