#include <TAMakerChannelDistanceAlgorithm.hpp>
◆ configure()
void triggeralgs::TAMakerChannelDistanceAlgorithm::configure |
( |
const nlohmann::json & | config | ) |
|
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 58 of file TAMakerChannelDistanceAlgorithm.cpp.
59{
61
62 if (config.contains("min_tps"))
64 if (config.contains("window_length"))
66 if (config.contains("max_channel_distance"))
68
69 return;
70}
uint32_t m_max_channel_distance
virtual void configure(const nlohmann::json &config)
◆ process()
TP processing function that creates & fills TAs.
- Parameters
-
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 27 of file TAMakerChannelDistanceAlgorithm.cpp.
29{
30
31
34 return;
35 }
36
37
39
43 }
45 return;
46 }
47
48
50 return;
51
55}
uint32_t m_current_upper_bound
TriggerActivity m_current_ta
uint32_t m_current_lower_bound
void set_new_ta(const TriggerPrimitive &input_tp)
dunedaq::trgdataformats::channel_diff_t channel_diff_t
std::vector< TriggerPrimitive > inputs
◆ set_new_ta()
void triggeralgs::TAMakerChannelDistanceAlgorithm::set_new_ta |
( |
const TriggerPrimitive & | input_tp | ) |
|
|
private |
◆ set_ta_attributes()
void triggeralgs::TAMakerChannelDistanceAlgorithm::set_ta_attributes |
( |
| ) |
|
◆ m_current_lower_bound
uint32_t triggeralgs::TAMakerChannelDistanceAlgorithm::m_current_lower_bound |
|
private |
◆ m_current_ta
◆ m_current_upper_bound
uint32_t triggeralgs::TAMakerChannelDistanceAlgorithm::m_current_upper_bound |
|
private |
◆ m_max_channel_distance
uint32_t triggeralgs::TAMakerChannelDistanceAlgorithm::m_max_channel_distance = 50 |
|
private |
◆ m_min_tps
uint16_t triggeralgs::TAMakerChannelDistanceAlgorithm::m_min_tps = 20 |
|
private |
◆ m_window_length
uint64_t triggeralgs::TAMakerChannelDistanceAlgorithm::m_window_length = 8000 |
|
private |
The documentation for this class was generated from the following files: