◆ add()
void triggeralgs::TCMakerMichelElectronAlgorithm::Window::add |
( |
const TriggerActivity & | input_ta | ) |
|
|
inline |
Definition at line 36 of file TCMakerMichelElectronAlgorithm.hpp.
37 {
38
39
40
44 }
45
46 uint16_t insert_at = 0;
48 if (input_ta.time_start < ta.time_start)
49 break;
50 insert_at++;
51 }
53 };
std::vector< TriggerActivity > inputs
std::unordered_map< channel_t, uint16_t > channel_states
dunedaq::trgdataformats::TriggerPrimitive TriggerPrimitive
◆ clear()
void triggeralgs::TCMakerMichelElectronAlgorithm::Window::clear |
( |
| ) |
|
|
inline |
◆ is_empty()
bool triggeralgs::TCMakerMichelElectronAlgorithm::Window::is_empty |
( |
| ) |
const |
|
inline |
◆ move()
void triggeralgs::TCMakerMichelElectronAlgorithm::Window::move |
( |
TriggerActivity const & | input_ta, |
|
|
timestamp_t const & | window_length ) |
|
inline |
Definition at line 56 of file TCMakerMichelElectronAlgorithm.hpp.
57 {
58
59
60
61
62
63 uint32_t n_tas_to_erase = 0;
65 if (!(input_ta.time_start - ta.time_start < window_length)) {
66 n_tas_to_erase++;
70
71
72
75 }
76 } else
77 break;
78 }
79
81
82
86 } else
88 }
void add(const TriggerActivity &input_ta)
◆ n_channels_hit()
uint16_t triggeralgs::TCMakerMichelElectronAlgorithm::Window::n_channels_hit |
( |
| ) |
|
|
inline |
◆ reset()
void triggeralgs::TCMakerMichelElectronAlgorithm::Window::reset |
( |
TriggerActivity const & | input_ta | ) |
|
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Window & | window ) |
|
friend |
◆ adc_integral
uint64_t triggeralgs::TCMakerMichelElectronAlgorithm::Window::adc_integral |
◆ channel_states
std::unordered_map<channel_t, uint16_t> triggeralgs::TCMakerMichelElectronAlgorithm::Window::channel_states |
◆ inputs
std::vector<TriggerActivity> triggeralgs::TCMakerMichelElectronAlgorithm::Window::inputs |
◆ time_start
timestamp_t triggeralgs::TCMakerMichelElectronAlgorithm::Window::time_start |
The documentation for this class was generated from the following file: