4 #include <RtypesCore.h>
22 Double_t operator()(
double *_x,
double *par);
101 TVector2
evalResolution(Double_t mean, Double_t meanErr, Double_t std, Double_t stdErr);
Definition: FitUtils.h:19
Definition: RootUtils.cxx:76
TVector2 getCrystalBallResolution(TF1 *cball, ResolutionType rt=CBFunctionMomenta)
Calculate Crystal Ball resolution value (standard deviation / mean).
Definition: FitUtils.cpp:238
TF1 * getCrystalBallGaussComponent(TF1 *cball)
Get gaussian part of the crystal ball function.
Definition: FitUtils.cpp:199
TF1 * getCrystalBallFunction(TH1 *hist, Bool_t reversed)
Obtain a CrystalBall fitting function based on a given histogram.
Definition: FitUtils.cpp:67
TVector2 evalResolution(Double_t mean, Double_t meanErr, Double_t std, Double_t stdErr)
Calculate resolution of a distribution with given standard deviation and mean.
Definition: FitUtils.cpp:230
TVector2 getCrystalBallDispersion(TF1 *cball)
Calculate Crystal Ball dispersion (standard deviation) value.
Definition: FitUtils.cpp:159
ResolutionType
Definition: FitUtils.h:79
@ CBGaussianPart
Definition: FitUtils.h:81
@ CBFunctionMomenta
Definition: FitUtils.h:80
TVector2 getCrystalBallMean(TF1 *cball)
Calculate Crystal Ball function mean value.
Definition: FitUtils.cpp:119