LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#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 33 of file PulseRecoManager.h.
pmtana::PulseRecoManager::PulseRecoManager | ( | ) |
Default constructor.
Definition at line 17 of file PulseRecoManager.cxx.
References _reco_algo_v.
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.
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 41 of file PulseRecoManager.cxx.
References _ped_algo, _reco_algo_v, pmtana::PMTPedestalBase::Evaluate(), pmtana::PMTPedestalBase::Mean(), and pmtana::PMTPedestalBase::Sigma().
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 33 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 53 of file PulseRecoManager.h.
Referenced by Reconstruct(), and SetDefaultPedAlgo().
|
private |
pulse reconstruction algorithm pointer
Definition at line 50 of file PulseRecoManager.h.
Referenced by AddRecoAlgo(), PulseRecoManager(), and Reconstruct().