Update 'BackgroundPdf Class'

Renata Kopecná 2022-01-28 17:17:00 +01:00
parent 589eda329c
commit 3aae4c7c16

@ -6,49 +6,54 @@
# Classes
### BackgroundPdf: public ParamValues
* **Private members:**
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.
* **Public members:**
* BackgroundPdf(){}; //default constructor
* RooArgSet * ConsParameter = new RooArgSet();
* RooArgList * ConsPDF = new RooArgList();
* bool AtLeastOneConstrainFound = false;
* RooExponential * bkg_exp1(RooRealVar *B_plus_M);
* RooExponential * bkg_exp2(RooRealVar *B_plus_M);
* RooExpAndGauss * ExpG(RooRealVar *B_plus_M);
* RooDoubleCB * bkg_CB(RooRealVar *B_plus_M);
* RooAddPdf* getBplusBkgModel(RooRealVar *B_plus_M);
* **Functions:**
* **groundPdf()**
* **Parameters**
* }; //default constructor
* **Return**
* void setAllRooVarsConstant();
* ~BackgroundPdf(){}; //default destructor
# 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()
* **Parameters**
*
* **Return**
Takes all the avaialbe parameters in the background pdf and sets them to be constant.