|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerChannelDistanceAlgorithm.hpp>
Public Member Functions | |
| void | process (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_tas) |
| TP processing function that creates & fills TAs. | |
| void | configure (const nlohmann::json &config) |
| void | set_ta_attributes () |
| Public Member Functions inherited from triggeralgs::TriggerActivityMaker | |
| 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 > &) |
Private Member Functions | |
| void | set_new_ta (const TriggerPrimitive &input_tp) |
Private Attributes | |
| TriggerActivity | m_current_ta |
| uint32_t | m_max_channel_distance = 50 |
| uint64_t | m_window_length = 8000 |
| uint16_t | m_min_tps = 20 |
| uint32_t | m_current_lower_bound |
| uint32_t | m_current_upper_bound |
Additional Inherited Members | |
| Public Attributes inherited from triggeralgs::TriggerActivityMaker | |
| 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 TAMakerChannelDistanceAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 58 of file TAMakerChannelDistanceAlgorithm.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 27 of file TAMakerChannelDistanceAlgorithm.cpp.
|
private |
Definition at line 17 of file TAMakerChannelDistanceAlgorithm.cpp.
| void triggeralgs::TAMakerChannelDistanceAlgorithm::set_ta_attributes | ( | ) |
Definition at line 73 of file TAMakerChannelDistanceAlgorithm.cpp.
|
private |
Definition at line 29 of file TAMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 25 of file TAMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 30 of file TAMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 26 of file TAMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 28 of file TAMakerChannelDistanceAlgorithm.hpp.
|
private |
Definition at line 27 of file TAMakerChannelDistanceAlgorithm.hpp.