31 class TestBasic403 :
public RooFitTestUnit
34 TestBasic403(TFile* refFile,
Bool_t writeRef,
Int_t verbose) : RooFitTestUnit(
"Fits with weighted datasets",refFile,writeRef,verbose) {} ;
62 data->setWeightVar(*w) ;
89 RooPlot* frame =
x.frame(
Title(
"Unbinned ML fit, binned chi^2 fit to weighted data")) ;
145 regResult(r_ml_unw10,
"rf403_ml_unw10") ;
146 regResult(r_ml_unw43,
"rf403_ml_unw43") ;
147 regResult(r_ml_wgt ,
"rf403_ml_wgt") ;
148 regResult(r_chi2_wgt ,
"rf403_ml_chi2") ;
149 regPlot(frame,
"rf403_plot1") ;
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Plot dataset on specified frame.
RooCmdArg LineColor(Color_t color)
RooCmdArg Title(const char *name)
RooDataSet is a container class to hold N-dimensional binned data.
RooDataHist * binnedClone(const char *newName=0, const char *newTitle=0) const
Return binned clone of this dataset.
virtual RooAbsArg * addColumn(RooAbsArg &var, Bool_t adjustRange=kTRUE)
Add a column with the values of the given (function) argument to this dataset.
RooCmdArg DataError(Int_t)
RooCmdArg LineStyle(Style_t style)
static double p2(double t, double a, double b, double c)
RooRealVar represents a fundamental (non-derived) real valued object.
RooCmdArg Name(const char *name)
RooDataSet is a container class to hold unbinned data.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooCmdArg Save(Bool_t flag=kTRUE)
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
RooPolynomial implements a polynomial p.d.f of the form By default coefficient a_0 is chosen to be 1...
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...