GET library
|
#include "GETSampleAnalysis.hh"
Functions | |
GETSample * | GETCreateCFDDelayedSample (GETSample &sample, double frac, double delay) |
GETSample * | GETCreateCFDDelayedSample (GETSample &sample, GETFilterShift &filter) |
GETFilterShift * | GETCreateCFDFilter (GETSample &sample, double frac, double delay) |
GETSample * | GETCreateCFDSample (GETSample &sample, double frac, double delay) |
GETSample * | GETCreateCFDSample (GETSample &sample, GETFilterShift &filter) |
double | GETTimingCFD (GETSample &sample, double frac, double delay) |
double | GETTimingCFD (GETSample &sample, GETFilterShift &filter) |
double | GETZeroCrossing (GETSample &sample) |
Source file for samples analysis functions.
Function that create the delayed and scaled sample from argument sample. Function used in the CFD timing analysis.
sample | input sample (to be analysed) |
frac | constant fraction value |
delay | CFD delay (signal rise time) |
References GETCreateCFDDelayedSample(), and GETCreateCFDFilter().
Referenced by GETCreateCFDDelayedSample(), and GETCreateCFDSample().
GETSample* GETCreateCFDDelayedSample | ( | GETSample & | sample, |
GETFilterShift & | filter | ||
) |
Function that create the delayed and scaled sample from argument sample. Function used in the CFD timing analysis.
sample | input sample (to be analysed) |
filter | filter for shift and scale of the input sample |
References GETFilter::GetFilter().
GETFilterShift* GETCreateCFDFilter | ( | GETSample & | sample, |
double | frac, | ||
double | delay | ||
) |
Create the filter for the transformation of the signal in the CFD algorithm. The input sample is given only for filter initialisation.
sample | input sample |
frac | constant fraction value |
delay | CFD delay (signal rise time) |
References GETProcess::GetDimension(), and GETFilter::Scale().
Referenced by GETCreateCFDDelayedSample(), and GETCreateCFDSample().
Function that create the differential sample from argument sample. Function used in the CFD timing analysis.
sample | input sample (to be analysed) |
frac | constant fraction value |
delay | CFD delay (signal rise time) |
References GETCreateCFDFilter(), and GETCreateCFDSample().
Referenced by GETCreateCFDSample(), and GETTimingCFD().
GETSample* GETCreateCFDSample | ( | GETSample & | sample, |
GETFilterShift & | filter | ||
) |
Function that create the differential sample from argument sample. Function used in the CFD timing analysis.
sample | input sample (to be analysed) |
filter | filter for shift and scale of the input sample |
References GETCreateCFDDelayedSample().
double GETTimingCFD | ( | GETSample & | sample, |
double | frac, | ||
double | delay | ||
) |
Compute the signal timing from a Constant Fraction Discriminator (CFD) analysis. The sample is supposed to have a peak... When the zero-crossing is found, a linear interpolation is performed. If there is no zero crossing, the function returns a value that is lower than the sample start time.
sample | sample to analyse |
frac | constant fraction value |
delay | CFD delay (signal rise time) |
References GETCreateCFDSample(), and GETZeroCrossing().
Referenced by GETSystemAnalyser::CalcChannelOutput().
double GETTimingCFD | ( | GETSample & | sample, |
GETFilterShift & | filter | ||
) |
Compute the signal timing from a Constant Fraction Discriminator (CFD) analysis. The sample is supposed to have a peak... When the zero-crossing is found, a linear interpolation is performed. If there is no zero crossing, the function returns a value that is lower than the sample start time.
sample | sample to analyse |
filter | filter for shift and scale of the input sample |
References GETCreateCFDSample(), and GETZeroCrossing().
double GETZeroCrossing | ( | GETSample & | sample | ) |
Find the time for zero crossing between the minimum and maximum values of the input sample. If there is no zero crossing, the function returns a value that is lower than the sample start time.
sample | input sample |
Referenced by GETTimingCFD().