Container of logical gates for all triggering channels for a threshold. More...
#include <TriggerGateBuilder.h>
Public Types | |
using | triggergate_t = icarus::trigger::TrackedOpticalTriggerGate< raw::OpDetWaveform > |
using | GateData_t = std::vector< triggergate_t > |
Public Member Functions | |
TriggerGates (ADCCounts_t threshold, GateData_t &&gates) | |
Constructor: acquires data of the specified gates. More... | |
TriggerGates (ADCCounts_t threshold) | |
Constructor: no trigger gate added. More... | |
template<typename Stream > | |
void | dump (Stream &out) const |
Dumps the content of this set of gates into the out stream. More... | |
bool | operator< (TriggerGates const &other) const |
Comparison: sorts by increasing threshold. More... | |
Static Public Member Functions | |
static constexpr bool | isValidChannel (Channel_t channel) |
Private Attributes | |
ADCCounts_t | fThreshold |
The threshold for all the gates. More... | |
GateData_t | fGates |
All the gates, at most one per channel. More... | |
Container of logical gates for all triggering channels for a threshold.
Definition at line 116 of file TriggerGateBuilder.h.
using icarus::trigger::TriggerGateBuilder::TriggerGates::GateData_t = std::vector<triggergate_t> |
Definition at line 124 of file TriggerGateBuilder.h.
using icarus::trigger::TriggerGateBuilder::TriggerGates::triggergate_t = icarus::trigger::TrackedOpticalTriggerGate<raw::OpDetWaveform> |
Definition at line 123 of file TriggerGateBuilder.h.
|
inline |
Constructor: acquires data of the specified gates.
Definition at line 128 of file TriggerGateBuilder.h.
|
inline |
Constructor: no trigger gate added.
Definition at line 133 of file TriggerGateBuilder.h.
void icarus::trigger::TriggerGateBuilder::TriggerGates::dump | ( | Stream & | out | ) | const |
Dumps the content of this set of gates into the out
stream.
Definition at line 285 of file TriggerGateBuilder.h.
|
inlinestatic |
Definition at line 163 of file TriggerGateBuilder.h.
|
inline |
Comparison: sorts by increasing threshold.
Definition at line 159 of file TriggerGateBuilder.h.
|
private |
All the gates, at most one per channel.
Definition at line 168 of file TriggerGateBuilder.h.
|
private |
The threshold for all the gates.
Definition at line 167 of file TriggerGateBuilder.h.