|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TCMakerChannelDistanceAlgorithm.hpp>
Public Member Functions | |
| void | process (const TriggerActivity &input_ta, std::vector< TriggerCandidate > &output_tcs) |
| TA processing function that creates & fills TCs. | |
| void | configure (const nlohmann::json &config) |
| void | set_tc_attributes () |
| Public Member Functions inherited from triggeralgs::TriggerCandidateMaker | |
| 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 Member Functions | |
| void | set_new_tc (const TriggerActivity &input_ta) |
Private Attributes | |
| TriggerCandidate | m_current_tc |
| uint16_t | m_current_tp_count |
| uint16_t | m_max_tp_count = 1000 |
Additional Inherited Members | |
| Public Attributes inherited from triggeralgs::TriggerCandidateMaker | |
| 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 TCMakerChannelDistanceAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerCandidateMaker.
Definition at line 26 of file TCMakerChannelDistanceAlgorithm.cpp.
|
virtual |
TA processing function that creates & fills TCs.
| input_ta[in] | Input TA for the triggering algorithm |
| output_tc[out] | Output vector of TCs to fill by the algorithm |
Implements triggeralgs::TriggerCandidateMaker.
Definition at line 52 of file TCMakerChannelDistanceAlgorithm.cpp.
|
private |
Definition at line 17 of file TCMakerChannelDistanceAlgorithm.cpp.
| void triggeralgs::TCMakerChannelDistanceAlgorithm::set_tc_attributes | ( | ) |
Definition at line 36 of file TCMakerChannelDistanceAlgorithm.cpp.
|
private |
Definition at line 25 of file TCMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 26 of file TCMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 27 of file TCMakerChannelDistanceAlgorithm.hpp.