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 104 of file EgHLTTrigTools.h.
References reco::deltaR(), ALCARECOTkAlBeamHalo_cff::filter, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), and electrons_cff::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 238 of file EgHLTTrigTools.cc.
References names, 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 221 of file EgHLTTrigTools.cc.
Referenced by EgHLTOfflineSummaryClient::beginRun(), EgHLTOfflineClient::beginRun(), and EgHLTOfflineSource::filterTriggers().
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 125 of file EgHLTTrigTools.cc.
References ALCARECOTkAlBeamHalo_cff::filter, filters, spr::find(), getMinNrObjsRequiredByFilter(), HLTConfigProvider::saveTagsModules(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerName().
Referenced by EgHLTOfflineSummaryClient::beginRun(), EgHLTOfflineClient::beginRun(), and EgHLTOfflineSource::filterTriggers().
float egHLT::trigTools::getEtThresFromName | ( | const std::string & | trigName | ) |
Definition at line 318 of file EgHLTTrigTools.cc.
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, and egHLT::TrigCodes::getCode().
Referenced by egHLT::OffHelper::setTrigInfo().
std::string egHLT::trigTools::getL1SeedFilterOfPath | ( | const HLTConfigProvider & | hltConfig, |
const std::string & | path | ||
) |
Definition at line 305 of file EgHLTTrigTools.cc.
References HLTConfigProvider::moduleLabels(), edm::moduleName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by egHLT::OffHelper::setupTriggers().
std::vector< int > egHLT::trigTools::getMinNrObjsRequiredByFilter | ( | const std::vector< std::string > & | filterName | ) |
Definition at line 41 of file EgHLTTrigTools.cc.
References diMuonOutputModule_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 339 of file EgHLTTrigTools.cc.
References jets_cff::isEle.
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 48 of file EgHLTTrigTools.h.
References reco::deltaR(), PVValHelper::eta, ALCARECOTkAlBeamHalo_cff::filter, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), egHLT::TrigCodes::getCode(), trigger::TriggerEvent::getObjects(), and electrons_cff::maxDeltaR.
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 270 of file EgHLTTrigTools.cc.
References ALCARECOTkAlBeamHalo_cff::filter, HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerName().
Referenced by EgHLTOfflineSummaryClient::beginRun(), and egHLT::OffHelper::setupTriggers().