37 auto value = config[key];
38 if (!value)
throw std::runtime_error(key + std::string(
" required but not defined"));
39 return value.as<
double>();
double fPairZ_min
Maximum distance at closest approach.
double fTrackStartZ_max
Minimum z at first track measurement.
double fPairDeltaT_max
Maximum y of excluded track impact in target plane.
double fTrackImpactX_max
Minimum x of excluded track impact in target plane.
double fTrackImpactX_min
Minimum z at last track measurement.
double fPairZ_max
Minimum z of PCA.
double fTrackEndZ_min
Maximum z at first track measurement.
double GetDoubleRequired(const YAML::Node &config, const char *key)
Flag whether a configuration was set.
YAML::Node ToYaml() const
Save to YAML.
double fPairDist_max
Maximum time difference of tracks.
double fTrackImpactY_max
Minimum y of excluded track impact in target plane.
V0TriggerConfig()
Default constructor.
bool fIsSet
Maximum z of PCA.
double fTrackImpactY_min
Maximum x of excluded track impact in target plane.