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 16 of file WaveformTools_tool.cc.
using reco_tool::WaveformTools::PeakTuple = std::tuple<size_t,size_t,size_t> |
Definition at line 25 of file WaveformTools_tool.cc.
Definition at line 26 of file WaveformTools_tool.cc.
|
explicit |
Definition at line 87 of file WaveformTools_tool.cc.
|
inline |
Definition at line 21 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 92 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 296 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 289 of file WaveformTools_tool.cc.
|
private |
Definition at line 303 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 272 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 265 of file WaveformTools_tool.cc.
|
private |
Definition at line 279 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 425 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 438 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 451 of file WaveformTools_tool.cc.
|
private |
Definition at line 464 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 384 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 400 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 536 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 548 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 560 of file WaveformTools_tool.cc.
|
private |
Definition at line 572 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 194 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 199 of file WaveformTools_tool.cc.
|
private |
Definition at line 204 of file WaveformTools_tool.cc.
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 155 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 107 of file WaveformTools_tool.cc.
|
overridevirtual |
Implements reco_tool::IWaveformTool.
Definition at line 100 of file WaveformTools_tool.cc.
|
private |
Definition at line 114 of file WaveformTools_tool.cc.