5 #include "cetlib/container_algorithms.h" 27 using Table = vector<char const*>;
35 static ActionNames tab;
36 return static_cast<unsigned int>(code) < tab.table_.size() ?
46 if (scheduleOpts.
get<
bool>(
"defaultExceptions",
true)) {
63 for (
auto const& pr :
map_) {
64 cerr << pr.first <<
',' << pr.second <<
'\n';
73 auto const& action_names =
75 for_all(action_names, [
this, code](
auto const& action_name) {
76 this->
add(action_name, code);
83 map_[category] = code;
89 auto it =
map_.find(category);
actions::ActionCodes find(std::string const &category) const
void add(std::string const &category, actions::ActionCodes code)
T get(std::string const &key) const
void install_(actions::ActionCodes code, fhicl::ParameterSet const &scheduler)
char const * actionName(ActionCodes const code)
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)