15 #ifndef larana_OPTICALDETECTOR_PEDALGOEDGES_H
16 #define larana_OPTICALDETECTOR_PEDALGOEDGES_H
21 namespace fhicl {
class ParameterSet; }
40 PedAlgoEdges(
const fhicl::ParameterSet &pset,
const std::string
name=
"PedEdges");
std::vector< double > PedestalSigma_t
PED_METHOD _method
Methods.
Class definition file of PMTPedestalBase.
PedAlgoEdges(const std::string name="PedEdges")
Default constructor.
std::vector< short > Waveform_t
PED_METHOD
enum to define algorithm options
Calculate both and use the one with smaller RMS.
size_t _nsample_tail
ADC sample in tail to be used
size_t _nsample_front
ADC sample in front to be used
std::vector< double > PedestalMean_t
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...