1 #ifndef _sbnanalysis_numu_TriggerEmulator_hh
2 #define _sbnanalysis_numu_TriggerEmulator_hh
8 #include "../Data/DetInfo.h"
13 const std::vector<raw::OpDetWaveform> &waveforms,
15 std::pair<double, double> &window,
19 bool HasTrigger(
const std::vector<FlashTriggerPrimitive> &primitives,
int threshold,
unsigned n_above_threshold);
20 std::vector<int>
TriggerThresholds(
const std::vector<numu::FlashTriggerPrimitive> &primitives,
unsigned size);
std::vector< FlashTriggerPrimitive > TriggerPrimitives(const std::vector< raw::OpDetWaveform > &waveforms, double tick_period, std::pair< double, double > &window, int thresh, bool is_sbnd)
std::size_t size(FixedBins< T, C > const &) noexcept
std::vector< int > TriggerThresholds(const std::vector< numu::FlashTriggerPrimitive > &primitives, unsigned size)
bool HasTrigger(const std::vector< FlashTriggerPrimitive > &primitives, int threshold, unsigned n_above_threshold)