Actions.h
Go to the documentation of this file.
1 #ifndef art_Framework_Principal_Actions_h
2 #define art_Framework_Principal_Actions_h
3 
5 
6 #include <map>
7 #include <string>
8 
9 namespace fhicl {
10  class ParameterSet;
11 }
12 
13 namespace art {
14  namespace actions {
15  char const* actionName(ActionCodes code);
16  } // actions
17 }
18 
20 public:
21  ActionTable();
22  explicit ActionTable(fhicl::ParameterSet const&);
23 
25  actions::ActionCodes find(std::string const& category) const;
26 
27 private:
28  using ActionMap = std::map<std::string, actions::ActionCodes>;
29 
30  void addDefaults_();
31  void install_(actions::ActionCodes code,
32  fhicl::ParameterSet const& scheduler);
33 
35 };
36 
37 #endif /* art_Framework_Principal_Actions_h */
38 
39 // Local Variables:
40 // mode: c++
41 // End:
std::map< std::string, actions::ActionCodes > ActionMap
Definition: Actions.h:28
char const * actionName(ActionCodes code)
Definition: inftrees.h:24
ActionMap map_
Definition: Actions.h:34
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8
add("abs", expr_type(int_type()), expr_type(int_type()))
enum BeamMode string