5#ifndef CBM_ALGO_EVBUILD_DIGITRIGGERCONFIG_H
6#define CBM_ALGO_EVBUILD_DIGITRIGGERCONFIG_H 1
12#include <yaml-cpp/yaml.h>
Configuration of the digi trigger class (TimeClusterTrigger)
double Window() const
Trigger window.
size_t Threshold() const
Trigger threshold.
DigiTriggerConfig(ECbmModuleId detector, double window, size_t threshold, double deadTime)
Constructor with parameters.
double fDeadTime
Minimal time between two trigger [ns].
double DeadTime() const
Trigger dead time.
bool fIsSet
Flag config being properly set.
YAML::Node ToYaml() const
Save to YAML.
ECbmModuleId fDetector
Trigger detector.
ECbmModuleId Detector() const
Trigger detector.
bool IsSet() const
Check whether config was set.
size_t fThreshold
Minimum number if digis in trigger window.
double fWindow
Trigger window size [ns].
~DigiTriggerConfig()=default
Destructor.