80 cout <<
"fit result without constraint (data generated at f=0.5)" << endl;
82 cout <<
"fit result with internal constraint (data generated at f=0.5, constraint is f=0.8+/-0.2)" << endl;
84 cout <<
"fit result with (another) external constraint (data generated at f=0.5, constraint is f=0.2+/-0.1)" << endl;
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooPolynomial implements a polynomial p.d.f of the form.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
RooRealVar represents a variable that can be changed from the outside.
RooConstVar & RooConst(Double_t val)
RooCmdArg Constrain(const RooArgSet ¶ms)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg Save(Bool_t flag=kTRUE)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...