58   cout << 
"chi^2 = " << frame1->
chiSquare() << endl;
 
   77   TCanvas *
c = 
new TCanvas(
"rf109_chi2residpull", 
"rf109_chi2residpull", 900, 300);
 
   80   gPad->SetLeftMargin(0.15);
 
   84   gPad->SetLeftMargin(0.15);
 
   88   gPad->SetLeftMargin(0.15);
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
RooDataSet is a container class to hold unbinned data.
 
A RooHist is a graphical representation of binned data based on the TGraphAsymmErrors class.
 
A RooPlot is a plot frame and a container for graphics objects within that frame.
 
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
 
double chiSquare(int nFitParam=0) const
Shortcut for RooPlot::chiSquare(const char* pdfname, const char* histname, int nFitParam=nullptr)
 
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
 
RooHist * residHist(const char *histname=nullptr, const char *pdfname=nullptr, bool normalize=false, bool useAverage=true) const
Return a RooHist (derives from TGraphAsymErrors) containing the residuals of a histogram.
 
RooHist * pullHist(const char *histname=nullptr, const char *pdfname=nullptr, bool useAverage=true) const
Uses residHist() and sets normalize=true.
 
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", bool invisible=false, bool refreshNorm=false)
Add the specified plotable object to our plot.
 
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.
 
RooConstVar & RooConst(double val)
 
RooCmdArg Bins(Int_t nbin)
 
RooCmdArg DataError(Int_t)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...