LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
RunSettingsBase.hh
Go to the documentation of this file.
1 #ifndef artg4tk_Core_RunSettingsBase_hh
2 #define artg4tk_Core_RunSettingsBase_hh
3 
6 
8 
9 #include <string>
10 namespace artg4tk {
11 
12  struct RunSettingsBase {
13 
14  RunSettingsBase(std::string const& listName) : name(listName), p()
15  {
17  p = s->getSettings(listName);
18  }
19 
20  virtual ~RunSettingsBase() {}
21 
22  virtual bool contains(std::string) { return false; }
23 
24  std::string name;
26  };
27 }
28 
29 #endif /* artg4tk_Core_RunSettingsBase_hh */
virtual bool contains(std::string)
fhicl::ParameterSet getSettings(std::string const &)
Definition: RunSettings.cc:15
RunSettingsBase(std::string const &listName)
fhicl::ParameterSet p