15 #ifndef PMTPULSERECOBASE_H 16 #define PMTPULSERECOBASE_H 46 ped_mean = ped_sigma = -1;
47 t_start = t_max = t_end = -1;
81 const std::string& Name()
const;
84 const bool Status()
const;
103 const pulse_param_array& GetPulses()
const;
134 bool Integral (
const std::vector<short> &wf,
double &result,
size_t begin=0,
size_t end=0)
const;
140 bool Derivative (
const std::vector<short> &wf, std::vector<int32_t> &diff,
size_t begin=0,
size_t end=0)
const;
146 size_t Max(
const std::vector<short> &wf,
double &result,
size_t begin=0,
size_t end=0)
const;
152 size_t Min(
const std::vector<short> &wf,
double &result,
size_t begin=0,
size_t end=0)
const;
bool _status
Status after pulse reconstruction.
std::vector< double > PedestalSigma_t
size_t GetNPulse() const
A getter for the number of reconstructed pulses from the input waveform.
pulse_param _pulse
A subject pulse_param object to be filled with the last reconstructed pulse parameters.
ntupleExperimental Reset()
std::vector< evd::details::RawDigitInfo_t >::const_iterator begin(RawDigitCacheDataClass const &cache)
std::vector< short > Waveform_t
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
std::vector< pmtana::pulse_param > pulse_param_array
std::vector< double > PedestalMean_t
pulse_param_array _pulse_v
A container array of pulse_param struct objects to store (possibly multiple) reconstructed pulse(s)...