5 BackgroundPdf Class
Renata Kopecná edited this page 2022-01-28 17:45:59 +01:00

Table of Contents

Classes

BackgroundPdf: public ParamValues

Contains thhe constrained parameters, the pdf of the constrained paramerers, bool AtLeastOneConstrainFound, the RooFit funtions of (exponential, second exponential, ExpGaus function, Double Crystal ball) and the final background model pdf.

Functions and their parameters:

RooExponential * BackgroundPdf::bkg_exp1()

  • Parameters
    • RooRealVar *B_plus_M
  • Return
    • Returns RooExponential: the first exponential pdf

RooExponential * BackgroundPdf::bkg_exp2()

  • Parameters
    • RooRealVar *B_plus_M
  • Return
    • Returns RooExponential: the second exponential pdf

RooExpAndGauss * BackgroundPdf::ExpG()

  • Parameters
    • RooRealVar *B_plus_M
  • Return
    • Returns RooExpAndGauss: ExpGauss pdf

RooDoubleCB * BackgroundPdf::bkg_CB()

  • Parameters
    • RooRealVar *B_plus_M
  • Return
    • Return RooDoubleCB: double crystal ball pdf

RooAddPdf* BackgroundPdf::getBplusBkgModel()

  • Parameters
    • RooRealVar *B_plus_M
  • Return
    • Returns RooAddPdf, the full background model

void BackgroundPdf::setAllRooVarsConstant()

Takes all the avaialbe parameters in the background pdf and sets them to be constant.