LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
PulseRecoManager.h
Go to the documentation of this file.
1 
15 #ifndef PULSERECOMANAGER_H
16 #define PULSERECOMANAGER_H
17 
18 //#include "fhiclcpp/ParameterSet.h"
19 //#include "messagefacility/MessageLogger/MessageLogger.h"
20 
21 #include "PMTPulseRecoBase.h"
22 #include "PMTPedestalBase.h"
23 namespace pmtana
24 {
25 
33 
34  public:
35 
38 
41 
43  bool Reconstruct(const pmtana::Waveform_t&) const;
44 
46  void AddRecoAlgo (pmtana::PMTPulseRecoBase* algo, PMTPedestalBase* ped_algo=nullptr);
47 
50 
51  private:
52 
54  std::vector<std::pair<pmtana::PMTPulseRecoBase*,pmtana::PMTPedestalBase*> > _reco_algo_v;
55 
58 
59  };
60 }
61 #endif
62  // end of doxygen group
void AddRecoAlgo(pmtana::PMTPulseRecoBase *algo, PMTPedestalBase *ped_algo=nullptr)
A method to set pulse reconstruction algorithm.
Class definition file of PMTPedestalBase.
~PulseRecoManager()
Default constructor.
bool Reconstruct(const pmtana::Waveform_t &) const
Implementation of ana_base::analyze method.
std::vector< short > Waveform_t
PMTPedestalBase * _ped_algo
ped_estimator object
void SetDefaultPedAlgo(pmtana::PMTPedestalBase *algo)
A method to set a choice of pedestal estimation method.
PulseRecoManager()
Default constructor.
Class definition file of PMTPulseRecoBase.
std::vector< std::pair< pmtana::PMTPulseRecoBase *, pmtana::PMTPedestalBase * > > _reco_algo_v
pulse reconstruction algorithm pointer