Functions | |
template<class T , class U > | |
void | fillHLTposition (T &obj, U &hltData, const std::vector< std::string > &filters, const trigger::TriggerEvent *trigEvt, const std::string &hltTag) |
void | filterInactiveTightLooseTriggers (std::vector< std::string > &namesToFilter, const std::vector< std::string > &activeFilters) |
void | filterInactiveTriggers (std::vector< std::string > &namesToFilter, std::vector< std::string > &activeFilters) |
void | getActiveFilters (const HLTConfigProvider &hltConfig, std::vector< std::string > &activeFilters, std::vector< std::string > &activeEleFilters, std::vector< std::string > &activeEle2LegFilters, std::vector< std::string > &activePhoFilters, std::vector< std::string > &activePho2LegFilters) |
float | getEtThresFromName (const std::string &trigName) |
TrigCodes::TrigBitSet | getFiltersPassed (const std::vector< std::pair< std::string, int > > &filters, const trigger::TriggerEvent *trigEvt, const std::string &hltTag, const TrigCodes &trigCodes) |
std::string | getL1SeedFilterOfPath (const HLTConfigProvider &hltConfig, const std::string &path) |
std::vector< int > | getMinNrObjsRequiredByFilter (const std::vector< std::string > &filterName) |
float | getSecondEtThresFromName (const std::string &trigName) |
template<class T > | |
void | setFiltersObjPasses (std::vector< T > &objs, const std::vector< std::string > &filters, const std::vector< std::pair< std::string, std::string > > &l1PreAndSeedFilters, const TrigCodes::TrigBitSet &evtTrigBits, const TrigCodes &trigCodes, const trigger::TriggerEvent *trigEvt, const std::string &hltTag) |
void | translateFiltersToPathNames (const HLTConfigProvider &hltConfig, const std::vector< std::string > &filters, std::vector< std::string > &paths) |
void egHLT::trigTools::fillHLTposition | ( | T & | obj, |
U & | hltData, | ||
const std::vector< std::string > & | filters, | ||
const trigger::TriggerEvent * | trigEvt, | ||
const std::string & | hltTag | ||
) |
Definition at line 130 of file EgHLTTrigTools.h.
References reco::deltaR(), ALCARECOTkAlBeamHalo_cff::filter, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), filters, trigger::TriggerEvent::getObjects(), EgHLTOfflineClient_cfi::hltTag, and ewkMuLumiMonitorDQM_cfi::maxDeltaR.
Referenced by egHLT::OffHelper::fillHLTData(), and egHLT::OffHelper::fillHLTDataPho().
void egHLT::trigTools::filterInactiveTightLooseTriggers | ( | std::vector< std::string > & | namesToFilter, |
const std::vector< std::string > & | activeFilters | ||
) |
Definition at line 250 of file EgHLTTrigTools.cc.
References names, cms::dd::split(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::beginRun(), and EgHLTOfflineSource::filterTriggers().
void egHLT::trigTools::filterInactiveTriggers | ( | std::vector< std::string > & | namesToFilter, |
std::vector< std::string > & | activeFilters | ||
) |
Definition at line 233 of file EgHLTTrigTools.cc.
Referenced by EgHLTOfflineClient::beginRun(), and EgHLTOfflineSummaryClient::beginRun().
void egHLT::trigTools::getActiveFilters | ( | const HLTConfigProvider & | hltConfig, |
std::vector< std::string > & | activeFilters, | ||
std::vector< std::string > & | activeEleFilters, | ||
std::vector< std::string > & | activeEle2LegFilters, | ||
std::vector< std::string > & | activePhoFilters, | ||
std::vector< std::string > & | activePho2LegFilters | ||
) |
Definition at line 129 of file EgHLTTrigTools.cc.
References ALCARECOTkAlBeamHalo_cff::filter, filters, spr::find(), getMinNrObjsRequiredByFilter(), HltComparatorCreateWorkflow::hltConfig, hltMonBTagIPClient_cfi::pathName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::beginRun(), EgHLTOfflineSummaryClient::beginRun(), and EgHLTOfflineSource::filterTriggers().
float egHLT::trigTools::getEtThresFromName | ( | const std::string & | trigName | ) |
Definition at line 343 of file EgHLTTrigTools.cc.
References EgHLTOffTrigSelection_cfi::trigName.
Referenced by egHLT::MonElemFuncs::addTightLooseTrigHist().
TrigCodes::TrigBitSet egHLT::trigTools::getFiltersPassed | ( | const std::vector< std::pair< std::string, int > > & | filters, |
const trigger::TriggerEvent * | trigEvt, | ||
const std::string & | hltTag, | ||
const TrigCodes & | trigCodes | ||
) |
Definition at line 8 of file EgHLTTrigTools.cc.
References ALCARECOTkAlBeamHalo_cff::filter, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), filters, egHLT::TrigCodes::getCode(), and EgHLTOfflineClient_cfi::hltTag.
Referenced by egHLT::OffHelper::setTrigInfo().
std::string egHLT::trigTools::getL1SeedFilterOfPath | ( | const HLTConfigProvider & | hltConfig, |
const std::string & | path | ||
) |
Definition at line 331 of file EgHLTTrigTools.cc.
References HltComparatorCreateWorkflow::hltConfig, EcalCalibMonitorClient_cfi::moduleName, castor_dqm_sourceclient_file_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by egHLT::OffHelper::setupTriggers().
std::vector< int > egHLT::trigTools::getMinNrObjsRequiredByFilter | ( | const std::vector< std::string > & | filterName | ) |
Definition at line 36 of file EgHLTTrigTools.cc.
References pdwgDoubleElectron_cfi::filterName, mps_fire::i, edm::pset::Registry::instance(), mag2(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::Entry::toString().
Referenced by getActiveFilters(), and egHLT::OffHelper::setupTriggers().
float egHLT::trigTools::getSecondEtThresFromName | ( | const std::string & | trigName | ) |
Definition at line 361 of file EgHLTTrigTools.cc.
References jets_cff::isEle, and EgHLTOffTrigSelection_cfi::trigName.
void egHLT::trigTools::setFiltersObjPasses | ( | std::vector< T > & | objs, |
const std::vector< std::string > & | filters, | ||
const std::vector< std::pair< std::string, std::string > > & | l1PreAndSeedFilters, | ||
const TrigCodes::TrigBitSet & | evtTrigBits, | ||
const TrigCodes & | trigCodes, | ||
const trigger::TriggerEvent * | trigEvt, | ||
const std::string & | hltTag | ||
) |
Definition at line 72 of file EgHLTTrigTools.h.
References reco::deltaR(), PVValHelper::eta, ALCARECOTkAlBeamHalo_cff::filter, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), filters, egHLT::TrigCodes::getCode(), trigger::TriggerEvent::getObjects(), EgHLTOfflineClient_cfi::hltTag, ewkMuLumiMonitorDQM_cfi::maxDeltaR, and ecalTrigSettings_cff::particles.
Referenced by egHLT::OffHelper::setTrigInfo().
void egHLT::trigTools::translateFiltersToPathNames | ( | const HLTConfigProvider & | hltConfig, |
const std::vector< std::string > & | filters, | ||
std::vector< std::string > & | paths | ||
) |
Definition at line 293 of file EgHLTTrigTools.cc.
References ALCARECOTkAlBeamHalo_cff::filter, filters, HltComparatorCreateWorkflow::hltConfig, hltMonBTagIPClient_cfi::pathName, Skims_PA_cff::paths, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineSummaryClient::beginRun(), and egHLT::OffHelper::setupTriggers().