22void rf109_chi2residpull()
56 cout <<
"chi^2 = " << frame1->
chiSquare() << endl;
75 TCanvas *
c =
new TCanvas(
"rf109_chi2residpull",
"rf109_chi2residpull", 900, 300);
78 gPad->SetLeftMargin(0.15);
82 gPad->SetLeftMargin(0.15);
86 gPad->SetLeftMargin(0.15);
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
Calls RooPlot* plotOn(RooPlot* frame, const RooLinkedList& cmdList) const ;.
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.
RooHist * residHist(const char *histname=0, const char *pdfname=0, bool normalize=false, bool useAverage=kFALSE) const
Return a RooHist containing the residuals of histogram 'histname' with respect to curve 'curvename'.
Double_t chiSquare(int nFitParam=0) const
Shortcut for RooPlot::chiSquare(const char* pdfname, const char* histname, int nFitParam=0)
RooHist * pullHist(const char *histname=0, const char *pdfname=0, bool useAverage=false) const
Uses residHist() and sets normalize=true.
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", Bool_t invisible=kFALSE, Bool_t refreshNorm=kFALSE)
Add the specified plotable object to our plot.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
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.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooConstVar & RooConst(Double_t val)
RooCmdArg DataError(Int_t)
RooCmdArg Bins(Int_t nbin)
static constexpr double gauss