15 #ifndef ALGOSLIDINGWINDOW_H
16 #define ALGOSLIDINGWINDOW_H
19 namespace fhicl {
class ParameterSet; }
41 std::unique_ptr<pmtana::RiseTimeCalculatorBase> risetimecalculator=
nullptr,
42 const std::string
name=
"SlidingWindow");
std::vector< double > PedestalSigma_t
float _nsigma
A variable holder for a multiplicative factor for the pedestal standard deviation to define the thres...
AlgoSlidingWindow(const std::string name="SlidingWindow")
Default constructor.
bool RecoPulse(const pmtana::Waveform_t &, const pmtana::PedestalMean_t &, const pmtana::PedestalSigma_t &)
Implementation of AlgoSlidingWindow::reco() method.
std::vector< short > Waveform_t
bool _positive
A boolean to set waveform positive/negative polarity.
void Reset()
Implementation of AlgoSlidingWindow::reset() method.
float _adc_thres
A variable holder for a user-defined absolute ADC threshold value.
Class definition file of PMTPulseRecoBase.
std::vector< double > PedestalMean_t
size_t _min_width
A variable holder to ensure the minimum pulse width.