1 #ifndef _M_PEAKDETECTOR_HH_
2 #define _M_PEAKDETECTOR_HH_
48 void Init(Diana::QEvent& ev);
51 void Do(Diana::QEvent& ev);
57 std::vector<int>
GetPeaks(
const Diana::QVector& samples,
int minSamples,
const size_t red);
Module to detect peaks in window alternative to MBCountPulses.
void Init(Diana::QEvent &ev)
Init method.
void Do(Diana::QEvent &ev)
Do method. Declare and implement only one of the two versions.
Diana::QEventLabel fPulseLabel
std::vector< int > GetPeaks(const Diana::QVector &samples, int minSamples, const size_t red)
QFir FIR low pass filter (Ported from Calder)
Interface for vectors in Diana analysis.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...