LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PedAlgoUB.h"
Public Member Functions | |
PedAlgoUB (const std::string name="PedCD") | |
Default constructor. More... | |
PedAlgoUB (const fhicl::ParameterSet &pset, const std::string name="PedAlgoUB") | |
Alternative ctor. More... | |
const std::string & | Name () const |
Name getter. More... | |
bool | Evaluate (const pmtana::Waveform_t &wf) |
Method to compute a pedestal. More... | |
double | Mean (size_t i) const |
Getter of the pedestal mean value. More... | |
const pmtana::PedestalMean_t & | Mean () const |
Getter of the pedestal mean value. More... | |
double | Sigma (size_t i) const |
Getter of the pedestal standard deviation. More... | |
const pmtana::PedestalSigma_t & | Sigma () const |
Getter of the pedestal standard deviation. More... | |
Protected Member Functions | |
bool | ComputePedestal (const pmtana::Waveform_t &wf, pmtana::PedestalMean_t &mean_v, pmtana::PedestalSigma_t &sigma_v) |
Method to compute a pedestal of the input waveform using "nsample" ADC samples from "start" index. More... | |
virtual bool | ComputePedestal (const ::pmtana::Waveform_t &wf, pmtana::PedestalMean_t &mean_v, pmtana::PedestalSigma_t &sigma_v)=0 |
Private Attributes | |
PedAlgoRmsSlider | _beamgatealgo |
unsigned int | _beam_gate_samples |
A class that calculates pedestal mean & standard deviation (here and elsewhere called as "RMS").
Definition at line 33 of file PedAlgoUB.h.
pmtana::PedAlgoUB::PedAlgoUB | ( | const std::string | name = "PedCD" | ) |
Default constructor.
Definition at line 14 of file PedAlgoUB.cxx.
pmtana::PedAlgoUB::PedAlgoUB | ( | const fhicl::ParameterSet & | pset, |
const std::string | name = "PedAlgoUB" |
||
) |
Alternative ctor.
Definition at line 19 of file PedAlgoUB.cxx.
References _beam_gate_samples, and fhicl::ParameterSet::get().
|
protected |
Method to compute a pedestal of the input waveform using "nsample" ADC samples from "start" index.
Definition at line 31 of file PedAlgoUB.cxx.
References _beam_gate_samples, _beamgatealgo, pmtana::PMTPedestalBase::Evaluate(), pmtana::PMTPedestalBase::Mean(), and pmtana::PMTPedestalBase::Sigma().
|
protectedpure virtualinherited |
Method to compute pedestal: mean and sigma array should be filled per ADC. The length of each array is guaranteed to be same.
Referenced by pmtana::PMTPedestalBase::Evaluate().
|
inherited |
Method to compute a pedestal.
Definition at line 30 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_mean_v, pmtana::PMTPedestalBase::_sigma_v, and pmtana::PMTPedestalBase::ComputePedestal().
Referenced by ComputePedestal(), and pmtana::PulseRecoManager::Reconstruct().
|
inherited |
Getter of the pedestal mean value.
Definition at line 50 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_mean_v.
Referenced by ComputePedestal(), and pmtana::PulseRecoManager::Reconstruct().
|
inherited |
Getter of the pedestal mean value.
Definition at line 74 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_mean_v.
|
inherited |
Name getter.
Definition at line 23 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_name.
|
inherited |
Getter of the pedestal standard deviation.
Definition at line 62 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_sigma_v.
Referenced by ComputePedestal(), and pmtana::PulseRecoManager::Reconstruct().
|
inherited |
Getter of the pedestal standard deviation.
Definition at line 81 of file PMTPedestalBase.cxx.
References pmtana::PMTPedestalBase::_sigma_v.
|
private |
Definition at line 53 of file PedAlgoUB.h.
Referenced by ComputePedestal(), and PedAlgoUB().
|
private |
Definition at line 52 of file PedAlgoUB.h.
Referenced by ComputePedestal().