![]() |
DAS
3.0
Das Analysis System
|
Functor to get the standard Double Crystal Ball distribution
Note: the formula looks a little bit different from the "Wikipedia" formula to avoid too large numbers in the intermediate steps of the calculation.
#include <DoubleCrystalBall.h>
Inheritance diagram for Distribution:
Collaboration diagram for Distribution:Public Member Functions | |
| void | Eval (double *x) final |
Public Member Functions inherited from Base | |
| double | Z (double x) |
| void | SetParameters (double *p) |
| double | operator() (double *x, double *p) |
| Base (TF1 *f=nullptr) | |
| void | dump () |
| virtual | ~Base ()=default |
Additional Inherited Members | |
Public Attributes inherited from Base | |
| double | N |
| double | mu |
| double | sigma |
| double | kL |
| double | nL |
| double | kR |
| double | nR |
| double | AL |
| double | AR |
| double | BL |
| double | BR |
| double | z |
| double | aR |
| double | aL |
| double | expaR2 |
| double | expaL2 |
| double | CR |
| double | CL |
| double | DD |
| double | K |
| double | result |
|
finalvirtual |
Virtual method to calculate the value of the function, given the internal set of parameters and the value of x given as parameter.
Implements Base.