LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
reco_tool::IWaveformTool Class Referenceabstract

#include "IWaveformTool.h"

Inheritance diagram for reco_tool::IWaveformTool:
reco_tool::WaveformTools

Public Types

using PeakTuple = std::tuple< size_t, size_t, size_t >
 
using PeakTupleVec = std::vector< PeakTuple >
 

Public Member Functions

virtual ~IWaveformTool () noexcept=default
 
virtual void configure (const fhicl::ParameterSet &pset)=0
 
virtual void triangleSmooth (const std::vector< float > &, std::vector< float > &, size_t=0) const =0
 
virtual void triangleSmooth (const std::vector< double > &, std::vector< double > &, size_t=0) const =0
 
virtual void medianSmooth (const std::vector< float > &, std::vector< float > &, size_t=3) const =0
 
virtual void medianSmooth (const std::vector< double > &, std::vector< double > &, size_t=3) const =0
 
virtual void getTruncatedMeanRMS (const std::vector< float > &, float &, float &, float &, int &) const =0
 
virtual void getTruncatedMeanRMS (const std::vector< double > &, double &, double &, double &, int &) const =0
 
virtual void firstDerivative (const std::vector< float > &, std::vector< float > &) const =0
 
virtual void firstDerivative (const std::vector< double > &, std::vector< double > &) const =0
 
virtual void findPeaks (std::vector< float >::iterator, std::vector< float >::iterator, PeakTupleVec &, float, size_t) const =0
 
virtual void findPeaks (std::vector< double >::iterator, std::vector< double >::iterator, PeakTupleVec &, double, size_t) const =0
 
virtual void getFFTPower (const std::vector< float > &inputVec, std::vector< float > &outputPowerVec) const =0
 
virtual void getFFTPower (const std::vector< double > &inputVec, std::vector< double > &outputPowerVec) const =0
 
virtual void getErosionDilationAverageDifference (const Waveform< short > &, int, HistogramMap &, Waveform< short > &, Waveform< short > &, Waveform< short > &, Waveform< short > &) const =0
 
virtual void getErosionDilationAverageDifference (const Waveform< float > &, int, HistogramMap &, Waveform< float > &, Waveform< float > &, Waveform< float > &, Waveform< float > &) const =0
 
virtual void getErosionDilationAverageDifference (const Waveform< double > &, int, HistogramMap &, Waveform< double > &, Waveform< double > &, Waveform< double > &, Waveform< double > &) const =0
 
virtual void getOpeningAndClosing (const Waveform< short > &, const Waveform< short > &, int, HistogramMap &, Waveform< short > &, Waveform< short > &) const =0
 
virtual void getOpeningAndClosing (const Waveform< float > &, const Waveform< float > &, int, HistogramMap &, Waveform< float > &, Waveform< float > &) const =0
 
virtual void getOpeningAndClosing (const Waveform< double > &, const Waveform< double > &, int, HistogramMap &, Waveform< double > &, Waveform< double > &) const =0
 

Detailed Description

Definition at line 44 of file IWaveformTool.h.

Member Typedef Documentation

using reco_tool::IWaveformTool::PeakTuple = std::tuple<size_t, size_t, size_t>

Definition at line 50 of file IWaveformTool.h.

Definition at line 51 of file IWaveformTool.h.

Constructor & Destructor Documentation

virtual reco_tool::IWaveformTool::~IWaveformTool ( )
virtualdefaultnoexcept

Member Function Documentation

virtual void reco_tool::IWaveformTool::configure ( const fhicl::ParameterSet pset)
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::findPeaks ( std::vector< float >::iterator  ,
std::vector< float >::iterator  ,
PeakTupleVec ,
float  ,
size_t   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::findPeaks ( std::vector< double >::iterator  ,
std::vector< double >::iterator  ,
PeakTupleVec ,
double  ,
size_t   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::firstDerivative ( const std::vector< float > &  ,
std::vector< float > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::firstDerivative ( const std::vector< double > &  ,
std::vector< double > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getErosionDilationAverageDifference ( const Waveform< short > &  ,
int  ,
HistogramMap ,
Waveform< short > &  ,
Waveform< short > &  ,
Waveform< short > &  ,
Waveform< short > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getErosionDilationAverageDifference ( const Waveform< float > &  ,
int  ,
HistogramMap ,
Waveform< float > &  ,
Waveform< float > &  ,
Waveform< float > &  ,
Waveform< float > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getErosionDilationAverageDifference ( const Waveform< double > &  ,
int  ,
HistogramMap ,
Waveform< double > &  ,
Waveform< double > &  ,
Waveform< double > &  ,
Waveform< double > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getFFTPower ( const std::vector< float > &  inputVec,
std::vector< float > &  outputPowerVec 
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getFFTPower ( const std::vector< double > &  inputVec,
std::vector< double > &  outputPowerVec 
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getOpeningAndClosing ( const Waveform< short > &  ,
const Waveform< short > &  ,
int  ,
HistogramMap ,
Waveform< short > &  ,
Waveform< short > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getOpeningAndClosing ( const Waveform< float > &  ,
const Waveform< float > &  ,
int  ,
HistogramMap ,
Waveform< float > &  ,
Waveform< float > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getOpeningAndClosing ( const Waveform< double > &  ,
const Waveform< double > &  ,
int  ,
HistogramMap ,
Waveform< double > &  ,
Waveform< double > &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getTruncatedMeanRMS ( const std::vector< float > &  ,
float &  ,
float &  ,
float &  ,
int &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::getTruncatedMeanRMS ( const std::vector< double > &  ,
double &  ,
double &  ,
double &  ,
int &   
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::medianSmooth ( const std::vector< float > &  ,
std::vector< float > &  ,
size_t  = 3 
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::medianSmooth ( const std::vector< double > &  ,
std::vector< double > &  ,
size_t  = 3 
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::triangleSmooth ( const std::vector< float > &  ,
std::vector< float > &  ,
size_t  = 0 
) const
pure virtual

Implemented in reco_tool::WaveformTools.

virtual void reco_tool::IWaveformTool::triangleSmooth ( const std::vector< double > &  ,
std::vector< double > &  ,
size_t  = 0 
) const
pure virtual

Implemented in reco_tool::WaveformTools.


The documentation for this class was generated from the following file: