|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TCMakerPlaneCoincidenceAlgorithm.hpp>
Public Member Functions | |
| void | process (const TriggerActivity &, std::vector< TriggerCandidate > &) |
| TA processing function that creates & fills TCs. | |
| void | configure (const nlohmann::json &config) |
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 | |
| TriggerCandidate | construct_tc () const |
| bool | check_adjacency () const |
| void | add_window_to_record (TAWindow window) |
| void | dump_window_record () |
Private Attributes | |
| TAWindow | m_current_window |
| uint64_t | m_activity_count = 0 |
| bool | m_trigger_on_adc = false |
| bool | m_trigger_on_n_channels = false |
| uint32_t | m_adc_threshold = 1200000 |
| uint16_t | m_n_channels_threshold = 600 |
| timestamp_t | m_window_length = 80000 |
| int | tc_number = 0 |
| std::vector< TAWindow > | m_window_record |
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 18 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 155 of file TCMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 147 of file TCMakerPlaneCoincidenceAlgorithm.cpp.
|
virtual |
Reimplemented from triggeralgs::TriggerCandidateMaker.
Definition at line 97 of file TCMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 124 of file TCMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 162 of file TCMakerPlaneCoincidenceAlgorithm.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 25 of file TCMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 32 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 37 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 31 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 38 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 35 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 36 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 39 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 45 of file TCMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 40 of file TCMakerPlaneCoincidenceAlgorithm.hpp.