31 : fOpDetTickPeriod{ opDetTickPeriod }
43 std::size_t
const nSamples = waveform.
Waveform().size();
46 = startTime + waveform.
Waveform().size() * fOpDetTickPeriod;
58 auto const setFlag = [&
info]
60 {
if (
value)
info.flags.set(flag);
else info.flags.unset(flag); };
63 {
return (t >= startTime) && (t < endTime); };
electronics_time BeamGateTime() const
OpDetWaveformMeta makeOpDetWaveformMeta(raw::OpDetWaveform const &waveform, detinfo::DetectorTimings const &detTimings)
Creates a sbn::OpDetWaveformMeta out of a raw::OpDetWaveform.
then echo unknown compiler flag
Interface to detinfo::DetectorClocks.
typename Mask_t::Flag_t Flag_t
Type identifying a single flag.
An interval (duration, length, distance) between two quantity points.
electronics_time TriggerTime() const
A class exposing an upgraded interface of detinfo::DetectorClocksData.
auto OpticalClockPeriod() const
Returns the duration of the optical clock period and tick.
timescale_traits< ElectronicsTimeCategory >::time_point_t electronics_time
A point in time on the electronics time scale.