#include <TriggerNames.h>
Public Types | |
typedef std::map< std::string, unsigned int > | IndexMap |
typedef std::vector< std::string > | Strings |
Public Member Functions | |
ParameterSetID const & | parameterSetID () const |
Strings::size_type | size () const |
unsigned int | triggerIndex (std::string const &name) const |
std::string const & | triggerName (unsigned int index) const |
TriggerNames (edm::ParameterSet const &pset) | |
Strings const & | triggerNames () const |
TriggerNames () | |
Private Attributes | |
IndexMap | indexMap_ |
ParameterSetID | psetID_ |
Strings | triggerNames_ |
Definition at line 55 of file TriggerNames.h.
typedef std::map<std::string, unsigned int> edm::TriggerNames::IndexMap |
Definition at line 60 of file TriggerNames.h.
typedef std::vector<std::string> edm::TriggerNames::Strings |
Definition at line 59 of file TriggerNames.h.
edm::TriggerNames::TriggerNames | ( | ) |
Definition at line 7 of file TriggerNames.cc.
{ }
edm::TriggerNames::TriggerNames | ( | edm::ParameterSet const & | pset | ) |
Definition at line 9 of file TriggerNames.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::id(), getHLTprescales::index, indexMap_, psetID_, and triggerNames_.
{ triggerNames_ = pset.getParameter<Strings>("@trigger_paths"); unsigned int index = 0; for (Strings::const_iterator iName = triggerNames_.begin(), iEnd = triggerNames_.end(); iName != iEnd; ++iName, ++index) { indexMap_[*iName] = index; } psetID_ = pset.id(); }
ParameterSetID const & edm::TriggerNames::parameterSetID | ( | ) | const |
Definition at line 42 of file TriggerNames.cc.
References psetID_.
Referenced by triggerExpression::Data::setEvent(), and edm::TriggerResultsByName::TriggerResultsByName().
{ return psetID_; }
TriggerNames::Strings::size_type edm::TriggerNames::size | ( | void | ) | const |
Definition at line 39 of file TriggerNames.cc.
References triggerNames_.
Referenced by JetMETAnalyzer::analyze(), MuonRecoOneHLT::analyze(), HcalDigiMonitor::analyze(), HLTHiggsSubAnalysis::analyze(), CaloMETAnalyzer::analyze(), PFMETAnalyzer::analyze(), MuCorrMETAnalyzer::analyze(), QcdPhotonsDQM::analyze(), METAnalyzer::analyze(), HeavyFlavorValidation::analyze(), TcMETAnalyzer::analyze(), HLTBitVariable::eval(), FWHLTTriggerTableView::fillAverageAcceptFractions(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), BTagHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMuTrigger(), BTagHLTOfflineSource::fillMEforTriggerNTfired(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), FWHLTValidator::fillOptions(), FWHLTTriggerTableView::fillTable(), SimpleSystematicsAnalyzer::filter(), PdfSystematicsAnalyzer::filter(), FWFileEntry::filterEventsWithCustomParser(), edm::TriggerResultsByName::getAndCheckIndex(), triggerExpression::HLTReader::init(), HLTInclusiveVBFSource::isHLTPathAccepted(), JetMETHLTOfflineSource::isHLTPathAccepted(), BTagHLTOfflineSource::isHLTPathAccepted(), HcalNZSMonitor::processEvent(), HcalRecHitMonitor::processEvent(), HLTEventSelector::select(), DQMAnalyzer::trigger(), GsfElectronDataAnalyzer::trigger(), edm::EventBase::triggerNames_(), and edm::TriggerResultsByName::TriggerResultsByName().
{ return triggerNames_.size(); }
unsigned int edm::TriggerNames::triggerIndex | ( | std::string const & | name | ) | const |
Definition at line 32 of file TriggerNames.cc.
References indexMap_, and pos.
Referenced by JetMETAnalyzer::analyze(), HLTHiggsSubAnalysis::analyze(), CaloMETAnalyzer::analyze(), HLTMonBitSummary::analyze(), PFMETAnalyzer::analyze(), MuCorrMETAnalyzer::analyze(), HTMHTAnalyzer::analyze(), METAnalyzer::analyze(), HeavyFlavorValidation::analyze(), HLTScalers::analyze(), BeamMonitor::analyze(), CaloTowerAnalyzer::analyze(), TcMETAnalyzer::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCHaloAlgo::Calculate(), HLTBitComputer::compute(), HLTBitVariable::eval(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), FourVectorHLTOffline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), BTagHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), BTagHLTOfflineSource::fillMEforEffWrtMuTrigger(), BTagHLTOfflineSource::fillMEforTriggerNTfired(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), ZeeCandidateFilter::filter(), WMuNuSelector::filter(), SimpleSystematicsAnalyzer::filter(), WMuNuValidator::filter(), PdfSystematicsAnalyzer::filter(), FWFileEntry::filterEventsWithCustomParser(), edm::TriggerResultsByName::getAndCheckIndex(), FourVectorHLTOffline::hasHLTPassed(), FourVectorHLTOnline::hasHLTPassed(), FourVectorHLTOffline::hasL1Passed(), FourVectorHLTOnline::hasL1Passed(), triggerExpression::HLTReader::init(), PrescalerFHN::init(), HLTHighLevel::init(), HLTInclusiveVBFSource::isHLTPathAccepted(), JetMETHLTOfflineSource::isHLTPathAccepted(), BTagHLTOfflineSource::isHLTPathAccepted(), CandidateTriggerObjectProducer::produce(), HLTEventSelector::select(), egHLT::OffHelper::setTrigInfo(), DQMAnalyzer::trigger(), GsfElectronDataAnalyzer::trigger(), and edm::TriggerResultsByName::triggerIndex().
std::string const & edm::TriggerNames::triggerName | ( | unsigned int | index | ) | const |
Definition at line 27 of file TriggerNames.cc.
References triggerNames_.
Referenced by JetMETAnalyzer::analyze(), MuonRecoOneHLT::analyze(), HcalDigiMonitor::analyze(), dimuonHLTFilterCheck::analyze(), ErsatzMEt::analyze(), CaloMETAnalyzer::analyze(), TopDiLeptonDQM::analyze(), PFMETAnalyzer::analyze(), EwkMuDQM::analyze(), IsolatedTracksCone::analyze(), QcdPhotonsDQM::analyze(), METAnalyzer::analyze(), HLTInfo::analyze(), EwkElecDQM::analyze(), EwkDQM::analyze(), TopHLTDiMuonDQM::analyze(), AnalysisRootpleProducer::analyze(), BeamMonitor::analyze(), MuTriggerAnalyzer::analyze(), FWHLTTriggerTableView::fillAverageAcceptFractions(), FWHLTValidator::fillOptions(), FWHLTTriggerTableView::fillTable(), HLTJetMETValidation::getHLTResults(), HLTHighLevel::init(), FWPathsPopup::postProcessEvent(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), HcalNZSMonitor::processEvent(), HcalRecHitMonitor::processEvent(), DQMAnalyzer::trigger(), GsfElectronDataAnalyzer::trigger(), and edm::TriggerResultsByName::triggerName().
{ return triggerNames_.at(index); }
TriggerNames::Strings const & edm::TriggerNames::triggerNames | ( | ) | const |
Definition at line 24 of file TriggerNames.cc.
References triggerNames_.
Referenced by accept(), TriggerValidator::analyze(), dimuonHLTFilterCheck::analyze(), HaloTrigger::analyze(), HLTScalers::analyze(), HLTInspect::analyze(), CSCEfficiency::applyTrigger(), FWHLTValidator::fillOptions(), FWHLTTriggerTableView::fillTable(), CSCEfficiency::filter(), PhysDecl::filter(), triggerExpression::HLTReader::init(), HLTHighLevel::init(), HltComparator::initialise(), FWPathsPopup::postProcessEvent(), HLTEventSelector::select(), triggerExpression::Data::setEvent(), and edm::TriggerResultsByName::triggerNames().
{ return triggerNames_; }
IndexMap edm::TriggerNames::indexMap_ [private] |
Definition at line 89 of file TriggerNames.h.
Referenced by triggerIndex(), and TriggerNames().
ParameterSetID edm::TriggerNames::psetID_ [private] |
Definition at line 86 of file TriggerNames.h.
Referenced by parameterSetID(), and TriggerNames().
Strings edm::TriggerNames::triggerNames_ [private] |
Definition at line 88 of file TriggerNames.h.
Referenced by size(), triggerName(), triggerNames(), and TriggerNames().