1 #ifndef ARTDAQ_MAKE_PARAMETER_SET_HH
2 #define ARTDAQ_MAKE_PARAMETER_SET_HH
4 #include "fhiclcpp/ParameterSet.h"
5 #ifndef SIMPLER_PSET_MAKE
6 #include "fhiclcpp/make_ParameterSet.h"
10 inline fhicl::ParameterSet make_pset(std::string
const& config_str)
12 #ifdef SIMPLER_PSET_MAKE
13 return fhicl::ParameterSet::make(config_str);
15 fhicl::ParameterSet tmp_pset;
16 fhicl::make_ParameterSet(config_str, tmp_pset);
21 inline fhicl::ParameterSet make_pset(std::string
const& config_file, cet::filepath_maker& maker)
23 #ifdef SIMPLER_PSET_MAKE
24 return fhicl::ParameterSet::make(config_file, maker);
26 fhicl::ParameterSet tmp_pset;
27 fhicl::make_ParameterSet(config_file, maker, tmp_pset);
33 #endif // ARTDAQ_MAKE_PARAMETER_SET_HH