1 #ifndef FWCore_Framework_TriggerNamesService_h 2 #define FWCore_Framework_TriggerNamesService_h 45 typedef std::map<std::string, unsigned int>
PosMap;
99 PosMap::const_iterator
const pos(posmap.find(name));
100 if (
pos == posmap.end()) {
101 return posmap.size();
115 size_type
const n(names.size());
116 for (size_type
i = 0;
i !=
n; ++
i) {
117 posmap[names[
i]] =
i;
std::string process_name_
Strings const & getTrigPathModules(std::string const &name) const
std::string const & getProcessName() const
std::string const & getTrigPath(size_type const i) const
Strings const & getEndPaths() const
std::string const & getEndPathModule(size_type const i, size_type const j) const
std::vector< std::string > Strings
Strings const & getEndPathModules(size_type const i) const
std::vector< Strings > modulenames_
void loadPosMap(PosMap &posmap, Strings const &names)
const std::string names[nVars_]
Strings const & getEndPathModules(std::string const &name) const
size_type findTrigPath(std::string const &name) const
std::string const & getEndPathModule(std::string const &name, size_type const j) const
PosMap::size_type size_type
Strings const & getTrigPathModules(size_type const i) const
edm::ParameterSet trigger_pset_
size_type findEndPath(std::string const &name) const
std::map< std::string, unsigned int > PosMap
static std::string const triggerResults("TriggerResults")
size_type find(PosMap const &posmap, std::string const &name) const
std::vector< Strings > end_modulenames_
std::string const & getEndPath(size_type const i) const
Strings const & getTrigPaths() const
TriggerNamesService(ParameterSet const &proc_pset)
edm::ParameterSet const & getTriggerPSet() const
std::string const & getTrigPathModule(std::string const &name, size_type const j) const
std::string const & getTrigPathModule(size_type const i, size_type const j) const