#include <TriggerNames.h>
Public Types | |
using | IndexMap = std::vector< std::pair< std::string_view, unsigned int > > |
using | Strings = std::vector< std::string > |
Public Member Functions | |
void | initializeTriggerIndex () |
TriggerNames & | operator= (TriggerNames const &) |
TriggerNames & | operator= (TriggerNames &&)=default |
ParameterSetID const & | parameterSetID () const |
std::size_t | size () const |
unsigned int | triggerIndex (std::string_view name) const |
std::string const & | triggerName (unsigned int index) const |
TriggerNames ()=default | |
TriggerNames (edm::ParameterSet const &pset) | |
TriggerNames (TriggerNames const &) | |
TriggerNames (TriggerNames &&)=default | |
Strings const & | triggerNames () const |
Private Attributes | |
IndexMap | indexMap_ |
ParameterSetID | psetID_ |
Strings | triggerNames_ |
Definition at line 55 of file TriggerNames.h.
using edm::TriggerNames::IndexMap = std::vector<std::pair<std::string_view, unsigned int> > |
Definition at line 57 of file TriggerNames.h.
using edm::TriggerNames::Strings = std::vector<std::string> |
Definition at line 58 of file TriggerNames.h.
|
default |
|
explicit |
Definition at line 22 of file TriggerNames.cc.
References muonDTDigis_cfi::pset.
edm::TriggerNames::TriggerNames | ( | TriggerNames const & | iOther | ) |
Definition at line 27 of file TriggerNames.cc.
References psetID_.
|
default |
void edm::TriggerNames::initializeTriggerIndex | ( | ) |
Definition at line 38 of file TriggerNames.cc.
References indexMap_, Skims_PA_cff::name, jetUpdater_cfi::sort, and triggerNames_.
TriggerNames & edm::TriggerNames::operator= | ( | TriggerNames const & | iOther | ) |
Definition at line 32 of file TriggerNames.cc.
References eostools::move(), and groupFilesInBlocks::temp.
|
default |
ParameterSetID const & edm::TriggerNames::parameterSetID | ( | ) | const |
Definition at line 61 of file TriggerNames.cc.
References psetID_.
Referenced by triggerExpression::Data::setEvent(), and edm::TriggerResultsByName::TriggerResultsByName().
std::size_t edm::TriggerNames::size | ( | void | ) | const |
Definition at line 59 of file TriggerNames.cc.
References triggerNames_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), ZGammaplusJetsMonitor::analyze(), HLTBitVariable::eval(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), edm::TriggerResultsByName::getAndCheckIndex(), JetMETHLTOfflineSource::isHLTPathAccepted(), HLTEventSelector::select(), TriggerOutputBranches::triggerNames(), edm::EventBase::triggerNames_(), and edm::TriggerResultsByName::TriggerResultsByName().
unsigned int edm::TriggerNames::triggerIndex | ( | std::string_view | name | ) | const |
Definition at line 52 of file TriggerNames.cc.
References newFWLiteAna::found, indexMap_, and Skims_PA_cff::name.
Referenced by CaloTowerAnalyzer::analyze(), ZGammaplusJetsMonitor::analyze(), HcalRaddamMuon::analyze(), HcalHBHEMuonAnalyzer::analyze(), HLTBitVariable::eval(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), edm::TriggerResultsByName::getAndCheckIndex(), pat::PackedTriggerPrescales::getPrescaleForName(), JetMETHLTOfflineSource::isHLTPathAccepted(), HLTEventSelector::select(), edm::TriggerResultsByName::triggerIndex(), and triggerExpression::Data::triggerIndex().
std::string const & edm::TriggerNames::triggerName | ( | unsigned int | index | ) | const |
Definition at line 50 of file TriggerNames.cc.
References triggerNames_.
Referenced by SplitVertexResolution::analyze(), GeneralPurposeTrackAnalyzer::analyze(), DMRChecker::analyze(), L1Analysis::L1AnalysisEvent::Set(), and edm::TriggerResultsByName::triggerName().
TriggerNames::Strings const & edm::TriggerNames::triggerNames | ( | ) | const |
Definition at line 48 of file TriggerNames.cc.
References triggerNames_.
Referenced by GeneralPurposeTrackAnalyzer::analyze(), DMRChecker::analyze(), pat::PackedTriggerPrescales::getPrescaleForName(), HltComparator::initialise(), HLTEventSelector::select(), triggerExpression::Data::setEvent(), edm::TriggerResultsByName::triggerNames(), and triggerExpression::Data::triggerNames().
|
private |
Definition at line 94 of file TriggerNames.h.
Referenced by initializeTriggerIndex(), and triggerIndex().
|
private |
Definition at line 91 of file TriggerNames.h.
Referenced by parameterSetID(), and TriggerNames().
|
private |
Definition at line 93 of file TriggerNames.h.
Referenced by initializeTriggerIndex(), size(), triggerName(), and triggerNames().