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) |
std::string | getL1SeedFilterOfPath (const HLTConfigProvider &hltConfig, const std::string &path) |
int | getMinNrObjsRequiredByFilter (const 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 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 102 of file EgHLTTrigTools.h.
References reco::deltaR(), alcaDQMUpload::encode(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), and trigger::TriggerEvent::getObjects().
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 202 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 185 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 101 of file EgHLTTrigTools.cc.
References alcazmumu_cfi::filter, filters, spr::find(), getMinNrObjsRequiredByFilter(), EgammaValidation_cff::pathName, HLTConfigProvider::saveTagsModules(), HLTConfigProvider::size(), python.multivaluedict::sort(), 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 283 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 | ||
) |
Definition at line 10 of file EgHLTTrigTools.cc.
References alcaDQMUpload::encode(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), filters, 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 269 of file EgHLTTrigTools.cc.
References HLTConfigProvider::moduleLabels(), edm::moduleName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by egHLT::OffHelper::setupTriggers().
int egHLT::trigTools::getMinNrObjsRequiredByFilter | ( | const std::string & | filterName | ) |
Definition at line 39 of file EgHLTTrigTools.cc.
References edm::pset::Registry::begin(), edm::pset::Registry::end(), reco_skim_cfg_mod::filterName, edm::pset::Registry::instance(), and NULL.
Referenced by getActiveFilters(), and egHLT::OffHelper::setupTriggers().
float egHLT::trigTools::getSecondEtThresFromName | ( | const std::string & | trigName | ) |
Definition at line 304 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 trigger::TriggerEvent * | trigEvt, | ||
const std::string & | hltTag | ||
) |
Definition at line 47 of file EgHLTTrigTools.h.
References reco::deltaR(), alcaDQMUpload::encode(), eta(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), first, egHLT::TrigCodes::getCode(), trigger::TriggerEvent::getObjects(), phi, 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 234 of file EgHLTTrigTools.cc.
References HLTConfigProvider::moduleLabels(), EgammaValidation_cff::pathName, HLTConfigProvider::size(), python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerName().
Referenced by EgHLTOfflineSummaryClient::beginRun(), and egHLT::OffHelper::setupTriggers().