|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerADCSimpleWindowAlgorithm.hpp>
Classes | |
| class | Window |
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) |
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 | |
| TriggerActivity | construct_ta () const |
Private Attributes | |
| Window | m_current_window |
| uint64_t | m_primitive_count = 0 |
| uint32_t | m_adc_threshold = 1200000 |
| timestamp_t | m_window_length = 100000 |
| const uint16_t | k_sample_to_dts_ticks = 32 |
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 18 of file TAMakerADCSimpleWindowAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 136 of file TAMakerADCSimpleWindowAlgorithm.cpp.
|
private |
Definition at line 153 of file TAMakerADCSimpleWindowAlgorithm.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 95 of file TAMakerADCSimpleWindowAlgorithm.cpp.
|
private |
Definition at line 62 of file TAMakerADCSimpleWindowAlgorithm.hpp.
|
private |
Definition at line 57 of file TAMakerADCSimpleWindowAlgorithm.hpp.
|
private |
Definition at line 53 of file TAMakerADCSimpleWindowAlgorithm.hpp.
|
private |
Definition at line 54 of file TAMakerADCSimpleWindowAlgorithm.hpp.
|
private |
Definition at line 58 of file TAMakerADCSimpleWindowAlgorithm.hpp.