DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TCMakerADCSimpleWindowAlgorithm.hpp>
Public Member Functions | |
void | process (const TriggerActivity &, std::vector< TriggerCandidate > &) |
The function that gets call when there is a new activity. | |
void | configure (const nlohmann::json &config) |
![]() | |
virtual | ~TriggerCandidateMaker ()=default |
void | operator() (const TriggerActivity &input_ta, std::vector< TriggerCandidate > &output_tc) |
virtual bool | preprocess (const TriggerActivity &) |
TA pre-processing/filtering. | |
virtual void | postprocess (std::vector< TriggerCandidate > &output_tc) |
Post-processing/filtering of the TCs, e.g. prescale. | |
virtual void | flush (timestamp_t, std::vector< TriggerCandidate > &) |
Private Attributes | |
uint64_t | m_activity_count = 0 |
Additional Inherited Members | |
![]() | |
std::atomic< uint64_t > | m_data_vs_system_time = 0 |
std::atomic< uint64_t > | m_initial_offset = 0 |
uint64_t | m_prescale = 1 |
Configurable prescale factor. | |
uint64_t | m_tc_count = 0 |
TC made count for prescaling. | |
TriggerCandidate::Type | m_tc_type_out = TriggerCandidate::Type::kUnknown |
Configurable TC type output. | |
Definition at line 17 of file TCMakerADCSimpleWindowAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerCandidateMaker.
Definition at line 40 of file TCMakerADCSimpleWindowAlgorithm.cpp.
|
virtual |
The function that gets call when there is a new activity.
Implements triggeralgs::TriggerCandidateMaker.
Definition at line 19 of file TCMakerADCSimpleWindowAlgorithm.cpp.
|
private |
Definition at line 28 of file TCMakerADCSimpleWindowAlgorithm.hpp.