#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 &&)=default |
TriggerNames & | operator= (TriggerNames const &) |
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 |
Strings const & | triggerNames () const |
TriggerNames ()=default | |
TriggerNames (edm::ParameterSet const &pset) | |
TriggerNames (TriggerNames &&)=default | |
TriggerNames (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 |
edm::TriggerNames::TriggerNames | ( | TriggerNames const & | iOther | ) |
|
default |
void edm::TriggerNames::initializeTriggerIndex | ( | ) |
Definition at line 38 of file TriggerNames.cc.
References indexMap_, Skims_PA_cff::name, jetUpdater_cfi::sort, and triggerNames_.
|
default |
TriggerNames & edm::TriggerNames::operator= | ( | TriggerNames const & | iOther | ) |
Definition at line 32 of file TriggerNames.cc.
References eostools::move(), and groupFilesInBlocks::temp.
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__(), HLTBitVariable::eval(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), edm::TriggerResultsByName::getAndCheckIndex(), triggerExpression::PathReader::init(), 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(), HcalRaddamMuon::analyze(), HcalHBHEMuonAnalyzer::analyze(), HLTBitVariable::eval(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), edm::TriggerResultsByName::getAndCheckIndex(), triggerExpression::PathReader::init(), JetMETHLTOfflineSource::isHLTPathAccepted(), HLTEventSelector::select(), and edm::TriggerResultsByName::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(), triggerExpression::PathReader::init(), HltComparator::initialise(), HLTEventSelector::select(), triggerExpression::Data::setEvent(), and edm::TriggerResultsByName::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().