LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
AlgoSlidingWindow.h
Go to the documentation of this file.
1 
15 #ifndef ALGOSLIDINGWINDOW_H
16 #define ALGOSLIDINGWINDOW_H
17 
18 #include "PMTPulseRecoBase.h"
19 #include "fhiclcpp/ParameterSet.h"
20 //#include "FhiclLite/PSet.h"
21 
22 namespace pmtana
23 {
24 
30 
31  public:
32 
34  AlgoSlidingWindow(const std::string name="SlidingWindow");
35 
37  AlgoSlidingWindow(const fhicl::ParameterSet &pset,const std::string name="SlidingWindow");
38  //AlgoSlidingWindow(const ::fcllite::PSet &pset,const std::string name="SlidingWindow");
39 
41  virtual ~AlgoSlidingWindow();
42 
44  void Reset();
45 
46  protected:
47 
49  bool RecoPulse(const pmtana::Waveform_t&,
52 
55 
58  bool _verbose;
60  };
61 
62 }
63 #endif
64  // end of doxygen group
66 
std::vector< double > PedestalSigma_t
float _nsigma
A variable holder for a multiplicative factor for the pedestal standard deviation to define the thres...
virtual ~AlgoSlidingWindow()
Default destructor.
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
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