1 #ifndef _WF_OPERATIONS_H_
2 #define _WF_OPERATIONS_H_
50 template <
class T>
static inline float getCFD(T* a_wf,
73 template <
class T>
static inline std::vector<std::pair<int,int>>
82 template <
class T>
static inline std::vector<std::pair<int,int>>
91 template <
class T>
static
92 std::vector< std::complex<double> >
getWfFFT(T* a_wf,
Definition: WFOperations.h:19
static std::vector< std::pair< int, int > > overThreshold(T *a_wf, uint a_num, float a_baseline, float a_max)
Definition: WFOperations.hpp:129
static float getCFD(T *a_wf, uint a_num, float a_mean, float a_frac, bool a_negPulse)
Definition: WFOperations.hpp:77
static std::vector< std::complex< double > > getWfFFT(T *a_wf, int a_range)
For FFT stuff - Added 01/30/24.
Definition: WFOperations.hpp:196
static int findSampleLeadingEdgeTrig(T *a_wf, uint a_num, float a_baseline, float a_threshold)
Definition: WFOperations.hpp:89
static float estimateBaseline(T *a_wf, uint a_num)
this function averages the number of samples specified
Definition: WFOperations.hpp:6
static std::vector< std::pair< int, int > > underThreshold(T *a_wf, uint a_num, float a_baseline, float a_max)
Definition: WFOperations.hpp:162
static float integrateTrace(T *a_wf, float a_baseline, int a_startSample, int a_stopSample, bool a_negPulse)
Definition: WFOperations.hpp:106
WFOperations()
Definition: WFOperations.cpp:5
static void estimateBaselineDel(T *a_wf, uint a_num, float a_baseline, float &a_Dmax)
Definition: WFOperations.hpp:40