#include <ElectronDqmHarvesterBase.h>
Protected Member Functions | |
void | beginJob () |
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 &) |
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::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions inherited from DQMEDHarvester | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDHarvester (void) | |
virtual void | endJob () final |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
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.
|
protectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 103 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 192 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1F(), and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 272 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1(), MonitorElement::getTH1F(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setEfficiencyFlag(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronOfflineClient::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 156 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 207 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1F(), and DQMStore::IBooker::setCurrentFolder().
Referenced by ElectronMcFakePostValidator::finalize(), and ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 223 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), MonitorElement::getTH1F(), MonitorElement::getTH2F(), and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 294 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), MonitorElement::getTH1(), MonitorElement::getTH2F(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setEfficiencyFlag(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 165 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 239 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book2D(), MonitorElement::getTH1F(), MonitorElement::getTH2F(), and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 256 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getTH1F(), MonitorElement::getTProfile(), and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 316 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::book1D(), MonitorElement::getTH1F(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 172 of file ElectronDqmHarvesterBase.cc.
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 121 of file ElectronDqmHarvesterBase.cc.
References finalDone_, finalize(), finalStep_, outputInternalPath_, DQMStore::IBooker::setCurrentFolder(), and funct::true.
|
protectedvirtual |
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_, cmsHarvester::sep, and funct::true.
Referenced by get(), and remove().
|
protected |
Definition at line 136 of file ElectronDqmHarvesterBase.cc.
References find(), newFWLiteAna::fullName, 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 mergeVDriftHistosByStation::name.
|
protected |
Definition at line 332 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getName(), MonitorElement::getTH2F(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 178 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 350 of file ElectronDqmHarvesterBase.cc.
References DQMStore::IBooker::bookProfile(), MonitorElement::getName(), MonitorElement::getTH2F(), DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 185 of file ElectronDqmHarvesterBase.cc.
|
protected |
Definition at line 145 of file ElectronDqmHarvesterBase.cc.
References find(), newFWLiteAna::fullName, 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(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 37 of file ElectronDqmHarvesterBase.cc.
References bookIndex_, and cmsHarvester::index.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), ElectronOfflineClient::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 34 of file ElectronDqmHarvesterBase.cc.
References bookPrefix_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 43 of file ElectronDqmHarvesterBase.cc.
References bookStatOverflowFlag_.
Referenced by ElectronMcSignalPostValidatorMiniAOD::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
inlineprotected |
|
private |
Definition at line 138 of file ElectronDqmHarvesterBase.h.
Referenced by 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 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 dqmEndJob(), dqmEndLuminosityBlock(), ElectronDqmHarvesterBase(), and find().
|
private |
Definition at line 135 of file ElectronDqmHarvesterBase.h.
Referenced by ElectronDqmHarvesterBase(), and verbosity().