11#include "TRACE/trace.h"
12#define TRACE_NAME "TCMakerProtoDUNEBSMWindowAlgorithm"
18using Logging::TLVL_DEBUG_LOW;
27 std::vector<TriggerActivity::TriggerActivityData> ta_list = {
static_cast<TriggerActivity::TriggerActivityData
>(activity)};
29 TLOG_DEBUG(TLVL_DEBUG_LOW) <<
"[TCM:ADCSW] Emitting an "
31 <<
" TriggerCandidate with AEAnomalyWindow algorithm" << (
m_activity_count-1);
#define REGISTER_TRIGGER_CANDIDATE_MAKER(tcm_name, tcm_class)
void configure(const nlohmann::json &config)
TriggerCandidate::Type m_tc_type
Configurable TC type to produce by this TC algorithm.
void process(const TriggerActivity &, std::vector< TriggerCandidate > &)
The function that gets call when there is a new activity.
uint64_t m_activity_count
virtual void configure(const nlohmann::json &config)
#define TLOG_DEBUG(lvl,...)
std::vector< dunedaq::trgdataformats::TriggerActivityData > inputs