#include <FunctionMath.h>
|
static double | ChebyshevFunction (double x, double *p, int order) |
| Defines a Chebyshev polynomial function.
|
|
static double | LegendreFunction (double x, double *p, int order) |
| Define a Legendre polynomial function.
|
|
static double | Gaussian (double x, double amplitude, double mean, double stddev) |
| Defines a Gaussian function for signal-fitting.
|
|
static double | CrystalBall (double x, double amplitude, double mean, double stddev, double alpha, double n) |
| Defines a crystal ball function for signal-fitting.
|
|
|
static double | calcA (double n, double absAlpha) |
| Calculates a portion of the crystal ball function.
|
|
static double | calcB (double n, double absAlpha) |
| Calculates a portion of the crystal ball function.
|
|
Definition at line 4 of file FunctionMath.h.
◆ calcA()
double calcA |
( |
double |
n, |
|
|
double |
absAlpha |
|
) |
| |
|
staticprivate |
Calculates a portion of the crystal ball function.
- Parameters
-
- Returns
- double
Definition at line 51 of file FunctionMath.cxx.
◆ calcB()
double calcB |
( |
double |
n, |
|
|
double |
absAlpha |
|
) |
| |
|
staticprivate |
Calculates a portion of the crystal ball function.
- Parameters
-
- Returns
- double
Definition at line 55 of file FunctionMath.cxx.
◆ ChebyshevFunction()
double ChebyshevFunction |
( |
double |
x, |
|
|
double * |
p, |
|
|
int |
order |
|
) |
| |
|
static |
Defines a Chebyshev polynomial function.
- Parameters
-
- Returns
- double
Definition at line 4 of file FunctionMath.cxx.
◆ CrystalBall()
double CrystalBall |
( |
double |
x, |
|
|
double |
amplitude, |
|
|
double |
mean, |
|
|
double |
stddev, |
|
|
double |
alpha, |
|
|
double |
n |
|
) |
| |
|
static |
Defines a crystal ball function for signal-fitting.
- Parameters
-
x | |
amplitude | |
mean | |
stddev | |
alpha | |
n | |
- Returns
- double
Definition at line 34 of file FunctionMath.cxx.
◆ Gaussian()
double Gaussian |
( |
double |
x, |
|
|
double |
amplitude, |
|
|
double |
mean, |
|
|
double |
stddev |
|
) |
| |
|
static |
Defines a Gaussian function for signal-fitting.
- Parameters
-
- Returns
- double
Definition at line 30 of file FunctionMath.cxx.
◆ LegendreFunction()
double LegendreFunction |
( |
double |
x, |
|
|
double * |
p, |
|
|
int |
order |
|
) |
| |
|
static |
Define a Legendre polynomial function.
- Parameters
-
- Returns
- double
Definition at line 17 of file FunctionMath.cxx.
The documentation for this class was generated from the following files: