#include <ElectronDqmHarvesterBase.h>
Protected Member Functions | |
void | beginJob () 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 * | bookH1andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
MonitorElement * | bookH1andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &name, const std::string &num, const std::string &denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
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 * | bookH2andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
MonitorElement * | bookH2andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, const std::string &num, const std::string &denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
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") |
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, DQMStore::IGetter &, const std::string &name, MonitorElement *original, const std::string &title="") |
MonitorElement * | cloneH1 (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, const std::string &original, const std::string &title="") |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
ElectronDqmHarvesterBase (const edm::ParameterSet &conf) | |
virtual void | finalize (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) |
bool | finalStepDone () |
MonitorElement * | get (DQMStore::IGetter &iGetter, const std::string &name) |
MonitorElement * | profileX (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
MonitorElement * | profileX (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
MonitorElement * | profileY (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
MonitorElement * | profileY (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
void | remove (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &name) |
void | setBookEfficiencyFlag (const bool &) |
void | setBookIndex (short) |
void | setBookPrefix (const std::string &) |
void | setBookStatOverflowFlag (const bool &) |
int | verbosity () |
~ElectronDqmHarvesterBase () override | |
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 | |
const std::string * | find (DQMStore::IGetter &iGetter, const std::string &name) |
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 ElectronDqmHarvesterBase.h.
|
explicitprotected |
Definition at line 19 of file ElectronDqmHarvesterBase.cc.
References finalStep_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputFile_, inputInternalPath_, outputFile_, outputInternalPath_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
|
overrideprotected |
Definition at line 30 of file ElectronDqmHarvesterBase.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 103 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 192 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), bookH1withSumw2(), bookStatOverflowFlag_, MonitorElement::getTH1F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by profileY(), and verbosity().
|
protected |
Definition at line 272 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), bookEfficiencyFlag_, bookH2andDivide(), MonitorElement::getTH1(), MonitorElement::getTH1F(), newName(), nullptr, outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), MonitorElement::setEfficiencyFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
Referenced by bookH1andDivide(), bookP1(), ElectronMcSignalPostValidator::finalize(), ElectronOfflineClient::finalize(), ElectronMcFakePostValidator::finalize(), remove(), and verbosity().
|
protected |
Definition at line 156 of file ElectronDqmHarvesterBase.cc.
References bookH1andDivide(), and bookH2andDivide().
|
protected |
Definition at line 207 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), bookH2(), bookStatOverflowFlag_, MonitorElement::getTH1F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH1(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), and verbosity().
|
protected |
Definition at line 223 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), bookH2withSumw2(), bookStatOverflowFlag_, MonitorElement::getTH1F(), MonitorElement::getTH2F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH1withSumw2(), and verbosity().
|
protected |
Definition at line 294 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), bookEfficiencyFlag_, cloneH1(), MonitorElement::getTH1(), MonitorElement::getTH2F(), newName(), nullptr, outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), MonitorElement::setEfficiencyFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
Referenced by bookH1andDivide(), bookH2andDivide(), ElectronMcSignalPostValidator::finalize(), and verbosity().
|
protected |
Definition at line 165 of file ElectronDqmHarvesterBase.cc.
References bookH2andDivide(), and cloneH1().
|
protected |
Definition at line 239 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), bookP1(), bookStatOverflowFlag_, MonitorElement::getTH1F(), MonitorElement::getTH2F(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH2(), and verbosity().
|
protected |
Definition at line 256 of file ElectronDqmHarvesterBase.cc.
References bookH1andDivide(), DQMStore::IBooker::bookProfile(), bookStatOverflowFlag_, MonitorElement::getTH1F(), MonitorElement::getTProfile(), newName(), outputInternalPath_, and DQMStore::IBooker::setCurrentFolder().
Referenced by bookH2withSumw2(), and verbosity().
|
protected |
Definition at line 316 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1F(), newName(), nullptr, outputInternalPath_, profileX(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookH2andDivide(), cloneH1(), and verbosity().
|
protected |
Definition at line 172 of file ElectronDqmHarvesterBase.cc.
References cloneH1(), and profileX().
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 121 of file ElectronDqmHarvesterBase.cc.
References finalDone_, finalize(), finalStep_, outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), and funct::true.
|
overrideprotectedvirtual |
Reimplemented from DQMEDHarvester.
Definition at line 107 of file ElectronDqmHarvesterBase.cc.
References finalDone_, finalStep_, outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), and funct::true.
|
inlineprotectedvirtual |
Reimplemented in ElectronOfflineClient, ElectronMcFakePostValidator, ElectronMcSignalPostValidator, and ElectronMcSignalPostValidatorMiniAOD.
Definition at line 33 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob().
|
inlineprotected |
|
private |
Definition at line 58 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IGetter::getMEs(), histoNames_, histoNamesReady, nullptr, outputInternalPath_, and funct::true.
Referenced by get(), and remove().
|
protected |
Definition at line 136 of file ElectronDqmHarvesterBase.cc.
References find(), DQMStore::IGetter::get(), inputInternalPath_, nullptr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 46 of file ElectronDqmHarvesterBase.cc.
References bookIndex_, bookPrefix_, and dataset::name.
Referenced by bookH1(), bookH1andDivide(), bookH1withSumw2(), bookH2(), bookH2andDivide(), bookH2withSumw2(), bookP1(), and cloneH1().
|
protected |
Definition at line 332 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getName(), MonitorElement::getTH2F(), outputInternalPath_, profileY(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cloneH1(), ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcFakePostValidator::finalize(), ElectronMcSignalPostValidator::finalize(), profileX(), and verbosity().
|
protected |
Definition at line 178 of file ElectronDqmHarvesterBase.cc.
References profileX(), and profileY().
|
protected |
Definition at line 350 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getName(), MonitorElement::getTH2F(), outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidator::finalize(), profileX(), profileY(), and verbosity().
|
protected |
Definition at line 185 of file ElectronDqmHarvesterBase.cc.
References bookH1(), and profileY().
|
protected |
Definition at line 145 of file ElectronDqmHarvesterBase.cc.
References bookH1andDivide(), find(), inputInternalPath_, DQMStore::IGetter::removeElement(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 40 of file ElectronDqmHarvesterBase.cc.
References bookEfficiencyFlag_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), and verbosity().
|
protected |
Definition at line 37 of file ElectronDqmHarvesterBase.cc.
References bookIndex_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronOfflineClient::finalize(), ElectronMcFakePostValidator::finalize(), and verbosity().
|
protected |
Definition at line 34 of file ElectronDqmHarvesterBase.cc.
References bookPrefix_, and tablePrinter::prefix.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), and verbosity().
|
protected |
Definition at line 43 of file ElectronDqmHarvesterBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), and verbosity().
|
inlineprotected |
Definition at line 37 of file ElectronDqmHarvesterBase.h.
References bookH1(), bookH1andDivide(), bookH1withSumw2(), bookH2(), bookH2andDivide(), bookH2withSumw2(), bookP1(), cloneH1(), dataset::name, pileupDistInMC::num, TSGForRoadSearch_cfi::option, definitions::original, profileX(), profileY(), setBookEfficiencyFlag(), setBookIndex(), setBookPrefix(), setBookStatOverflowFlag(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and verbosity_.
|
private |
Definition at line 138 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1andDivide(), bookH2andDivide(), and setBookEfficiencyFlag().
|
private |
Definition at line 137 of file ElectronDqmHarvesterBase.h.
Referenced by newName(), and setBookIndex().
|
private |
Definition at line 136 of file ElectronDqmHarvesterBase.h.
Referenced by newName(), and setBookPrefix().
|
private |
Definition at line 139 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and setBookStatOverflowFlag().
|
private |
Definition at line 147 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and finalStepDone().
|
private |
Definition at line 142 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and ElectronDqmHarvesterBase().
|
private |
Definition at line 141 of file ElectronDqmHarvesterBase.h.
Referenced by find().
|
private |
Definition at line 140 of file ElectronDqmHarvesterBase.h.
Referenced by find().
|
private |
Definition at line 143 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase().
|
private |
Definition at line 145 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase(), get(), and remove().
|
private |
Definition at line 144 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase().
|
private |
Definition at line 146 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1(), bookH1andDivide(), bookH1withSumw2(), bookH2(), bookH2andDivide(), bookH2withSumw2(), bookP1(), cloneH1(), dqmEndJob(), dqmEndLuminosityBlock(), ElectronDqmHarvesterBase(), find(), profileX(), and profileY().
|
private |
Definition at line 135 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1andDivide(), bookH2andDivide(), ElectronDqmHarvesterBase(), and verbosity().