14 #include "cetlib_except/exception.h"
30 throw cet::exception(
"TriggerGateBuilder")
31 <<
"icarus::trigger::SingleChannelOpticalTriggerGate::add(): "
32 <<
"can't add a waveform on channel " << waveform.
ChannelNumber()
33 <<
" to a gate on channel " << channel() <<
"\n";
35 return OpticalTriggerGate::add(waveform);
constexpr bool isValidChannel(Channel_t channel)
Returns whether the specified one is a valid channel number.
bool add(raw::OpDetWaveform const &waveform)
Adds another waveform to the channel (unless it has just been added).
Logical multi-level gate associated to a optical detector channel.