#include <ElectronDqmAnalyzerBase.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
virtual void | book () |
MonitorElement * | bookH1 (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 (const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="", const std::string &setEfficiencyFlag="") |
MonitorElement * | bookH1andDivide (const std::string &name, const std::string &num, const std::string &denom, const std::string &titleX, const std::string &titleY, const std::string &title="", const std::string &setEfficiencyFlag="") |
MonitorElement * | bookH1withSumw2 (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 (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 (const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="") |
MonitorElement * | bookH2andDivide (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 (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 (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 (const std::string &name, MonitorElement *original, const std::string &title="") |
MonitorElement * | cloneH1 (const std::string &name, const std::string &original, const std::string &title="") |
ElectronDqmAnalyzerBase (const edm::ParameterSet &conf) | |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
virtual void | finalize () |
bool | finalStepDone () |
MonitorElement * | get (const std::string &name) |
MonitorElement * | profileX (MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
MonitorElement * | profileX (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 (MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111) |
MonitorElement * | profileY (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 (const std::string &name) |
void | remove_other_dirs () |
void | setBookIndex (short) |
void | setBookPrefix (const std::string &) |
int | verbosity () |
virtual | ~ElectronDqmAnalyzerBase () |
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 (const std::string &name) |
std::string | newName (const std::string &name) |
Private Attributes | |
short | bookIndex_ |
std::string | bookPrefix_ |
bool | finalDone_ |
std::string | finalStep_ |
std::vector< std::string > | histoNames_ |
bool | histoNamesReady |
std::string | inputFile_ |
std::string | inputInternalPath_ |
std::string | outputFile_ |
std::string | outputInternalPath_ |
DQMStore * | store_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) 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::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 14 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 30 of file ElectronDqmAnalyzerBase.cc.
|
inlineprotectedvirtual |
Implements edm::EDAnalyzer.
Reimplemented in ElectronMcFakeValidator, ElectronAnalyzer, ElectronGeneralAnalyzer, ElectronTagProbeAnalyzer, and ElectronMcSignalValidator.
Definition at line 30 of file ElectronDqmAnalyzerBase.h.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 99 of file ElectronDqmAnalyzerBase.cc.
References book(), inputFile_, DQMStore::open(), cppFunctionSkipper::operator, outputInternalPath_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), store_, and verbosity_.
|
inlineprotectedvirtual |
Reimplemented in ElectronMcFakeValidator, ElectronAnalyzer, ElectronGeneralAnalyzer, ElectronTagProbeAnalyzer, ElectronMcSignalValidator, ElectronMcFakePostValidator, and ElectronMcSignalPostValidator.
Definition at line 29 of file ElectronDqmAnalyzerBase.h.
Referenced by beginJob().
|
protected |
Definition at line 230 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH1F().
Referenced by ElectronMcSignalValidator::book(), ElectronGeneralAnalyzer::book(), ElectronAnalyzer::book(), ElectronTagProbeAnalyzer::book(), and ElectronMcFakeValidator::book().
|
protected |
Definition at line 300 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH1(), MonitorElement::getTH1F(), nullptr, MonitorElement::setEfficiencyFlag(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronOfflineClient::finalize(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 202 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 243 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH1F().
Referenced by ElectronMcSignalValidator::book(), ElectronTagProbeAnalyzer::book(), ElectronAnalyzer::book(), ElectronMcFakeValidator::book(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
protected |
Definition at line 257 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH2F().
Referenced by ElectronMcSignalValidator::book(), ElectronGeneralAnalyzer::book(), ElectronAnalyzer::book(), ElectronTagProbeAnalyzer::book(), and ElectronMcFakeValidator::book().
|
protected |
Definition at line 320 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH1(), MonitorElement::getTH2F(), nullptr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 208 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 271 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH2F().
Referenced by ElectronMcSignalValidator::book().
|
protected |
Definition at line 286 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTProfile().
Referenced by ElectronMcSignalValidator::book(), ElectronGeneralAnalyzer::book(), ElectronAnalyzer::book(), and ElectronMcFakeValidator::book().
|
protected |
Definition at line 339 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getTH1F(), nullptr, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 214 of file ElectronDqmAnalyzerBase.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 134 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalize(), finalStep_, outputFile_, outputInternalPath_, DQMStore::save(), DQMStore::setCurrentFolder(), store_, and funct::true.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 122 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalize(), finalStep_, outputInternalPath_, DQMStore::setCurrentFolder(), store_, and funct::true.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 111 of file ElectronDqmAnalyzerBase.cc.
References finalDone_, finalize(), finalStep_, outputInternalPath_, DQMStore::setCurrentFolder(), store_, and funct::true.
|
inlineprotectedvirtual |
Reimplemented in ElectronOfflineClient, ElectronMcFakePostValidator, ElectronMcSignalPostValidator, and ElectronWebGetter.
Definition at line 31 of file ElectronDqmAnalyzerBase.h.
Referenced by endJob(), endLuminosityBlock(), and endRun().
|
inlineprotected |
|
private |
Definition at line 51 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::getMEs(), hltbtagharvestinganalyzer_cfi::histoName, histoNames_, histoNamesReady, outputInternalPath_, cmsHarvester::sep, store_, and funct::true.
Referenced by get(), and remove().
|
protected |
Definition at line 148 of file ElectronDqmAnalyzerBase.cc.
References find(), newFWLiteAna::fullName, DQMStore::get(), inputInternalPath_, nullptr, store_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 39 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, bookPrefix_, and mergeVDriftHistosByStation::name.
|
protected |
Definition at line 353 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getName(), MonitorElement::getTH2F(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcFakePostValidator::finalize(), and ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 219 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 371 of file ElectronDqmAnalyzerBase.cc.
References MonitorElement::getName(), MonitorElement::getTH2F(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronMcSignalPostValidator::finalize().
|
protected |
Definition at line 224 of file ElectronDqmAnalyzerBase.cc.
|
protected |
Definition at line 157 of file ElectronDqmAnalyzerBase.cc.
References find(), newFWLiteAna::fullName, inputInternalPath_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), store_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 167 of file ElectronDqmAnalyzerBase.cc.
References DQMStore::cd(), DQMStore::getSubdirs(), DQMStore::pwd(), DQMStore::rmdir(), store_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronWebGetter::finalize().
|
protected |
Definition at line 36 of file ElectronDqmAnalyzerBase.cc.
References bookIndex_, and cmsHarvester::index.
Referenced by ElectronMcFakePostValidator::book(), ElectronMcSignalPostValidator::book(), ElectronMcSignalValidator::book(), ElectronAnalyzer::book(), ElectronTagProbeAnalyzer::book(), ElectronMcFakeValidator::book(), and ElectronOfflineClient::finalize().
|
protected |
Definition at line 33 of file ElectronDqmAnalyzerBase.cc.
References bookPrefix_, and prof2calltree::prefix.
Referenced by ElectronMcSignalValidator::book(), ElectronMcFakeValidator::book(), ElectronMcSignalPostValidator::finalize(), and ElectronMcFakePostValidator::finalize().
|
inlineprotected |
|
private |
Definition at line 128 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookIndex().
|
private |
Definition at line 127 of file ElectronDqmAnalyzerBase.h.
Referenced by newName(), and setBookPrefix().
|
private |
Definition at line 137 of file ElectronDqmAnalyzerBase.h.
Referenced by endJob(), endLuminosityBlock(), endRun(), and finalStepDone().
|
private |
Definition at line 131 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 130 of file ElectronDqmAnalyzerBase.h.
Referenced by find().
|
private |
Definition at line 129 of file ElectronDqmAnalyzerBase.h.
Referenced by find().
|
private |
Definition at line 132 of file ElectronDqmAnalyzerBase.h.
Referenced by beginJob(), and ElectronDqmAnalyzerBase().
|
private |
Definition at line 134 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), get(), and remove().
|
private |
Definition at line 133 of file ElectronDqmAnalyzerBase.h.
Referenced by ElectronDqmAnalyzerBase(), and endJob().
|
private |
Definition at line 135 of file ElectronDqmAnalyzerBase.h.
Referenced by beginJob(), ElectronDqmAnalyzerBase(), endJob(), endLuminosityBlock(), endRun(), and find().
|
private |
Definition at line 136 of file ElectronDqmAnalyzerBase.h.
Referenced by beginJob(), endJob(), endLuminosityBlock(), endRun(), find(), get(), remove(), and remove_other_dirs().
|
private |
Definition at line 126 of file ElectronDqmAnalyzerBase.h.
Referenced by beginJob(), ElectronDqmAnalyzerBase(), and verbosity().