LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PulseRecoManager.h
Go to the documentation of this file.
1 
15 #ifndef PULSERECOMANAGER_H
16 #define PULSERECOMANAGER_H
17 
19 
20 #include <vector>
21 
22 namespace pmtana {
23 
24  class PMTPedestalBase;
25  class PMTPulseRecoBase;
26 
34 
35  public:
38 
40  bool Reconstruct(const pmtana::Waveform_t&) const;
41 
43  void AddRecoAlgo(pmtana::PMTPulseRecoBase* algo, PMTPedestalBase* ped_algo = nullptr);
44 
47 
48  private:
50  std::vector<std::pair<pmtana::PMTPulseRecoBase*, pmtana::PMTPedestalBase*>> _reco_algo_v;
51 
54  };
55 }
56 #endif
57  // end of doxygen group
void AddRecoAlgo(pmtana::PMTPulseRecoBase *algo, PMTPedestalBase *ped_algo=nullptr)
A method to set pulse reconstruction algorithm.
bool Reconstruct(const pmtana::Waveform_t &) const
Implementation of ana_base::analyze method.
std::vector< short > Waveform_t
std::vector< std::pair< pmtana::PMTPulseRecoBase *, pmtana::PMTPedestalBase * > > _reco_algo_v
pulse reconstruction algorithm pointer
PMTPedestalBase * _ped_algo
ped_estimator object
void SetDefaultPedAlgo(pmtana::PMTPedestalBase *algo)
A method to set a choice of pedestal estimation method.
PulseRecoManager()
Default constructor.