25 class TestBasic109 :
public RooFitTestUnit
28 TestBasic109(TFile* refFile,
Bool_t writeRef,
Int_t verbose) : RooFitTestUnit(
"Calculation of chi^2 and residuals in plots",refFile,writeRef,verbose) {} ;
55 gauss.plotOn(frame1) ;
64 regValue(frame1->
chiSquare(),
"rf109_chi2") ;
84 regPlot(frame1,
"rf109_plot1") ;
85 regPlot(frame2,
"rf109_plot2") ;
86 regPlot(frame3,
"rf109_plot3") ;
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.
Double_t chiSquare(int nFitParam=0) const
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", Bool_t invisible=kFALSE, Bool_t refreshNorm=kFALSE)
Add the specified plotable object to our plot.
RooCmdArg Title(const char *name)
A RooHist is a graphical representation of binned data based on the TGraphAsymmErrors class...
RooCmdArg DataError(Int_t)
RooRealVar represents a fundamental (non-derived) real valued object.
RooDataSet is a container class to hold unbinned data.
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'...
RooConstVar & RooConst(Double_t val)
RooCmdArg Bins(Int_t nbin)
RooHist * pullHist(const char *histname=0, const char *pdfname=0, bool useAverage=false) const