#include <ElectronDqmAnalyzerBase.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) |
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 &) |
ElectronDqmAnalyzerBase (const edm::ParameterSet &conf) | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
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::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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.
|
inlineprotectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Reimplemented in ElectronAnalyzer, ElectronMcFakeValidator, ElectronTagProbeAnalyzer, ElectronGeneralAnalyzer, and ElectronMcSignalValidator.
Definition at line 34 of file ElectronDqmAnalyzerBase.h.
|
protected |
Definition at line 95 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1(), MonitorElement::getTH1F(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 110 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1(), MonitorElement::getTH1F(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidator::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 126 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book2D(), MonitorElement::getTH1(), MonitorElement::getTH2F(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 142 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::book2D(), MonitorElement::getTH1(), MonitorElement::getTH2F(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidator::bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Reimplemented in ElectronAnalyzer, ElectronMcFakeValidator, ElectronTagProbeAnalyzer, ElectronGeneralAnalyzer, and ElectronMcSignalValidator.
Definition at line 88 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 159 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getTH1(), MonitorElement::getTProfile(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcSignalValidator::bookHistograms(), ElectronGeneralAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 58 of file ElectronDqmAnalyzerBase.cc.
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 78 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalStep_, and funct::true.
|
protectedvirtual |
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 mergeVDriftHistosByStation::name.
|
protected |
Definition at line 40 of file ElectronDqmAnalyzerBase.cc.
References bookEfficiencyFlag_.
Referenced by ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
protected |
Definition at line 37 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, and cmsHarvester::index.
Referenced by ElectronMcSignalValidator::bookHistograms(), ElectronTagProbeAnalyzer::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), and ElectronAnalyzer::bookHistograms().
|
protected |
Definition at line 34 of file ElectronDqmAnalyzerBase.cc.
References bookPrefix_, and prof2calltree::prefix.
Referenced by ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
protected |
Definition at line 43 of file ElectronDqmAnalyzerBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalValidator::bookHistograms(), and ElectronMcFakeValidator::bookHistograms().
|
inlineprotected |
|
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 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 ElectronDqmAnalyzerBase().
|
private |
Definition at line 88 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), and verbosity().