#include <EgHLTOfflineClient.h>
Public Member Functions | |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) override |
void | createHLTvsOfflineHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createLooseTightTrigEff (const std::vector< std::string > &tightLooseTrigNames, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createN1EffHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createSingleEffHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createTrigTagProbeEffHists (const std::string &filterName, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createTrigTagProbeEffHists2Leg (const std::string &filterNameLeg1, const std::string &filterNameLeg2, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName, DQMStore::IBooker &, DQMStore::IGetter &) |
void | createTrigTagProbeEffHistsNewAlgo (const std::string &filterName, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName, DQMStore::IBooker &, DQMStore::IGetter &) |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
EgHLTOfflineClient (const edm::ParameterSet &) | |
MonitorElement * | FillHLTvsOfflineHist (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *numer, const MonitorElement *denom, DQMStore::IBooker &, DQMStore::IGetter &) |
MonitorElement * | makeEffMonElem2Leg (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *Leg1Eff, const MonitorElement *Leg2NotLeg1Source, const MonitorElement *all, DQMStore::IBooker &, DQMStore::IGetter &) |
MonitorElement * | makeEffMonElemFromPassAndAll (const std::string &filterName, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *all, DQMStore::IBooker &, DQMStore::IGetter &) |
MonitorElement * | makeEffMonElemFromPassAndFail (const std::string &filterName, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *fail, DQMStore::IBooker &, DQMStore::IGetter &) |
MonitorElement * | makeEffMonElemFromPassAndFailAndTagTag (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *fail, const MonitorElement *tagtag, DQMStore::IBooker &, DQMStore::IGetter &) |
virtual | ~EgHLTOfflineClient () |
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 |
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 () | |
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 & | itemsToGetFromEvent () 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) |
Private Member Functions | |
EgHLTOfflineClient (const EgHLTOfflineClient &rhs) | |
EgHLTOfflineClient & | operator= (const EgHLTOfflineClient &rhs) |
void | runClient_ (DQMStore::IBooker &, DQMStore::IGetter &) |
Private Attributes | |
std::string | dirName_ |
std::vector< std::string > | eleEffTags_ |
std::vector< std::string > | eleHLTFilterNames2Leg_ |
std::vector< std::string > | eleHLTFilterNames_ |
std::vector< std::string > | eleHLTvOfflineVars_ |
std::vector< std::string > | eleLooseTightTrigEffVsVars_ |
std::vector< std::string > | eleN1EffVars_ |
std::vector< std::string > | eleSingleEffVars_ |
std::vector< std::string > | eleTightLooseTrigNames_ |
std::vector< std::string > | eleTrigTPEffVsVars_ |
bool | filterInactiveTriggers_ |
std::string | hltTag_ |
bool | isSetup_ |
std::vector< std::string > | phoEffTags_ |
std::vector< std::string > | phoHLTFilterNames2Leg_ |
std::vector< std::string > | phoHLTFilterNames_ |
std::vector< std::string > | phoHLTvOfflineVars_ |
std::vector< std::string > | phoLooseTightTrigEffVsVars_ |
std::vector< std::string > | phoN1EffVars_ |
std::vector< std::string > | phoSingleEffVars_ |
std::vector< std::string > | phoTightLooseTrigNames_ |
std::vector< std::string > | phoTrigTPEffVsVars_ |
bool | runClientEndJob_ |
bool | runClientEndLumiBlock_ |
bool | runClientEndRun_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 37 of file EgHLTOfflineClient.h.
|
inlineprivate |
Definition at line 77 of file EgHLTOfflineClient.h.
|
explicit |
Definition at line 22 of file EgHLTOfflineClient.cc.
References dirName_, eleEffTags_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleHLTvOfflineVars_, eleLooseTightTrigEffVsVars_, eleN1EffVars_, eleSingleEffVars_, eleTightLooseTrigNames_, eleTrigTPEffVsVars_, filterInactiveTriggers_, edm::ParameterSet::getParameter(), hltTag_, phoEffTags_, phoHLTFilterNames2Leg_, phoHLTFilterNames_, phoHLTvOfflineVars_, phoLooseTightTrigEffVsVars_, phoN1EffVars_, phoSingleEffVars_, phoTightLooseTrigNames_, phoTrigTPEffVsVars_, runClientEndJob_, runClientEndLumiBlock_, runClientEndRun_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 59 of file EgHLTOfflineClient.cc.
|
overridevirtual |
Reimplemented from DQMEDHarvester.
Definition at line 67 of file EgHLTOfflineClient.cc.
References eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleTightLooseTrigNames_, egHLT::trigTools::filterInactiveTightLooseTriggers(), egHLT::trigTools::filterInactiveTriggers(), filterInactiveTriggers_, egHLT::trigTools::getActiveFilters(), HltComparatorCreateWorkflow::hltConfig, hltTag_, HLTConfigProvider::init(), isSetup_, phoHLTFilterNames_, and phoTightLooseTrigNames_.
void EgHLTOfflineClient::createHLTvsOfflineHists | ( | const std::string & | filterName, |
const std::string & | baseName, | ||
const std::string & | region, | ||
const std::vector< std::string > & | varNames, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 194 of file EgHLTOfflineClient.cc.
References dirName_, FillHLTvsOfflineHist(), DQMStore::IGetter::get(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
void EgHLTOfflineClient::createLooseTightTrigEff | ( | const std::vector< std::string > & | tightLooseTrigNames, |
const std::string & | region, | ||
const std::vector< std::string > & | vsVarNames, | ||
const std::string & | objName, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 415 of file EgHLTOfflineClient.cc.
References dirName_, cmsPerfPublish::fail(), DQMStore::IGetter::get(), makeEffMonElemFromPassAndFail(), NULL, split, splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
void EgHLTOfflineClient::createN1EffHists | ( | const std::string & | filterName, |
const std::string & | baseName, | ||
const std::string & | region, | ||
const std::vector< std::string > & | varNames, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 254 of file EgHLTOfflineClient.cc.
References dirName_, DQMStore::IGetter::get(), makeEffMonElemFromPassAndAll(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
void EgHLTOfflineClient::createSingleEffHists | ( | const std::string & | filterName, |
const std::string & | baseName, | ||
const std::string & | region, | ||
const std::vector< std::string > & | varNames, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 279 of file EgHLTOfflineClient.cc.
References dirName_, DQMStore::IGetter::get(), makeEffMonElemFromPassAndAll(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
void EgHLTOfflineClient::createTrigTagProbeEffHists | ( | const std::string & | filterName, |
const std::string & | region, | ||
const std::vector< std::string > & | vsVarNames, | ||
const std::string & | objName, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 303 of file EgHLTOfflineClient.cc.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), dirName_, DQMStore::IGetter::get(), makeEffMonElemFromPassAndAll(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
void EgHLTOfflineClient::createTrigTagProbeEffHists2Leg | ( | const std::string & | filterNameLeg1, |
const std::string & | filterNameLeg2, | ||
const std::string & | region, | ||
const std::vector< std::string > & | vsVarNames, | ||
const std::string & | objName, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 375 of file EgHLTOfflineClient.cc.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), dirName_, DQMStore::IGetter::get(), makeEffMonElem2Leg(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
void EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo | ( | const std::string & | filterName, |
const std::string & | region, | ||
const std::vector< std::string > & | vsVarNames, | ||
const std::string & | objName, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 332 of file EgHLTOfflineClient.cc.
References dirName_, cmsPerfPublish::fail(), DQMStore::IGetter::get(), makeEffMonElemFromPassAndFailAndTagTag(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
|
overridevirtual |
Implements DQMEDHarvester.
Definition at line 62 of file EgHLTOfflineClient.cc.
References runClient_(), and runClientEndJob_.
|
overridevirtual |
Reimplemented from DQMEDHarvester.
Definition at line 92 of file EgHLTOfflineClient.cc.
References runClient_(), and runClientEndLumiBlock_.
MonitorElement * EgHLTOfflineClient::FillHLTvsOfflineHist | ( | const std::string & | filter, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | numer, | ||
const MonitorElement * | denom, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 231 of file EgHLTOfflineClient.cc.
References DQMStore::IBooker::book1D(), dirName_, DQMStore::IGetter::get(), MonitorElement::getTH1F(), NULL, and pileupDistInMC::num.
Referenced by createHLTvsOfflineHists().
MonitorElement * EgHLTOfflineClient::makeEffMonElem2Leg | ( | const std::string & | filter, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | Leg1Eff, | ||
const MonitorElement * | Leg2NotLeg1Source, | ||
const MonitorElement * | all, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 516 of file EgHLTOfflineClient.cc.
References DQMStore::IBooker::book1D(), dirName_, DQMStore::IGetter::get(), MonitorElement::getTH1F(), and NULL.
Referenced by createTrigTagProbeEffHists2Leg().
MonitorElement * EgHLTOfflineClient::makeEffMonElemFromPassAndAll | ( | const std::string & | filterName, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | pass, | ||
const MonitorElement * | all, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 456 of file EgHLTOfflineClient.cc.
References DQMStore::IBooker::book1D(), dirName_, DQMStore::IGetter::get(), MonitorElement::getTH1F(), and NULL.
Referenced by createN1EffHists(), createSingleEffHists(), and createTrigTagProbeEffHists().
MonitorElement * EgHLTOfflineClient::makeEffMonElemFromPassAndFail | ( | const std::string & | filterName, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | pass, | ||
const MonitorElement * | fail, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 558 of file EgHLTOfflineClient.cc.
References DQMStore::IBooker::book1D(), dirName_, DQMStore::IGetter::get(), MonitorElement::getTH1F(), and NULL.
Referenced by createLooseTightTrigEff().
MonitorElement * EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag | ( | const std::string & | filter, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | pass, | ||
const MonitorElement * | fail, | ||
const MonitorElement * | tagtag, | ||
DQMStore::IBooker & | ibooker, | ||
DQMStore::IGetter & | igetter | ||
) |
Definition at line 479 of file EgHLTOfflineClient.cc.
References DQMStore::IBooker::book1D(), dirName_, DQMStore::IGetter::get(), MonitorElement::getTH1F(), and NULL.
Referenced by createTrigTagProbeEffHistsNewAlgo().
|
inlineprivate |
Definition at line 78 of file EgHLTOfflineClient.h.
|
private |
Definition at line 99 of file EgHLTOfflineClient.cc.
References createHLTvsOfflineHists(), createLooseTightTrigEff(), createN1EffHists(), createSingleEffHists(), createTrigTagProbeEffHists2Leg(), createTrigTagProbeEffHistsNewAlgo(), dirName_, eleEffTags_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleHLTvOfflineVars_, eleLooseTightTrigEffVsVars_, eleN1EffVars_, eleSingleEffVars_, eleTightLooseTrigNames_, eleTrigTPEffVsVars_, spr::find(), phoEffTags_, phoHLTFilterNames_, phoHLTvOfflineVars_, phoLooseTightTrigEffVsVars_, phoN1EffVars_, phoSingleEffVars_, phoTightLooseTrigNames_, phoTrigTPEffVsVars_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
|
private |
Definition at line 41 of file EgHLTOfflineClient.h.
Referenced by createHLTvsOfflineHists(), createLooseTightTrigEff(), createN1EffHists(), createSingleEffHists(), createTrigTagProbeEffHists(), createTrigTagProbeEffHists2Leg(), createTrigTagProbeEffHistsNewAlgo(), EgHLTOfflineClient(), FillHLTvsOfflineHist(), makeEffMonElem2Leg(), makeEffMonElemFromPassAndAll(), makeEffMonElemFromPassAndFail(), makeEffMonElemFromPassAndFailAndTagTag(), and runClient_().
|
private |
Definition at line 53 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 44 of file EgHLTOfflineClient.h.
Referenced by beginRun(), EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 43 of file EgHLTOfflineClient.h.
Referenced by beginRun(), EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 64 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 61 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 51 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 52 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 45 of file EgHLTOfflineClient.h.
Referenced by beginRun(), EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 59 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 71 of file EgHLTOfflineClient.h.
Referenced by beginRun(), and EgHLTOfflineClient().
|
private |
Definition at line 73 of file EgHLTOfflineClient.h.
Referenced by beginRun(), and EgHLTOfflineClient().
|
private |
Definition at line 72 of file EgHLTOfflineClient.h.
Referenced by beginRun().
|
private |
Definition at line 57 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 47 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient().
|
private |
Definition at line 46 of file EgHLTOfflineClient.h.
Referenced by beginRun(), EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 65 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 62 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 55 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 56 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 48 of file EgHLTOfflineClient.h.
Referenced by beginRun(), EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 60 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and runClient_().
|
private |
Definition at line 69 of file EgHLTOfflineClient.h.
Referenced by dqmEndJob(), and EgHLTOfflineClient().
|
private |
Definition at line 67 of file EgHLTOfflineClient.h.
Referenced by dqmEndLuminosityBlock(), and EgHLTOfflineClient().
|
private |
Definition at line 68 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient().