31 void rf403_weightedevts()
107 RooPlot* frame =
x.frame(
Title(
"Unbinned ML fit, binned chi^2 fit to weighted data")) ;
139 binnedData->
Print(
"v") ;
164 cout <<
"==> ML Fit results on 1K unweighted events" << endl ;
165 r_ml_unw10->
Print() ;
166 cout <<
"==> ML Fit results on 43K unweighted events" << endl ;
167 r_ml_unw43->
Print() ;
168 cout <<
"==> ML Fit results on 1K weighted events with a summed weight of 43K" << endl ;
170 cout <<
"==> Corrected ML Fit results on 1K weighted events with a summed weight of 43K" << endl ;
171 r_ml_wgt_corr->
Print() ;
172 cout <<
"==> Chi2 Fit results on 1K weighted events with a summed weight of 43K" << endl ;
173 r_chi2_wgt->
Print() ;
176 new TCanvas(
"rf403_weightedevts",
"rf403_weightedevts",600,600) ;
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual const char * GetName() const
Returns name of object.
RooCmdArg LineColor(Color_t color)
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooCmdArg Title(const char *name)
RooDataSet is a container class to hold N-dimensional binned data.
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.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
RooCmdArg SumW2Error(Bool_t flag)
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooCmdArg Save(Bool_t flag=kTRUE)
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
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...
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
virtual const char * GetTitle() const
Returns title of object.