DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerPrescaleAlgorithm.hpp>
Public Member Functions | |
void | process (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) |
TP processing function that creates & fills TAs. | |
void | configure (const nlohmann::json &config) |
![]() | |
virtual | ~TriggerActivityMaker ()=default |
void | operator() (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) |
virtual bool | preprocess (const TriggerPrimitive &input_tp) |
TP pre-processing/filtering. | |
virtual void | postprocess (std::vector< TriggerActivity > &output_ta) |
Post-processing/filtering of the TAs, e.g. prescale. | |
virtual void | flush (timestamp_t, std::vector< TriggerActivity > &) |
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_ta_count = 0 |
TA made count for prescaling. | |
uint32_t | m_max_samples_over_threshold = std::numeric_limits<uint32_t>::max() |
Time-over-threshold TP filtering. | |
Definition at line 17 of file TAMakerPrescaleAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 47 of file TAMakerPrescaleAlgorithm.cpp.
|
virtual |
TP processing function that creates & fills TAs.
input_tp[in] | Input TP for the triggering algorithm |
output_ta[out] | Output vector of TAs to fill by the algorithm |
Implements triggeralgs::TriggerActivityMaker.
Definition at line 22 of file TAMakerPrescaleAlgorithm.cpp.