#include <ElectronDqmAnalyzerBase.h>
Protected Member Functions | |
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="") |
ElectronDqmAnalyzerBase (const edm::ParameterSet &conf) | |
void | setBookEfficiencyFlag (const bool &) |
void | setBookIndex (short) |
void | setBookPrefix (const std::string &) |
void | setBookStatOverflowFlag (const bool &) |
int | verbosity () |
~ElectronDqmAnalyzerBase () override | |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 |
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 18 of file ElectronDqmAnalyzerBase.cc.
References finalStep_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputFile_, inputInternalPath_, outputFile_, outputInternalPath_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
|
overrideprotected |
Definition at line 28 of file ElectronDqmAnalyzerBase.cc.
|
inlineoverrideprotected |
Definition at line 28 of file ElectronDqmAnalyzerBase.h.
|
protected |
Definition at line 57 of file ElectronDqmAnalyzerBase.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, newName(), outputInternalPath_, dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), dqm::impl::MonitorElement::setOption(), and dqm::impl::MonitorElement::setStatOverflows().
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 83 of file ElectronDqmAnalyzerBase.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), bookStatOverflowFlag_, dqm::impl::MonitorElement::enableSumw2(), dqm::impl::MonitorElement::getTH1F(), hlt_dqm_clientPB-live_cfg::me, newName(), outputInternalPath_, dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), dqm::impl::MonitorElement::setOption(), and dqm::impl::MonitorElement::setStatOverflows().
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 111 of file ElectronDqmAnalyzerBase.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, newName(), outputInternalPath_, dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), dqm::impl::MonitorElement::setOption(), and dqm::impl::MonitorElement::setStatOverflows().
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 140 of file ElectronDqmAnalyzerBase.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), bookStatOverflowFlag_, dqm::impl::MonitorElement::enableSumw2(), dqm::impl::MonitorElement::getTH2F(), hlt_dqm_clientPB-live_cfg::me, newName(), outputInternalPath_, dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), dqm::impl::MonitorElement::setOption(), and dqm::impl::MonitorElement::setStatOverflows().
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), and ElectronMcSignalValidator::bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Reimplemented in ElectronAnalyzer, ElectronMcFakeValidator, ElectronMcSignalValidator, ElectronTagProbeAnalyzer, ElectronGeneralAnalyzer, and ElectronMcSignalValidatorMiniAOD.
Definition at line 53 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 171 of file ElectronDqmAnalyzerBase.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::bookProfile(), bookStatOverflowFlag_, dqm::impl::MonitorElement::getTProfile(), hlt_dqm_clientPB-live_cfg::me, newName(), outputInternalPath_, dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), and dqm::impl::MonitorElement::setStatOverflows().
Referenced by ElectronGeneralAnalyzer::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
|
protected |
|
private |
Definition at line 40 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, bookPrefix_, and Skims_PA_cff::name.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), and bookP1().
|
protected |
Definition at line 34 of file ElectronDqmAnalyzerBase.cc.
References bookEfficiencyFlag_.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
protected |
Definition at line 32 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 30 of file ElectronDqmAnalyzerBase.cc.
References bookPrefix_, and ZMuMuAnalysisNtupler_cff::prefix.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
protected |
Definition at line 36 of file ElectronDqmAnalyzerBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalValidatorMiniAOD::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
inlineprotected |
Definition at line 31 of file ElectronDqmAnalyzerBase.h.
References Skims_PA_cff::name, fileinputsource_cfi::option, definitions::original, AlCaHLTBitMon_QueryRunRegistry::string, and overlapproblemtsosanalyzer_cfi::title.
|
private |
Definition at line 110 of file ElectronDqmAnalyzerBase.h.
Referenced by setBookEfficiencyFlag().
|
private |
Definition at line 109 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookIndex().
|
private |
Definition at line 108 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookPrefix().
|
private |
Definition at line 111 of file ElectronDqmAnalyzerBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and setBookStatOverflowFlag().
|
private |
Definition at line 114 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 113 of file ElectronDqmAnalyzerBase.h.
|
private |
Definition at line 112 of file ElectronDqmAnalyzerBase.h.
|
private |
Definition at line 115 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 117 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 116 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().
|
private |
Definition at line 118 of file ElectronDqmAnalyzerBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and ElectronDqmAnalyzerBase().
|
private |
Definition at line 107 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase().