#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::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 15 of file ElectronDqmHarvesterBase.h.
|
explicitprotected |
Definition at line 18 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 28 of file ElectronDqmHarvesterBase.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 93 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 186 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book1D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, newName(), fileinputsource_cfi::option, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.
|
protected |
Definition at line 326 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book1D(), bookEfficiencyFlag_, makePileupJSON::denom, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, hfnoseParametersInitialization_cfi::name2, newName(), EgammaValidation_cff::num, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and verbosity_.
Referenced by bookH1andDivide(), ElectronOfflineClient::finalize(), ElectronMcFakePostValidator::finalize(), and ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 134 of file ElectronDqmHarvesterBase.cc.
References bookH1andDivide(), makePileupJSON::denom, Skims_PA_cff::name, EgammaValidation_cff::num, and runGCPTkAlMap::title.
|
protected |
Definition at line 212 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book1D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, newName(), fileinputsource_cfi::option, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.
Referenced by ElectronMcFakePostValidator::finalize(), and ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 239 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book2D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, newName(), fileinputsource_cfi::option, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.
|
protected |
Definition at line 357 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book2D(), bookEfficiencyFlag_, makePileupJSON::denom, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, hfnoseParametersInitialization_cfi::name2, newName(), EgammaValidation_cff::num, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and verbosity_.
Referenced by bookH2andDivide().
|
protected |
Definition at line 145 of file ElectronDqmHarvesterBase.cc.
References bookH2andDivide(), makePileupJSON::denom, Skims_PA_cff::name, EgammaValidation_cff::num, and runGCPTkAlMap::title.
|
protected |
Definition at line 268 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book2D(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, newName(), fileinputsource_cfi::option, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.
|
protected |
Definition at line 298 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::bookProfile(), bookStatOverflowFlag_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, newName(), fileinputsource_cfi::option, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.
|
protected |
Definition at line 388 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::book1D(), hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, hfnoseParametersInitialization_cfi::name2, newName(), definitions::original, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
|
protected |
Definition at line 156 of file ElectronDqmHarvesterBase.cc.
References clone(), cloneH1(), definitions::original, and runGCPTkAlMap::title.
Referenced by cloneH1().
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 108 of file ElectronDqmHarvesterBase.cc.
References finalDone_, finalize(), finalStep_, outputInternalPath_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from DQMEDHarvester.
Definition at line 95 of file ElectronDqmHarvesterBase.cc.
References finalDone_, finalStep_, outputInternalPath_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
inlineprotectedvirtual |
Reimplemented in ElectronMcFakePostValidator, ElectronMcSignalPostValidator, ElectronOfflineClient, and ElectronMcSignalPostValidatorMiniAOD.
Definition at line 29 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob().
|
inlineprotected |
|
private |
Definition at line 53 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IGetter::getMEs(), HltBtagPostValidation_cff::histoName, histoNames_, histoNamesReady, Skims_PA_cff::name, and outputInternalPath_.
Referenced by get().
|
protected |
Definition at line 120 of file ElectronDqmHarvesterBase.cc.
References find(), newFWLiteAna::fullName, dqm::implementation::IGetter::get(), inputInternalPath_, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 40 of file ElectronDqmHarvesterBase.cc.
References bookIndex_, bookPrefix_, and Skims_PA_cff::name.
Referenced by bookH1(), bookH1andDivide(), bookH1withSumw2(), bookH2(), bookH2andDivide(), bookH2withSumw2(), bookP1(), and cloneH1().
|
protected |
Definition at line 407 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::bookProfile(), dqm::impl::MonitorElement::getName(), dqm::legacy::MonitorElement::getTH2F(), hlt_dqm_clientPB-live_cfg::me, hfnoseParametersInitialization_cfi::name2, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), and profileX().
|
protected |
Definition at line 164 of file ElectronDqmHarvesterBase.cc.
References profileX(), and runGCPTkAlMap::title.
|
protected |
Definition at line 438 of file ElectronDqmHarvesterBase.cc.
References dqm::implementation::IBooker::bookProfile(), dqm::impl::MonitorElement::getName(), dqm::legacy::MonitorElement::getTH2F(), hlt_dqm_clientPB-live_cfg::me, hfnoseParametersInitialization_cfi::name2, outputInternalPath_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by ElectronMcSignalPostValidator::finalize(), and profileY().
|
protected |
Definition at line 175 of file ElectronDqmHarvesterBase.cc.
References profileY(), and runGCPTkAlMap::title.
|
protected |
Definition at line 130 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 34 of file ElectronDqmHarvesterBase.cc.
References bookEfficiencyFlag_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 32 of file ElectronDqmHarvesterBase.cc.
References bookIndex_.
Referenced by ElectronOfflineClient::finalize(), ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 30 of file ElectronDqmHarvesterBase.cc.
References bookPrefix_, and hcallasereventfilter2012_cfi::prefix.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 36 of file ElectronDqmHarvesterBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
inlineprotected |
|
private |
Definition at line 189 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1andDivide(), bookH2andDivide(), and setBookEfficiencyFlag().
|
private |
Definition at line 188 of file ElectronDqmHarvesterBase.h.
Referenced by newName(), and setBookIndex().
|
private |
Definition at line 187 of file ElectronDqmHarvesterBase.h.
Referenced by newName(), and setBookPrefix().
|
private |
Definition at line 190 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1(), bookH1withSumw2(), bookH2(), bookH2withSumw2(), bookP1(), and setBookStatOverflowFlag().
|
private |
Definition at line 198 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and finalStepDone().
|
private |
Definition at line 193 of file ElectronDqmHarvesterBase.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and ElectronDqmHarvesterBase().
|
private |
Definition at line 192 of file ElectronDqmHarvesterBase.h.
Referenced by find().
|
private |
Definition at line 191 of file ElectronDqmHarvesterBase.h.
Referenced by find().
|
private |
Definition at line 194 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase().
|
private |
Definition at line 196 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase(), and get().
|
private |
Definition at line 195 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase().
|
private |
Definition at line 197 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 186 of file ElectronDqmHarvesterBase.h.
Referenced by bookH1andDivide(), bookH2andDivide(), ElectronDqmHarvesterBase(), and verbosity().