#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 () |
virtual | ~ElectronDqmHarvesterBase () |
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 | |
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_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions inherited from DQMEDHarvester | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override final |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
DQMEDHarvester (void) | |
virtual void | endJob () override final |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override final |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
virtual void | produce (edm::Event &, edm::EventSetup const &) override final |
virtual | ~DQMEDHarvester ()=default |
Public Member Functions inherited from edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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_.
|
protectedvirtual |
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(), 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(), 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(), 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, outputInternalPath_, and funct::true.
Referenced by get(), and remove().
|
protected |
Definition at line 136 of file ElectronDqmHarvesterBase.cc.
References find(), DQMStore::IGetter::get(), inputInternalPath_, 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_, and diffTreeTool::index.
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, fftjetcommon_cfi::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().