#include <EgHLTOfflineClient.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | createHLTvsOfflineHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames) |
void | createLooseTightTrigEff (const std::vector< std::string > &tightLooseTrigNames, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName) |
void | createN1EffHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames) |
void | createSingleEffHists (const std::string &filterName, const std::string &baseName, const std::string ®ion, const std::vector< std::string > &varNames) |
void | createTrigTagProbeEffHists (const std::string &filterName, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName) |
void | createTrigTagProbeEffHists2Leg (const std::string &filterNameLeg1, const std::string &filterNameLeg2, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName) |
void | createTrigTagProbeEffHistsNewAlgo (const std::string &filterName, const std::string ®ion, const std::vector< std::string > &vsVarNames, const std::string &objName) |
EgHLTOfflineClient (const edm::ParameterSet &) | |
virtual void | endJob () |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
virtual void | endRun (const edm::Run &run, const edm::EventSetup &c) |
MonitorElement * | FillHLTvsOfflineHist (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *numer, const MonitorElement *denom) |
MonitorElement * | makeEffMonElem2Leg (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *Leg1Eff, const MonitorElement *Leg2NotLeg1Source, const MonitorElement *all) |
MonitorElement * | makeEffMonElemFromPassAndAll (const std::string &filterName, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *all) |
MonitorElement * | makeEffMonElemFromPassAndFail (const std::string &filterName, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *fail) |
MonitorElement * | makeEffMonElemFromPassAndFailAndTagTag (const std::string &filter, const std::string &name, const std::string &title, const MonitorElement *pass, const MonitorElement *fail, const MonitorElement *tagtag) |
virtual | ~EgHLTOfflineClient () |
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 () |
Private Member Functions | |
EgHLTOfflineClient (const EgHLTOfflineClient &rhs) | |
EgHLTOfflineClient & | operator= (const EgHLTOfflineClient &rhs) |
void | runClient_ () |
Private Attributes | |
DQMStore * | dbe_ |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 dbe_, dirName_, eleEffTags_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleHLTvOfflineVars_, eleLooseTightTrigEffVsVars_, eleN1EffVars_, eleSingleEffVars_, eleTightLooseTrigNames_, eleTrigTPEffVsVars_, filterInactiveTriggers_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltTag_, cppFunctionSkipper::operator, phoEffTags_, phoHLTFilterNames2Leg_, phoHLTFilterNames_, phoHLTvOfflineVars_, phoLooseTightTrigEffVsVars_, phoN1EffVars_, phoSingleEffVars_, phoTightLooseTrigNames_, phoTrigTPEffVsVars_, runClientEndJob_, runClientEndLumiBlock_, runClientEndRun_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 71 of file EgHLTOfflineClient.cc.
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 76 of file EgHLTOfflineClient.cc.
|
inlinevirtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 87 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 | ||
) |
Definition at line 197 of file EgHLTOfflineClient.cc.
References dbe_, dirName_, FillHLTvsOfflineHist(), DQMStore::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 | ||
) |
Definition at line 384 of file EgHLTOfflineClient.cc.
References dbe_, dirName_, cmsPerfPublish::fail(), DQMStore::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 | ||
) |
Definition at line 243 of file EgHLTOfflineClient.cc.
References dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 265 of file EgHLTOfflineClient.cc.
References dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 286 of file EgHLTOfflineClient.cc.
References cond::ecalcond::all, dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 351 of file EgHLTOfflineClient.cc.
References cond::ecalcond::all, dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 312 of file EgHLTOfflineClient.cc.
References dbe_, dirName_, cmsPerfPublish::fail(), DQMStore::get(), makeEffMonElemFromPassAndFailAndTagTag(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by runClient_().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 82 of file EgHLTOfflineClient.cc.
References runClient_(), and runClientEndJob_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file EgHLTOfflineClient.cc.
References runClient_(), and runClientEndLumiBlock_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 112 of file EgHLTOfflineClient.cc.
References runClient_(), and runClientEndRun_.
MonitorElement * EgHLTOfflineClient::FillHLTvsOfflineHist | ( | const std::string & | filter, |
const std::string & | name, | ||
const std::string & | title, | ||
const MonitorElement * | numer, | ||
const MonitorElement * | denom | ||
) |
Definition at line 228 of file EgHLTOfflineClient.cc.
References DQMStore::book1D(), dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 475 of file EgHLTOfflineClient.cc.
References DQMStore::book1D(), dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 423 of file EgHLTOfflineClient.cc.
References DQMStore::book1D(), dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 514 of file EgHLTOfflineClient.cc.
References DQMStore::book1D(), dbe_, dirName_, DQMStore::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 | ||
) |
Definition at line 444 of file EgHLTOfflineClient.cc.
References DQMStore::book1D(), dbe_, dirName_, DQMStore::get(), MonitorElement::getTH1F(), and NULL.
Referenced by createTrigTagProbeEffHistsNewAlgo().
|
inlineprivate |
Definition at line 78 of file EgHLTOfflineClient.h.
|
private |
Definition at line 128 of file EgHLTOfflineClient.cc.
References createHLTvsOfflineHists(), createLooseTightTrigEff(), createN1EffHists(), createSingleEffHists(), createTrigTagProbeEffHists2Leg(), createTrigTagProbeEffHistsNewAlgo(), dbe_, dirName_, eleEffTags_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleHLTvOfflineVars_, eleLooseTightTrigEffVsVars_, eleN1EffVars_, eleSingleEffVars_, eleTightLooseTrigNames_, eleTrigTPEffVsVars_, spr::find(), phoEffTags_, phoHLTFilterNames_, phoHLTvOfflineVars_, phoLooseTightTrigEffVsVars_, phoN1EffVars_, phoSingleEffVars_, phoTightLooseTrigNames_, phoTrigTPEffVsVars_, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 40 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 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 EgHLTOfflineClient(), and endJob().
|
private |
Definition at line 67 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and endLuminosityBlock().
|
private |
Definition at line 68 of file EgHLTOfflineClient.h.
Referenced by EgHLTOfflineClient(), and endRun().