36 ,
fAlgo(config.Window(), config.Threshold(), config.DeadTime()){};
64 std::vector<double> result;
65 result.resize(data.size());
66 std::transform(data.begin(), data.end(), result.begin(), [](
const T& obj) { return obj.Time(); });
67 std::sort(result.begin(), result.end());
A structure for reconstructed results: digi-events, hits and tracks.
Configuration of the digi trigger class (TimeClusterTrigger)
Trigger class for finding time clusters of hit data.
std::string ToString() const
Info to string.
std::pair< std::vector< double >, TimeClusterTriggerMonitorData > Result
std::vector< double > GetTimeStamps(const gsl::span< const T > data) const
Get vector of time stamps from a data container [template].
DigiTriggerConfig fConfig
Configuration.
TimeClusterTrigger fAlgo
Algorithm.
std::vector< double > GetHitTimes(const RecoResults &recoData, ECbmModuleId system) const
Extract the hit time stamps for the selected trigger detector.
Result operator()(const RecoResults &recoData) const
Execution.
HitMultTrigger(const DigiTriggerConfig &config)
Constructor.
Finds clusters in time-series data.
Monitoring data for time cluster trigger algorithm.