#include <AlgoSiPM.h>
Public Member Functions | |
AlgoSiPM (const fhicl::ParameterSet &pset, const std::string name="AlgoSiPM") | |
void | Reset () |
A method to be called event-wise to reset parameters. More... | |
Public Member Functions inherited from pmtana::PMTPulseRecoBase | |
PMTPulseRecoBase (const std::string name="noname") | |
Default constructor with fhicl parameters. More... | |
virtual | ~PMTPulseRecoBase ()=default |
Default destructor. More... | |
const std::string & | Name () const |
Name getter. More... | |
bool | Status () const |
Status getter. More... | |
bool | Reconstruct (const pmtana::Waveform_t &, const pmtana::PedestalMean_t &, const pmtana::PedestalSigma_t &) |
const pulse_param & | GetPulse (size_t index=0) const |
const pulse_param_array & | GetPulses () const |
A getter for the whole array of pulse_param struct object. More... | |
size_t | GetNPulse () const |
A getter for the number of reconstructed pulses from the input waveform. More... | |
Protected Member Functions | |
bool | RecoPulse (const pmtana::Waveform_t &, const pmtana::PedestalMean_t &, const pmtana::PedestalSigma_t &) |
Protected Member Functions inherited from pmtana::PMTPulseRecoBase | |
bool | Integral (const std::vector< short > &wf, double &result, size_t begin=0, size_t end=0) const |
bool | Derivative (const std::vector< short > &wf, std::vector< int32_t > &diff, size_t begin=0, size_t end=0) const |
size_t | Max (const std::vector< short > &wf, double &result, size_t begin=0, size_t end=0) const |
size_t | Min (const std::vector< short > &wf, double &result, size_t begin=0, size_t end=0) const |
Protected Attributes | |
double | _adc_thres |
int | _min_width |
double | _2nd_thres |
double | _pedestal |
Protected Attributes inherited from pmtana::PMTPulseRecoBase | |
pulse_param_array | _pulse_v |
A container array of pulse_param struct objects to store (possibly multiple) reconstructed pulse(s). More... | |
pulse_param | _pulse |
A subject pulse_param object to be filled with the last reconstructed pulse parameters. More... | |
Definition at line 22 of file AlgoSiPM.h.
pmtana::AlgoSiPM::AlgoSiPM | ( | const fhicl::ParameterSet & | pset, |
const std::string | name = "AlgoSiPM" |
||
) |
Definition at line 12 of file AlgoSiPM.cxx.
|
protectedvirtual |
Implements pmtana::PMTPulseRecoBase.
Definition at line 36 of file AlgoSiPM.cxx.
|
virtual |
A method to be called event-wise to reset parameters.
Reimplemented from pmtana::PMTPulseRecoBase.
Definition at line 28 of file AlgoSiPM.cxx.
|
protected |
Definition at line 51 of file AlgoSiPM.h.
|
protected |
Definition at line 45 of file AlgoSiPM.h.
|
protected |
Definition at line 48 of file AlgoSiPM.h.
|
protected |
Definition at line 54 of file AlgoSiPM.h.