LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PulseRecoManager.h"
Public Member Functions | |
PulseRecoManager () | |
Default constructor. More... | |
~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 32 of file PulseRecoManager.h.
pmtana::PulseRecoManager::PulseRecoManager | ( | ) |
Default constructor.
Definition at line 16 of file PulseRecoManager.cxx.
References _reco_algo_v.
pmtana::PulseRecoManager::~PulseRecoManager | ( | ) |
void pmtana::PulseRecoManager::AddRecoAlgo | ( | pmtana::PMTPulseRecoBase * | algo, |
PMTPedestalBase * | ped_algo = nullptr |
||
) |
A method to set pulse reconstruction algorithm.
Definition at line 28 of file PulseRecoManager.cxx.
References _reco_algo_v.
Referenced by opdet::LEDCalibrationAna::LEDCalibrationAna(), opdet::OpHitFinder::OpHitFinder(), and pmtana::PMTAna::PMTAna().
bool pmtana::PulseRecoManager::Reconstruct | ( | const pmtana::Waveform_t & | wf | ) | const |
Implementation of ana_base::analyze method.
Definition at line 45 of file PulseRecoManager.cxx.
References _ped_algo, _reco_algo_v, pmtana::PMTPedestalBase::Evaluate(), pmtana::PMTPedestalBase::Mean(), pmtana::PMTPedestalBase::Sigma(), and ss.
Referenced by opdet::LEDCalibrationAna::analyze(), pmtana::PMTAna::analyze(), and opdet::RunHitFinder().
void pmtana::PulseRecoManager::SetDefaultPedAlgo | ( | pmtana::PMTPedestalBase * | algo | ) |
A method to set a choice of pedestal estimation method.
Definition at line 37 of file PulseRecoManager.cxx.
References _ped_algo.
Referenced by opdet::LEDCalibrationAna::LEDCalibrationAna(), opdet::OpHitFinder::OpHitFinder(), and pmtana::PMTAna::PMTAna().
|
private |
ped_estimator object
Definition at line 57 of file PulseRecoManager.h.
Referenced by Reconstruct(), and SetDefaultPedAlgo().
|
private |
pulse reconstruction algorithm pointer
Definition at line 54 of file PulseRecoManager.h.
Referenced by AddRecoAlgo(), PulseRecoManager(), and Reconstruct().