GET library
|
#include "GETChannel.hh"
Go to the source code of this file.
Functions for fitting the signals | |
u_int | getIntegPoints |
double | GETSquareCurrent (const double x[], const double p[]) |
double | GETSquareCurrentGaus (const double x[], const double p[]) |
double | GETSquareCurrentGSC (const double x[], const double p[]) |
double | GETSquareCurrent2 (const double x[], const double p[]) |
double | GETSquareCurrent2Gaus (const double x[], const double p[]) |
double | GETSquareCurrent2GSC (const double x[], const double p[]) |
Gauss function multiplied by sin(x)/x | |
TGraph * | getGSCNorm |
u_int | getGSCConvPoints |
double | getGSCConvMax |
void | GETSetNormalizationGSC () |
double | GETGausSinC (const double x[], const double p[]) |
double | GETGausSinC (double t, double amp, double ctr, double sig, double w) |
double | GETConvolutionGSC (const double x[], const double pg[], double(*fct)(const double[], const double[]), const double pf[]) |
Include file for signal analysis functions.
double GETConvolutionGSC | ( | const double | x[], |
const double | pg[], | ||
double(*)(const double[], const double[]) | fct, | ||
const double | pf[] | ||
) |
Function computing the convolution of a user function with the GETGausSinC function.
x | array of coordinates (only x[0] is used) |
pg | parameters of the GETGausSinC function (4 parameters) |
fct | user function pointer |
pf | parameters of the user function |
References GETGausSinC(), getGSCConvMax, and getGSCConvPoints.
Referenced by GETSquareCurrent2GSC(), and GETSquareCurrentGSC().
double GETGausSinC | ( | double | t, |
double | amp, | ||
double | ctr, | ||
double | sig, | ||
double | w | ||
) |
Product of a Gaus function with sinc function: G(x) * sin(x/w) / (x/w).
t | point to compute |
amp | amplitude (1 for normalized function) |
ctr | center |
sig | sigma |
w | sine cardinal dilatation factor |
References getGSCNorm, and GETSetNormalizationGSC().
Referenced by GETConvolutionGSC().
void GETSetNormalizationGSC | ( | ) |
Function that computes the points for the calculation of the GETGausSinC normalization.
References getGSCNorm, and getIntegPoints.
Referenced by GETGausSinC().
double GETSquareCurrent | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution.
x | coordinates array (only 1 used) |
p | parameters array |
Referenced by GETSquareCurrent2GSC(), and GETSquareCurrentGSC().
double GETSquareCurrent2 | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution.
x | coordinates array (only 1 used) |
p | parameters array |
double GETSquareCurrent2Gaus | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution, convoluted with a gaus function (smoothing).
x | coordinates array (only 1 used) |
p | parameters array |
double GETSquareCurrent2GSC | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution, convoluted with a gaus function (smoothing).
x | coordinates array (only 1 used) |
p | parameters array |
References GETConvolutionGSC(), and GETSquareCurrent().
double GETSquareCurrentGaus | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution, convoluted with a gaus function (smoothing).
x | coordinates array (only 1 used) |
p | parameters array |
double GETSquareCurrentGSC | ( | const double | x[], |
const double | p[] | ||
) |
Function for a square current distribution, convoluted with a gaus function (smoothing).
x | coordinates array (only 1 used) |
p | parameters array |
References GETConvolutionGSC(), and GETSquareCurrent().
double getGSCConvMax |
integration size for convolution with GETGausSinC function (in units of sigma).
Referenced by GETConvolutionGSC().
u_int getGSCConvPoints |
number of points for convolution with GETGausSinC function.
Referenced by GETConvolutionGSC().
TGraph* getGSCNorm |
Normalisation values for GETGausSinC function (computed by interpolation).
Referenced by GETGausSinC(), and GETSetNormalizationGSC().
u_int getIntegPoints |
global variable for integration step number.
Referenced by GETSetNormalizationGSC().