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 |
Private Member Functions inherited from reco_tool::IWaveformTool | |
virtual | ~IWaveformTool () noexcept=default |
Additional Inherited Members | |
Private Types inherited from reco_tool::IWaveformTool | |
using | PeakTuple = std::tuple< size_t, size_t, size_t > |
using | PeakTupleVec = std::vector< PeakTuple > |
Definition at line 17 of file WaveformTools_tool.cc.
using reco_tool::WaveformTools::PeakTuple = std::tuple<size_t,size_t,size_t> |
Definition at line 26 of file WaveformTools_tool.cc.
using reco_tool::WaveformTools::PeakTupleVec = std::vector<PeakTuple> |
Definition at line 27 of file WaveformTools_tool.cc.
|
explicit |
Definition at line 88 of file WaveformTools_tool.cc.
|
inline |
Definition at line 22 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 93 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 297 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 290 of file WaveformTools_tool.cc.
|
private |
Definition at line 304 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 273 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 266 of file WaveformTools_tool.cc.
|
private |
Definition at line 280 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 426 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 439 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 452 of file WaveformTools_tool.cc.
|
private |
Definition at line 465 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 385 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 401 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 537 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 549 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 561 of file WaveformTools_tool.cc.
|
private |
Definition at line 573 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 195 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 200 of file WaveformTools_tool.cc.
|
private |
Definition at line 205 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 142 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 149 of file WaveformTools_tool.cc.
|
private |
Definition at line 156 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 108 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 101 of file WaveformTools_tool.cc.
|
private |
Definition at line 115 of file WaveformTools_tool.cc.