|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerSupernovaAlgorithm.hpp>
Public Member Functions | |
| void | process (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) override |
| TP processing function that creates & fills TAs. | |
| void | flush (timestamp_t, std::vector< TriggerActivity > &tas) override |
| 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 | configure (const nlohmann::json &config) |
Protected Attributes | |
| timestamp_diff_t | m_time_tolerance |
| channel_t | m_channel_tolerance |
| Maximum tolerated time difference between two primitives to form an activity (in 50 MHz clock ticks). | |
Private Member Functions | |
| bool | is_time_consistent (const TriggerPrimitive &input_tp) const |
| This activity maker makes an activity with all the trigger primitives. | |
| bool | is_channel_consistent (const TriggerPrimitive &input_tp) const |
| TriggerActivity | MakeTriggerActivity () const |
| Maximum tolerated channel number difference between two primitives to form an activity. | |
Private Attributes | |
| timestamp_t | m_time_start = 0 |
| timestamp_t | m_time_end = 0 |
| timestamp_t | m_time_peak = 0 |
| timestamp_t | m_time_activity = 0 |
| channel_diff_t | m_channel_start = 0 |
| channel_diff_t | m_channel_end = 0 |
| channel_diff_t | m_channel_peak = 0 |
| uint64_t | m_adc_integral = 0 |
| uint16_t | m_adc_peak = 0 |
| detid_t | m_detid = 0 |
| TriggerActivity::Type | m_type = TriggerActivity::Type::kTPC |
| TriggerActivity::Algorithm | m_algorithm = TriggerActivity::Algorithm::kSupernova |
| std::vector< TriggerPrimitive > | m_tp_list |
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 19 of file TAMakerSupernovaAlgorithm.hpp.
|
inlineoverridevirtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 52 of file TAMakerSupernovaAlgorithm.hpp.
|
inlineprivate |
Definition at line 38 of file TAMakerSupernovaAlgorithm.hpp.
|
inlineprivate |
This activity maker makes an activity with all the trigger primitives.
Definition at line 23 of file TAMakerSupernovaAlgorithm.hpp.
|
inlineprivate |
Maximum tolerated channel number difference between two primitives to form an activity.
Definition at line 61 of file TAMakerSupernovaAlgorithm.hpp.
|
overridevirtual |
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 21 of file TAMakerSupernovaAlgorithm.cpp.
|
private |
Definition at line 89 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 90 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 93 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 87 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 88 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 86 of file TAMakerSupernovaAlgorithm.hpp.
|
protected |
Maximum tolerated time difference between two primitives to form an activity (in 50 MHz clock ticks).
Definition at line 57 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 91 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 85 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 83 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 84 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 82 of file TAMakerSupernovaAlgorithm.hpp.
|
protected |
Definition at line 55 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 95 of file TAMakerSupernovaAlgorithm.hpp.
|
private |
Definition at line 92 of file TAMakerSupernovaAlgorithm.hpp.