27 class TestBasic706 :
public RooFitTestUnit
30 TestBasic706(TFile* refFile,
Bool_t writeRef,
Int_t verbose) : RooFitTestUnit(
"Histogram based p.d.f.s",refFile,writeRef,verbose) {} ;
52 RooHistPdf histpdf1(
"histpdf1",
"histpdf1",
x,*hist1,0) ;
57 histpdf1.plotOn(frame1) ;
71 RooHistPdf histpdf2(
"histpdf2",
"histpdf2",
x,*hist2,2) ;
74 RooPlot* frame2 =
x.frame(
Title(
"High stats histogram pdf with interpolation"),
Bins(100)) ;
76 histpdf2.plotOn(frame2) ;
79 regPlot(frame1,
"rf607_plot1") ;
80 regPlot(frame2,
"rf607_plot2") ;
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.
RooCmdArg Title(const char *name)
RooDataSet is a container class to hold N-dimensional binned data.
RooDataHist * binnedClone(const char *newName=0, const char *newTitle=0) const
Return binned clone of this dataset.
RooRealVar represents a fundamental (non-derived) real valued object.
RooHistPdf implements a probablity density function sampled from a multidimensional histogram...
RooDataSet is a container class to hold unbinned data.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooConstVar & RooConst(Double_t val)
RooCmdArg Bins(Int_t nbin)
RooPolynomial implements a polynomial p.d.f of the form By default coefficient a_0 is chosen to be 1...