11#include "TRACE/trace.h"
12#define TRACE_NAME "TAMakerSupernovaAlgorithm"
17using pd_clock = std::chrono::duration<double, std::ratio<1, 62500000>>;
47 if (!time_ok && !channel_ok) {
std::chrono::duration< double, std::ratio< 1, 62500000 > > pd_clock
#define REGISTER_TRIGGER_ACTIVITY_MAKER(tam_name, tam_class)
std::vector< TriggerPrimitive > m_tp_list
channel_diff_t m_channel_end
channel_diff_t m_channel_start
bool is_channel_consistent(const TriggerPrimitive &input_tp) const
void process(const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) override
TP processing function that creates & fills TAs.
bool is_time_consistent(const TriggerPrimitive &input_tp) const
This activity maker makes an activity with all the trigger primitives.
TriggerActivity MakeTriggerActivity() const
Maximum tolerated channel number difference between two primitives to form an activity.
channel_diff_t m_channel_peak
dunedaq::trgdataformats::timestamp_t timestamp_t