#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... | |
Public Member Functions inherited from pmtana::PMTPedestalBase | |
PMTPedestalBase (std::string name="noname") | |
Default constructor. More... | |
virtual | ~PMTPedestalBase () |
Default destructor. 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... | |
double | Sigma (size_t i) const |
Getter of the pedestal standard deviation. More... | |
const pmtana::PedestalMean_t & | Mean () const |
Getter of the pedestal mean value. 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... | |
Protected Member Functions inherited from pmtana::PMTPedestalBase | |
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 31 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 21 of file PedAlgoUB.cxx.
|
protected |
Method to compute a pedestal of the input waveform using "nsample" ADC samples from "start" index.
Definition at line 33 of file PedAlgoUB.cxx.
|
private |
Definition at line 54 of file PedAlgoUB.h.
|
private |
Definition at line 53 of file PedAlgoUB.h.