7 #ifndef ALGOFIXEDWINDOW_CC 8 #define ALGOFIXEDWINDOW_CC 28 const std::string name)
68 _pulse_v[0].ped_mean = mean_v.front();
70 _pulse_v[0].ped_sigma = sigma_v.front();
74 _pulse_v[0].t_end = (double)(wf.size() - 1);
bool Integral(const std::vector< short > &wf, double &result, size_t begin=0, size_t end=0) const
std::vector< double > PedestalSigma_t
size_t _index_end
index marker for the end of pulse time window
size_t _index_start
index marker for the beginning of the pulse time window
bool RecoPulse(const pmtana::Waveform_t &, const pmtana::PedestalMean_t &, const pmtana::PedestalSigma_t &)
Implementation of AlgoFixedWindow::reco() method.
pulse_param _pulse
A subject pulse_param object to be filled with the last reconstructed pulse parameters.
size_t Max(const std::vector< short > &wf, double &result, size_t begin=0, size_t end=0) const
T get(std::string const &key) const
virtual ~AlgoFixedWindow()
Default destructor.
std::vector< short > Waveform_t
Class definition file of AlgoFixedWindow.
AlgoFixedWindow(const std::string name="FixedWindow")
Default ctor.
std::vector< double > PedestalMean_t
pulse_param_array _pulse_v
A container array of pulse_param struct objects to store (possibly multiple) reconstructed pulse(s)...
void Reset()
Implementation of AlgoFixedWindow::reset() method.