LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 
20 namespace fhicl {
21  class ParameterSet;
22 }
23 
25 
26 #include <string>
27 
28 namespace pmtana {
29 
39 
40  public:
42  AlgoFixedWindow(const std::string name = "FixedWindow");
43 
46  std::unique_ptr<pmtana::RiseTimeCalculatorBase> risetimecalculator = nullptr,
47  const std::string name = "FixedWindow");
48  //AlgoFixedWindow(const ::fcllite::PSet &pset,const std::string name="FixedWindow");
49 
51  void Reset();
52 
53  protected:
55  bool RecoPulse(const pmtana::Waveform_t&,
58 
59  size_t _index_start;
60  size_t _index_end;
61  };
62 
63 }
64 #endif
65  // 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
ntupleExperimental Reset()
parameter set interface
std::vector< short > Waveform_t
Class definition file of PMTPulseRecoBase.
std::vector< double > PedestalMean_t