#include <EgHLTOfflineSource.h>
Public Member Functions | |
void | addEleTrigPath (const std::string &name) |
void | addPhoTrigPath (const std::string &name) |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
EgHLTOfflineSource (const edm::ParameterSet &) | |
virtual void | endJob () |
virtual void | endRun (const edm::Run &run, const edm::EventSetup &c) |
void | filterTriggers (const HLTConfigProvider &hltConfig) |
void | getHLTFilterNamesUsed (std::vector< std::string > &filterNames) const |
virtual | ~EgHLTOfflineSource () |
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 | |
EgHLTOfflineSource (const EgHLTOfflineSource &rhs) | |
EgHLTOfflineSource & | operator= (const EgHLTOfflineSource &rhs) |
Private Attributes | |
egHLT::BinData | binData_ |
egHLT::CutMasks | cutMasks_ |
DQMStore * | dbe_ |
std::vector< std::string > | diEleTightLooseTrigNames_ |
std::vector< std::string > | diPhoTightLooseTrigNames_ |
std::string | dirName_ |
MonitorElement * | dqmErrsMonElem_ |
std::vector < egHLT::EleHLTFilterMon * > | eleFilterMonHists_ |
std::vector< std::string > | eleHLTFilterNames2Leg_ |
std::vector< std::string > | eleHLTFilterNames_ |
std::vector < egHLT::MonElemContainer < egHLT::OffEle > * > | eleMonElems_ |
std::vector< std::string > | eleTightLooseTrigNames_ |
bool | filterInactiveTriggers_ |
std::string | hltTag_ |
bool | isSetup_ |
int | nrEventsProcessed_ |
MonitorElement * | nrEventsProcessedMonElem_ |
egHLT::OffEvt | offEvt_ |
egHLT::OffHelper | offEvtHelper_ |
std::vector < egHLT::PhoHLTFilterMon * > | phoFilterMonHists_ |
std::vector< std::string > | phoHLTFilterNames_ |
std::vector < egHLT::MonElemContainer < egHLT::OffPho > * > | phoMonElems_ |
std::vector< std::string > | phoTightLooseTrigNames_ |
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 56 of file EgHLTOfflineSource.h.
|
inlineprivate |
Definition at line 92 of file EgHLTOfflineSource.h.
|
explicit |
Definition at line 24 of file EgHLTOfflineSource.cc.
References binData_, edm::EDConsumerBase::consumesCollector(), cutMasks_, dbe_, diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, dirName_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleTightLooseTrigNames_, filterInactiveTriggers_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltTag_, offEvtHelper_, cppFunctionSkipper::operator, phoHLTFilterNames_, phoTightLooseTrigNames_, egHLT::CutMasks::setup(), egHLT::BinData::setup(), egHLT::OffHelper::setup(), DQMStore::setVerbose(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 59 of file EgHLTOfflineSource.cc.
References eleFilterMonHists_, eleMonElems_, i, phoFilterMonHists_, and phoMonElems_.
void EgHLTOfflineSource::addEleTrigPath | ( | const std::string & | name | ) |
Definition at line 214 of file EgHLTOfflineSource.cc.
References binData_, cutMasks_, eleFilterMonHists_, and python.multivaluedict::sort().
Referenced by beginRun().
void EgHLTOfflineSource::addPhoTrigPath | ( | const std::string & | name | ) |
Definition at line 221 of file EgHLTOfflineSource.cc.
References binData_, cutMasks_, phoFilterMonHists_, and python.multivaluedict::sort().
Referenced by beginRun().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 169 of file EgHLTOfflineSource.cc.
References dbe_, dqmErrsMonElem_, eleFilterMonHists_, eleMonElems_, egHLT::OffEvt::eles(), MonitorElement::Fill(), egHLT::OffHelper::makeOffEvt(), nrEventsProcessed_, nrEventsProcessedMonElem_, offEvt_, offEvtHelper_, phoFilterMonHists_, phoMonElems_, egHLT::OffEvt::phos(), and histoStyle::weight.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 76 of file EgHLTOfflineSource.cc.
References DQMStore::book1D(), DQMStore::bookInt(), dbe_, dirName_, dqmErrsMonElem_, nrEventsProcessedMonElem_, and DQMStore::setCurrentFolder().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 95 of file EgHLTOfflineSource.cc.
References addEleTrigPath(), addPhoTrigPath(), binData_, cutMasks_, dbe_, diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, dirName_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleMonElems_, eleTightLooseTrigNames_, filterInactiveTriggers_, filterTriggers(), spr::find(), getHLTFilterNamesUsed(), HltComparatorCreateWorkflow::hltConfig, hltTag_, i, HLTConfigProvider::init(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHists(), egHLT::MonElemFuncs::initTrigTagProbeHist(), egHLT::MonElemFuncs::initTrigTagProbeHist_2Leg(), isSetup_, offEvtHelper_, phoHLTFilterNames_, phoMonElems_, phoTightLooseTrigNames_, DQMStore::setCurrentFolder(), egHLT::OffHelper::setupTriggers(), egHLT::CutMasks::trigTPEle, and egHLT::CutMasks::trigTPPho.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 86 of file EgHLTOfflineSource.cc.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file EgHLTOfflineSource.cc.
void EgHLTOfflineSource::filterTriggers | ( | const HLTConfigProvider & | hltConfig | ) |
Definition at line 275 of file EgHLTOfflineSource.cc.
References diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleTightLooseTrigNames_, egHLT::trigTools::filterInactiveTightLooseTriggers(), egHLT::trigTools::filterInactiveTriggers(), egHLT::trigTools::getActiveFilters(), phoHLTFilterNames_, and phoTightLooseTrigNames_.
Referenced by beginRun().
void EgHLTOfflineSource::getHLTFilterNamesUsed | ( | std::vector< std::string > & | filterNames | ) | const |
Definition at line 235 of file EgHLTOfflineSource.cc.
References diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, eleHLTFilterNames_, eleTightLooseTrigNames_, i, phoHLTFilterNames_, phoTightLooseTrigNames_, split, AlCaHLTBitMon_QueryRunRegistry::string, swap(), and trigNames.
Referenced by beginRun().
|
inlineprivate |
Definition at line 93 of file EgHLTOfflineSource.h.
|
private |
Definition at line 84 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), addPhoTrigPath(), beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 85 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), addPhoTrigPath(), beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 59 of file EgHLTOfflineSource.h.
Referenced by analyze(), beginJob(), beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 81 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 82 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 69 of file EgHLTOfflineSource.h.
Referenced by beginJob(), beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 60 of file EgHLTOfflineSource.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), analyze(), and ~EgHLTOfflineSource().
|
private |
Definition at line 78 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), and filterTriggers().
|
private |
Definition at line 76 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 66 of file EgHLTOfflineSource.h.
Referenced by analyze(), beginRun(), and ~EgHLTOfflineSource().
|
private |
Definition at line 79 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 88 of file EgHLTOfflineSource.h.
Referenced by beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 89 of file EgHLTOfflineSource.h.
Referenced by beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 87 of file EgHLTOfflineSource.h.
Referenced by beginRun().
|
private |
Definition at line 62 of file EgHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 61 of file EgHLTOfflineSource.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file EgHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 72 of file EgHLTOfflineSource.h.
Referenced by analyze(), beginRun(), and EgHLTOfflineSource().
|
private |
Definition at line 65 of file EgHLTOfflineSource.h.
Referenced by addPhoTrigPath(), analyze(), and ~EgHLTOfflineSource().
|
private |
Definition at line 77 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 67 of file EgHLTOfflineSource.h.
Referenced by analyze(), beginRun(), and ~EgHLTOfflineSource().
|
private |
Definition at line 80 of file EgHLTOfflineSource.h.
Referenced by beginRun(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().