LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Types | |
using | PeakTuple = std::tuple< size_t, size_t, size_t > |
using | PeakTupleVec = std::vector< PeakTuple > |
Public Member Functions | |
WaveformTools (const fhicl::ParameterSet &pset) | |
~WaveformTools () | |
void | configure (const fhicl::ParameterSet &pset) override |
void | triangleSmooth (const std::vector< float > &, std::vector< float > &, size_t=0) const override |
void | triangleSmooth (const std::vector< double > &, std::vector< double > &, size_t=0) const override |
void | medianSmooth (const std::vector< float > &, std::vector< float > &, size_t=3) const override |
void | medianSmooth (const std::vector< double > &, std::vector< double > &, size_t=3) const override |
void | getTruncatedMeanRMS (const std::vector< double > &, double &, double &, double &, int &) const override |
void | getTruncatedMeanRMS (const std::vector< float > &, float &, float &, float &, int &) const override |
void | firstDerivative (const std::vector< float > &, std::vector< float > &) const override |
void | firstDerivative (const std::vector< double > &, std::vector< double > &) const override |
void | findPeaks (std::vector< float >::iterator, std::vector< float >::iterator, PeakTupleVec &, float, size_t) const override |
void | findPeaks (std::vector< double >::iterator, std::vector< double >::iterator, PeakTupleVec &, double, size_t) const override |
void | getFFTPower (const std::vector< float > &inputVec, std::vector< float > &outputPowerVec) const override |
void | getFFTPower (const std::vector< double > &inputVec, std::vector< double > &outputPowerVec) const override |
void | getErosionDilationAverageDifference (const Waveform< short > &, int, HistogramMap &, Waveform< short > &, Waveform< short > &, Waveform< short > &, Waveform< short > &) const override |
void | getErosionDilationAverageDifference (const Waveform< float > &, int, HistogramMap &, Waveform< float > &, Waveform< float > &, Waveform< float > &, Waveform< float > &) const override |
void | getErosionDilationAverageDifference (const Waveform< double > &, int, HistogramMap &, Waveform< double > &, Waveform< double > &, Waveform< double > &, Waveform< double > &) const override |
void | getOpeningAndClosing (const Waveform< short > &, const Waveform< short > &, int, HistogramMap &, Waveform< short > &, Waveform< short > &) const override |
void | getOpeningAndClosing (const Waveform< float > &, const Waveform< float > &, int, HistogramMap &, Waveform< float > &, Waveform< float > &) const override |
void | getOpeningAndClosing (const Waveform< double > &, const Waveform< double > &, int, HistogramMap &, Waveform< double > &, Waveform< double > &) const override |
Private Member Functions | |
template<typename T > | |
void | triangleSmooth (const std::vector< T > &, std::vector< T > &, size_t=0) const |
template<typename T > | |
void | medianSmooth (const std::vector< T > &, std::vector< T > &, size_t=3) const |
template<typename T > | |
void | getTruncatedMeanRMS (const std::vector< T > &, T &, T &, T &, int &) const |
template<typename T > | |
void | firstDerivative (const std::vector< T > &, std::vector< T > &) const |
template<typename T > | |
void | findPeaks (typename std::vector< T >::iterator, typename std::vector< T >::iterator, PeakTupleVec &, T, size_t) const |
template<typename T > | |
void | getErosionDilationAverageDifference (const Waveform< T > &, int, HistogramMap &, Waveform< T > &, Waveform< T > &, Waveform< T > &, Waveform< T > &) const |
template<typename T > | |
void | getOpeningAndClosing (const Waveform< T > &, const Waveform< T > &, int, HistogramMap &, Waveform< T > &, Waveform< T > &) const |
Definition at line 28 of file WaveformTools_tool.cc.
using reco_tool::WaveformTools::PeakTuple = std::tuple<size_t,size_t,size_t> |
Definition at line 37 of file WaveformTools_tool.cc.
using reco_tool::WaveformTools::PeakTupleVec = std::vector<PeakTuple> |
Definition at line 38 of file WaveformTools_tool.cc.
|
explicit |
Definition at line 99 of file WaveformTools_tool.cc.
References configure().
|
inline |
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 104 of file WaveformTools_tool.cc.
Referenced by WaveformTools(), and ~WaveformTools().
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 302 of file WaveformTools_tool.cc.
Referenced by findPeaks().
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 295 of file WaveformTools_tool.cc.
|
private |
Definition at line 309 of file WaveformTools_tool.cc.
References findPeaks(), art::left(), and art::right().
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 278 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 271 of file WaveformTools_tool.cc.
|
private |
Definition at line 285 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 431 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 444 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 457 of file WaveformTools_tool.cc.
|
private |
Definition at line 470 of file WaveformTools_tool.cc.
References reco_tool::AVERAGE, reco_tool::DIFFERENCE, reco_tool::DILATION, reco_tool::EROSION, and reco_tool::WAVEFORM.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 390 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 406 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 542 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 554 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 566 of file WaveformTools_tool.cc.
|
private |
Definition at line 578 of file WaveformTools_tool.cc.
References reco_tool::CLOSING, DEFINE_ART_CLASS_TOOL, reco_tool::DOPENCLOSING, and reco_tool::OPENING.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 200 of file WaveformTools_tool.cc.
References pmtana::mean().
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 205 of file WaveformTools_tool.cc.
References pmtana::mean().
|
private |
Definition at line 210 of file WaveformTools_tool.cc.
References art::left(), max, min, and art::right().
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 147 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 154 of file WaveformTools_tool.cc.
|
private |
Definition at line 161 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 119 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 112 of file WaveformTools_tool.cc.
|
private |
Definition at line 126 of file WaveformTools_tool.cc.