28 void rf604_constraints()
90 cout <<
"fit result without constraint (data generated at f=0.5)" << endl ;
92 cout <<
"fit result with internal constraint (data generated at f=0.5, constraint is f=0.8+/-0.2)" << endl ;
94 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.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooRealVar represents a fundamental (non-derived) real valued object.
RooDataSet is a container class to hold unbinned data.
static constexpr double gauss
static constexpr double s
RooCmdArg Save(Bool_t flag=kTRUE)
RooConstVar & RooConst(Double_t val)
RooPolynomial implements a polynomial p.d.f of the form By default coefficient a_0 is chosen to be 1...
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg Constrain(const RooArgSet ¶ms)