LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
AlgoFixedWindow.h
Go to the documentation of this file.
1 
15 #ifndef ALGOFIXEDWINDOW_H
16 #define ALGOFIXEDWINDOW_H
17 
18 #include "PMTPulseRecoBase.h"
19 #include "fhiclcpp/ParameterSet.h"
20 //#include "FhiclLite/PSet.h"
21 
22 namespace pmtana
23 {
24 
34 
35  public:
36 
38  AlgoFixedWindow(const std::string name="FixedWindow");
39 
41  AlgoFixedWindow(const fhicl::ParameterSet &pset,const std::string name="FixedWindow");
42  //AlgoFixedWindow(const ::fcllite::PSet &pset,const std::string name="FixedWindow");
43 
45  virtual ~AlgoFixedWindow();
46 
48  void Reset();
49 
50  protected:
51 
53  bool RecoPulse(const pmtana::Waveform_t&,
56 
57  size_t _index_start;
58  size_t _index_end;
59 
60  };
61 
62 }
63 #endif
64  // end of doxygen group
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.
virtual ~AlgoFixedWindow()
Default destructor.
std::vector< short > Waveform_t
Class definition file of PMTPulseRecoBase.
AlgoFixedWindow(const std::string name="FixedWindow")
Default ctor.
std::vector< double > PedestalMean_t
void Reset()
Implementation of AlgoFixedWindow::reset() method.