15 #ifndef PMTPULSERECOBASE_H 16 #define PMTPULSERECOBASE_H 43 ped_mean = ped_sigma = -1;
44 t_start = t_max = t_end = t_rise = -1;
76 const std::string& Name()
const;
95 const pulse_param& GetPulse(
size_t index = 0)
const;
98 const pulse_param_array& GetPulses()
const;
122 std::unique_ptr<pmtana::RiseTimeCalculatorBase> _risetime_calc_ptr =
nullptr;
129 bool Integral(
const std::vector<short>& wf,
132 size_t end = 0)
const;
138 bool Derivative(
const std::vector<short>& wf,
139 std::vector<int32_t>& diff,
141 size_t end = 0)
const;
147 size_t Max(
const std::vector<short>& wf,
150 size_t end = 0)
const;
156 size_t Min(
const std::vector<short>& wf,
159 size_t end = 0)
const;
bool _status
Status after pulse reconstruction.
std::vector< double > PedestalSigma_t
Interfacce class for a tool to calculate the pulse rise time.
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.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
ntupleExperimental Reset()
std::vector< short > Waveform_t
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
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)...