#include <EgHLTOfflineSource.h>
Private Member Functions | |
EgHLTOfflineSource (const EgHLTOfflineSource &rhs)=delete | |
EgHLTOfflineSource & | operator= (const EgHLTOfflineSource &rhs)=delete |
Private Attributes | |
egHLT::BinData | binData_ |
egHLT::CutMasks | cutMasks_ |
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_ |
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_ |
std::unique_ptr< egHLT::TrigCodes > | trigCodes |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 58 of file EgHLTOfflineSource.h.
|
privatedelete |
|
explicit |
Definition at line 23 of file EgHLTOfflineSource.cc.
References binData_, edm::EDConsumerBase::consumesCollector(), cutMasks_, diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, dirName_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleTightLooseTrigNames_, filterInactiveTriggers_, edm::ParameterSet::getParameter(), hltTag_, offEvtHelper_, phoHLTFilterNames_, phoTightLooseTrigNames_, egHLT::CutMasks::setup(), egHLT::BinData::setup(), egHLT::OffHelper::setup(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 47 of file EgHLTOfflineSource.cc.
References eleFilterMonHists_, eleMonElems_, i, phoFilterMonHists_, and phoMonElems_.
void EgHLTOfflineSource::addEleTrigPath | ( | egHLT::MonElemFuncs & | monElemFuncs, |
const std::string & | name | ||
) |
Definition at line 174 of file EgHLTOfflineSource.cc.
References binData_, cutMasks_, eleFilterMonHists_, python.multivaluedict::sort(), and trigCodes.
Referenced by bookHistograms().
void EgHLTOfflineSource::addPhoTrigPath | ( | egHLT::MonElemFuncs & | monElemFuncs, |
const std::string & | name | ||
) |
Definition at line 181 of file EgHLTOfflineSource.cc.
References binData_, cutMasks_, phoFilterMonHists_, python.multivaluedict::sort(), and trigCodes.
Referenced by bookHistograms().
|
overridevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 139 of file EgHLTOfflineSource.cc.
References dqmErrsMonElem_, eleFilterMonHists_, eleMonElems_, egHLT::OffEvt::eles(), MonitorElement::Fill(), egHLT::OffHelper::makeOffEvt(), nrEventsProcessed_, nrEventsProcessedMonElem_, offEvt_, offEvtHelper_, phoFilterMonHists_, phoMonElems_, egHLT::OffEvt::phos(), trigCodes, and histoStyle::weight.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 64 of file EgHLTOfflineSource.cc.
References addEleTrigPath(), addPhoTrigPath(), binData_, DQMStore::IBooker::book1D(), DQMStore::IBooker::bookInt(), cutMasks_, diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, dirName_, dqmErrsMonElem_, 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(), nrEventsProcessedMonElem_, offEvtHelper_, phoHLTFilterNames_, phoMonElems_, phoTightLooseTrigNames_, DQMStore::IBooker::setCurrentFolder(), egHLT::OffHelper::setupTriggers(), trigCodes, egHLT::CutMasks::trigTPEle, and egHLT::CutMasks::trigTPPho.
void EgHLTOfflineSource::filterTriggers | ( | const HLTConfigProvider & | hltConfig | ) |
Definition at line 235 of file EgHLTOfflineSource.cc.
References diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, eleHLTFilterNames2Leg_, eleHLTFilterNames_, eleTightLooseTrigNames_, egHLT::trigTools::filterInactiveTightLooseTriggers(), egHLT::trigTools::filterInactiveTriggers(), egHLT::trigTools::getActiveFilters(), phoHLTFilterNames_, and phoTightLooseTrigNames_.
Referenced by bookHistograms().
void EgHLTOfflineSource::getHLTFilterNamesUsed | ( | std::vector< std::string > & | filterNames | ) | const |
Definition at line 195 of file EgHLTOfflineSource.cc.
References diEleTightLooseTrigNames_, diPhoTightLooseTrigNames_, eleHLTFilterNames_, eleTightLooseTrigNames_, i, phoHLTFilterNames_, phoTightLooseTrigNames_, split, AlCaHLTBitMon_QueryRunRegistry::string, swap(), and trigNames.
Referenced by bookHistograms().
|
privatedelete |
|
private |
Definition at line 86 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), addPhoTrigPath(), bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 87 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), addPhoTrigPath(), bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 83 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 84 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 70 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 61 of file EgHLTOfflineSource.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), analyze(), and ~EgHLTOfflineSource().
|
private |
Definition at line 80 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), and filterTriggers().
|
private |
Definition at line 78 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 67 of file EgHLTOfflineSource.h.
Referenced by analyze(), bookHistograms(), and ~EgHLTOfflineSource().
|
private |
Definition at line 81 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 89 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 90 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 63 of file EgHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 62 of file EgHLTOfflineSource.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file EgHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 73 of file EgHLTOfflineSource.h.
Referenced by analyze(), bookHistograms(), and EgHLTOfflineSource().
|
private |
Definition at line 66 of file EgHLTOfflineSource.h.
Referenced by addPhoTrigPath(), analyze(), and ~EgHLTOfflineSource().
|
private |
Definition at line 79 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 68 of file EgHLTOfflineSource.h.
Referenced by analyze(), bookHistograms(), and ~EgHLTOfflineSource().
|
private |
Definition at line 82 of file EgHLTOfflineSource.h.
Referenced by bookHistograms(), EgHLTOfflineSource(), filterTriggers(), and getHLTFilterNamesUsed().
|
private |
Definition at line 74 of file EgHLTOfflineSource.h.
Referenced by addEleTrigPath(), addPhoTrigPath(), analyze(), and bookHistograms().