LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Classes | |
struct | Config |
Public Member Functions | |
RiseTimeGaussFit (art::ToolConfigTable< Config > const &config) | |
double | RiseTime (const pmtana::Waveform_t &wf_pulse, const pmtana::PedestalMean_t &ped_pulse, bool _positive) const override |
std::size_t | findFirstMax (const std::vector< double > &arr, double threshold) const |
Private Attributes | |
double | fMinAmp |
double | fInitSigma |
double | fTolerance |
int | fNbins |
Definition at line 24 of file RiseTimeGaussFit_tool.cc.
|
explicit |
Definition at line 53 of file RiseTimeGaussFit_tool.cc.
References fInitSigma, fNbins, and fTolerance.
std::size_t pmtana::RiseTimeGaussFit::findFirstMax | ( | const std::vector< double > & | arr, |
double | threshold | ||
) | const |
Linear search, O(N), 1st peak should be close to the start of the vector for scintillation LAr Signals. Returns the position of the first local max
Definition at line 106 of file RiseTimeGaussFit_tool.cc.
References DEFINE_ART_CLASS_TOOL, and n.
Referenced by RiseTime().
|
overridevirtual |
Implements pmtana::RiseTimeCalculatorBase.
Definition at line 60 of file RiseTimeGaussFit_tool.cc.
References util::abs(), f, findFirstMax(), fInitSigma, fMinAmp, fNbins, and fTolerance.
|
private |
Definition at line 48 of file RiseTimeGaussFit_tool.cc.
Referenced by RiseTime(), and RiseTimeGaussFit().
|
private |
Definition at line 47 of file RiseTimeGaussFit_tool.cc.
Referenced by RiseTime().
|
private |
Definition at line 50 of file RiseTimeGaussFit_tool.cc.
Referenced by RiseTime(), and RiseTimeGaussFit().
|
private |
Definition at line 49 of file RiseTimeGaussFit_tool.cc.
Referenced by RiseTime(), and RiseTimeGaussFit().