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(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), and electronMatch_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 238 of file EgHLTTrigTools.cc.
References cscdqm::h::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 319 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 trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), filters, plotBeamSpotDB::first, egHLT::TrigCodes::getCode(), and edm::second().
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 edm::pset::Registry::begin(), edm::pset::Registry::end(), mps_fire::i, edm::pset::Registry::instance(), mag2(), NULL, 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 340 of file EgHLTTrigTools.cc.
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(), stringResolutionProvider_cfi::eta, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), plotBeamSpotDB::first, egHLT::TrigCodes::getCode(), trigger::TriggerEvent::getObjects(), electronMatch_cfi::maxDeltaR, and edm::second().
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 HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerName().
Referenced by EgHLTOfflineSummaryClient::beginRun(), and egHLT::OffHelper::setupTriggers().