|
| ResCrystalBallJets (const char *filename) |
| The default constructor.
|
|
| ResCrystalBallJets (std::vector< double > const ¶meters) |
| A constructor that takes parameters directly, unlike the default constructor that takes a path to the file with TFs. More...
|
|
| ~ResCrystalBallJets () |
| The (defaulted) destructor.
|
|
double | GetAlpha (double x) override |
| Calculate the alpha from the TF parameters and the value of x. More...
|
|
double | GetN (double x) override |
| Calculate the n parameter from the TF parameters and the value of x. More...
|
|
double | GetSigma (double x) override |
| Calculate the sigma from the TF parameters and the value of x. More...
|
|
double | GetMean (double x) override |
| Calculate the mean from the TF parameters and the value of x. More...
|
|
| ResCrystalBallBase (const char *filename) |
| The default constructor.
|
|
| ResCrystalBallBase (std::vector< double > const ¶meters) |
| A constructor that takes parameters directly, unlike the default constructor that takes a path to the file with TFs. More...
|
|
virtual | ~ResCrystalBallBase () |
| The (defaulted) destructor.
|
|
double | logp (double x, double xmeas, bool *good, double=0) override |
| Return the probability of the true value of x given the measured value, xmeas. More...
|
|
double | LogCrystalBallFunction (double x, double alpha, double n, double sigma, double mean) |
| A function that calculates CrystalBall See twiki: https://en.wikipedia.org/wiki/Crystal_Ball_function. More...
|
|
double | ApproxError (double x) |
| An approximation of the error function needed to calculate crystal ball normalization with precision < 1e-4. More...
|
|
| ResolutionBase (int npar) |
| The default constructor. More...
|
|
| ResolutionBase (std::vector< double > parameters) |
| A constructor. More...
|
|
virtual | ~ResolutionBase () |
| The (defaulted) destructor.
|
|
int | Par (int index, double *par) |
| Return a parameter of the parameterization. More...
|
|
int | SetPar (int index, double value) |
| Set a parameter value. More...
|
|
int | SetPar (std::vector< double > parameters) |
| Set all parameter values. More...
|
|
int | ReadParameters (const char *filename, std::size_t nparameters) |
| Read parameter values from ASCII file. More...
|
|
int | Status () |
| Return a status code. More...
|
|
This class offers a simple parameterization of a resolution.
The parameterization is a crystal ball with energy dependent parameters.