2 #include "fhiclcpp/ParameterSet.h"
10 : fConfigName{
"G4RefTime",
19 , fConfigValue{pset.get<
double>(fConfigName[
kG4RefTime]),
28 , fTrigModuleName{pset.get<std::string>(
"TrigModuleName")}
29 , fG4RefCorrTrigModuleName{pset.get<std::string>(
"G4RefCorrTrigModuleName",
"baddefault")}
34 , fTPCClock{fTriggerTime, fFramePeriod, fConfigValue[
kClockSpeedTPC]}
50 if (ps.has_key(
"module_label")) {
return false; }
51 return std::all_of(fConfigName.cbegin(), fConfigName.cend(), [&ps](
auto const& config_name) {
52 return ps.has_key(config_name);
60 std::cout <<
"fConfigValues contents: " << std::endl;
Definition of util::zip().
bool IsRightConfig(const fhicl::ParameterSet &ps) const
void debugReport() const
Dumps the current configuration to screen.
void ApplyParams()
Internal function to apply loaded parameters to member attributes.
DetectorClocksStandard(fhicl::ParameterSet const &pset)
auto zip(Iterables &&...iterables)
Range-for loop helper iterating across many collections at the same time.
BEGIN_PROLOG could also be cout