29void rf403_weightedevts()
128 binnedData->
Print(
"v");
151 cout <<
"==> ML Fit results on 1K unweighted events" << endl;
153 cout <<
"==> ML Fit results on 43K unweighted events" << endl;
155 cout <<
"==> ML Fit results on 1K weighted events with a summed weight of 43K" << endl;
157 cout <<
"==> Corrected ML Fit results on 1K weighted events with a summed weight of 43K" << endl;
158 r_ml_wgt_corr->
Print();
159 cout <<
"==> Chi2 Fit results on 1K weighted events with a summed weight of 43K" << endl;
162 new TCanvas(
"rf403_weightedevts",
"rf403_weightedevts", 600, 600);
163 gPad->SetLeftMargin(0.15);
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooChi2Var implements a simple calculation from a binned dataset and a PDF.
The RooDataHist is a container class to hold N-dimensional binned data.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const override
Return RooArgSet with coordinates of event 'index'.
virtual RooAbsArg * addColumn(RooAbsArg &var, Bool_t adjustRange=kTRUE)
Add a column with the values of the given (function) argument to this dataset.
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.
RooPlot * plotOn(RooPlot *frame, const RooAbsArg &par1, const RooAbsArg &par2, const char *options="ME") const
Add objects to a 2D plot.
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
A RooPlot is a plot frame and a container for graphics objects within that frame.
static RooPlot * frame(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins)
Create a new frame for a given variable in x.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooPolynomial implements a polynomial p.d.f of the form.
RooRealVar represents a variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg DataError(Int_t)
RooCmdArg LineColor(Color_t color)
RooCmdArg LineStyle(Style_t style)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...