diff --git a/BackgroundPdf-Class.md b/BackgroundPdf-Class.md index 5335b5e..ab6ea03 100644 --- a/BackgroundPdf-Class.md +++ b/BackgroundPdf-Class.md @@ -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** \ No newline at end of file +Takes all the avaialbe parameters in the background pdf and sets them to be constant. \ No newline at end of file