1 #ifndef art_Framework_Services_System_TriggerNamesService_h 2 #define art_Framework_Services_System_TriggerNamesService_h 28 #include "cetlib/container_algorithms.h" 36 class TriggerNamesService;
44 using PosMap = std::map<std::string, unsigned int>;
48 std::vector<std::string>
const& triggerPathNames);
91 find(
PosMap const& posmap, std::string
const& name)
const 93 auto const pos = posmap.find(name);
94 if (pos == posmap.cend()) {
150 inline std::string
const&
157 inline std::string
const&
size_type find(PosMap const &posmap, std::string const &name) const
#define DECLARE_ART_SYSTEM_SERVICE(svc, scope)
fhicl::ParameterSet trigger_pset_
std::string process_name_
Strings const & getTrigPaths() const
size_type findTrigPath(std::string const &name) const
std::vector< Strings > modulenames_
std::vector< std::string > Strings
std::string const & getTrigPath(size_type const i) const
std::string const & getTrigPathModule(std::string const &name, size_type const j) const
PosMap::size_type size_type
auto getTrigPathModules(std::string const &name) const -> Strings const &
TriggerNamesService(fhicl::ParameterSet const &procPS, std::vector< std::string > const &triggerPathNames)
std::string const & getProcessName() const
std::map< std::string, unsigned int > PosMap
fhicl::ParameterSet const & getTriggerPSet() const