|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerMichelElectronAlgorithm.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 |
| std::vector< TriggerPrimitive > | longest_activity () const |
| bool | check_bragg_peak (std::vector< TriggerPrimitive > trackHits) |
| bool | check_kinks (std::vector< TriggerPrimitive > trackHits) |
| void | add_window_to_record (Window window) |
| void | dump_window_record () |
| void | dump_tp (TriggerPrimitive const &input_tp) |
Private Attributes | |
| Window | m_current_window |
| uint64_t | m_primitive_count = 0 |
| bool | debug = false |
| uint16_t | m_adjacency_threshold = 15 |
| int | m_max_adjacency = 0 |
| uint16_t | m_adj_tolerance = 3 |
| int | index = 0 |
| uint16_t | ta_adc = 0 |
| uint16_t | ta_channels = 0 |
| timestamp_t | m_window_length = 50000 |
| std::vector< Window > | m_window_record |
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 TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 304 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 193 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 239 of file TAMakerMichelElectronAlgorithm.cpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 66 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 83 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 340 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 313 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 107 of file TAMakerMichelElectronAlgorithm.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 20 of file TAMakerMichelElectronAlgorithm.cpp.
|
private |
Definition at line 116 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 120 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 119 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 117 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 111 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 118 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 112 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 123 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 129 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 121 of file TAMakerMichelElectronAlgorithm.hpp.
|
private |
Definition at line 122 of file TAMakerMichelElectronAlgorithm.hpp.