#include <PulseRecoManager.h>
Public Member Functions | |
PulseRecoManager () | |
Default constructor. More... | |
bool | Reconstruct (const pmtana::Waveform_t &) const |
Implementation of ana_base::analyze method. More... | |
void | AddRecoAlgo (pmtana::PMTPulseRecoBase *algo, PMTPedestalBase *ped_algo=nullptr) |
A method to set pulse reconstruction algorithm. More... | |
void | SetDefaultPedAlgo (pmtana::PMTPedestalBase *algo) |
A method to set a choice of pedestal estimation method. More... | |
Private Attributes | |
std::vector< std::pair< pmtana::PMTPulseRecoBase *, pmtana::PMTPedestalBase * > > | _reco_algo_v |
pulse reconstruction algorithm pointer More... | |
PMTPedestalBase * | _ped_algo |
ped_estimator object More... | |
A manager class of pulse reconstruction which acts as an analysis unit (inherits from ana_base). This class executes various pulse reconstruction algorithm which inherits from PMTPulseRecoBase Refer to analyze() function implementation to check how a pulse reconstruction algorithm is called.
Definition at line 34 of file PulseRecoManager.h.
pmtana::PulseRecoManager::PulseRecoManager | ( | ) |
Default constructor.
Definition at line 17 of file PulseRecoManager.cxx.
void pmtana::PulseRecoManager::AddRecoAlgo | ( | pmtana::PMTPulseRecoBase * | algo, |
PMTPedestalBase * | ped_algo = nullptr |
||
) |
A method to set pulse reconstruction algorithm.
Definition at line 24 of file PulseRecoManager.cxx.
bool pmtana::PulseRecoManager::Reconstruct | ( | const pmtana::Waveform_t & | wf | ) | const |
Implementation of ana_base::analyze method.
Definition at line 41 of file PulseRecoManager.cxx.
void pmtana::PulseRecoManager::SetDefaultPedAlgo | ( | pmtana::PMTPedestalBase * | algo | ) |
A method to set a choice of pedestal estimation method.
Definition at line 33 of file PulseRecoManager.cxx.
|
private |
ped_estimator object
Definition at line 56 of file PulseRecoManager.h.
|
private |
pulse reconstruction algorithm pointer
Definition at line 53 of file PulseRecoManager.h.