Skip to content

class FitFunctions

This class hold all fit functions for histograms.

class FitFunctions::Primary

This class is holding primary fit functions for histograms.

Content list

Functions details

Gaus(...)

static double Gaus(double *x, double *par)

Parameters:

par = [height, position, sigma]

Pol1(...)

static double Pol1(double *x, double *par)

Parameters:

par = [b, a]

Pol3(...)

static double Pol3(double *x, double *par)

Parameters:

par = [d, c, b, a]

Exp(...)

static double Exp(double *x, double *par)

Parameters:

par = [height, width]

CrystalBall(...)

static double CrystalBall(double *x, double *par)

Parameters:

par = [alpha, n, mean, sigma, yield]

class FitFunctions::Merged

This class holds merged fit functions for histograms.

Content list

Functions details

Jpsi::Signal_InvariantMass(...)

static double Signal_InvariantMass(double *x, double *par)

Form:

Gaus + CrystalBall

Parameters:

par = [height, position, sigma, alpha, n, mean, sigma, yield]

Jpsi::Background_InvariantMass(...)

static double Background_InvariantMass(double *x, double *par)

Form:

Exp

Parameters:

par = [b, a]

Jpsi::InvariantMass(...)

static double Signal_InvariantMass(double *x, double *par) + Background_InvariantMass(double *x, double *par)

Form:

Gaus + CrystalBall + Exp

Parameters:

par = [height1, position1, sigma1, alpha2, n2, mean2, sigma2, yield2, b, a]

Upsilon::Signal_InvariantMass(...)

static double Signal_InvariantMass(double *x, double *par)

Form:

CrystalBall + Gaus + Gaus

Parameters:

par = [alpha1, n1, mean1, sigma1, yield1, height2, position2, sigma2, height3, position3, sigma3]

Upsilon::Background_InvariantMass(...)

static double Background_InvariantMass(double *x, double *par)

Form:

Pol3

Parameters:

par = [d, c, b, a]

Upsilon::InvariantMass(...)

static double Signal_InvariantMass(double *x, double *par) + Background_InvariantMass(double *x, double *par)

Form:

CrystalBall + Gaus + Gaus + Pol3

Parameters:

par = [alpha1, n1, mean1, sigma1, yield1, height2, position2, sigma2, height3, position3, sigma3, d, c, b, a]