DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerHorizontalMuonAlgorithm.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 > &) |
Private Member Functions | |
TriggerActivity | construct_ta () const |
uint16_t | check_adjacency () const |
int | check_sot () const |
void | add_window_to_record (TPWindow window) |
void | dump_window_record () |
void | dump_tp (TriggerPrimitive const &input_tp) |
Private Attributes | |
TPWindow | m_current_window |
bool | m_trigger_on_adc = false |
bool | m_trigger_on_n_channels = false |
bool | m_trigger_on_adjacency = true |
bool | m_trigger_on_sot = false |
uint16_t | m_sot_threshold = 5000 |
bool | m_print_tp_info = false |
uint16_t | m_adjacency_threshold = 15 |
int | m_max_adjacency = 0 |
uint32_t | m_adc_threshold = 3000000 |
uint16_t | m_n_channels_threshold = 400 |
uint16_t | m_adj_tolerance = 3 |
int | index = 0 |
uint16_t | ta_adc = 0 |
uint16_t | ta_channels = 0 |
timestamp_t | m_window_length = 8000 |
std::vector< TPWindow > | m_window_record |
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 18 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 272 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 194 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 325 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 125 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 157 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 306 of file TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 280 of file TAMakerHorizontalMuonAlgorithm.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 TAMakerHorizontalMuonAlgorithm.cpp.
|
private |
Definition at line 43 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 40 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 42 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 38 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 28 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 39 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 41 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 37 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 36 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 32 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 34 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 33 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 35 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 46 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 52 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 44 of file TAMakerHorizontalMuonAlgorithm.hpp.
|
private |
Definition at line 45 of file TAMakerHorizontalMuonAlgorithm.hpp.