◆ add()
void triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::add |
( |
TriggerPrimitive const & | input_tp | ) |
|
|
inline |
◆ clear()
void triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::clear |
( |
| ) |
|
|
inline |
◆ is_empty()
bool triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::is_empty |
( |
| ) |
const |
|
inline |
◆ move()
void triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::move |
( |
TriggerPrimitive const & | input_tp, |
|
|
timestamp_t const & | window_length ) |
|
inline |
Definition at line 41 of file TAMakerADCSimpleWindowAlgorithm.hpp.
41 {
42
43
44
45
46 uint32_t n_tps_to_erase = 0;
48 if(!(input_tp.time_start-tp.time_start < window_length)){
49 n_tps_to_erase++;
51 }
52 else break;
53 }
54
56
57
61 }
63 };
void reset(TriggerPrimitive const &input_tp)
void add(TriggerPrimitive const &input_tp)
◆ reset()
void triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::reset |
( |
TriggerPrimitive const & | input_tp | ) |
|
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Window & | window ) |
|
friend |
Definition at line 75 of file TAMakerADCSimpleWindowAlgorithm.hpp.
75 {
76 if(window.is_empty()) os << "Window is empty!\n";
77 else{
78 os << "Window start: " << window.time_start << ", end: " << window.tp_list.back().time_start;
79 os << ". Total of: " << window.adc_integral << " ADC counts with " << window.tp_list.size() << " TPs.\n";
80 }
81 return os;
82 };
◆ adc_integral
uint32_t triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::adc_integral |
◆ time_start
timestamp_t triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::time_start |
◆ tp_list
std::vector<TriggerPrimitive> triggeralgs::TAMakerADCSimpleWindowAlgorithm::Window::tp_list |
The documentation for this class was generated from the following file: