15 #ifndef larana_OPTICALDETECTOR_PEDALGORMSSLIDER_H 16 #define larana_OPTICALDETECTOR_PEDALGORMSSLIDER_H 69 double CalcMean(
const std::vector<double>& wf,
size_t start,
size_t nsample);
72 double CalcStd(
const std::vector<double>& wf,
73 const double ped_mean,
std::vector< double > PedestalSigma_t
float _ped_range_min
Min value of adc to consider adc as 'sane'.
int _num_postsample
number of ADCs to sample after the gap
float _max_sigma
Max sigma to consider adc as 'sane'.
Class definition file of PMTPedestalBase.
int _num_presample
number of ADCs to sample before the gap
double _threshold
Threshold applied to local rms to claim a pulse.
float _ped_range_max
Max value of adc to consider adc as 'sane'.
std::vector< short > Waveform_t
int _n_wf_to_csvfile
If greater than zero saves firsts waveforms with pedestal to csv file.
size_t _sample_size
How many samples are used to calculate local rms and mean.
std::vector< double > PedestalMean_t
bool _verbose
For debugging.