54 RooPlot *frame =
x.frame(
Title(
"Adaptive kernel estimation pdf with and w/o mirroring"),
Bins(20));
60 RooPlot *frame2 =
x.frame(
Title(
"Adaptive kernel estimation pdf with regular, increased bandwidth"));
91 TCanvas *
c =
new TCanvas(
"rf707_kernelestimation",
"rf707_kernelestimation", 800, 800);
94 gPad->SetLeftMargin(0.15);
98 gPad->SetLeftMargin(0.15);
102 gPad->SetLeftMargin(0.15);
104 hh_data->
Draw(
"lego");
106 gPad->SetLeftMargin(0.20);
108 hh_pdf->
Draw(
"surf");
109 hh_pdf2->
Draw(
"surfsame");
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 ;.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
TH2F * createHistogram(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2, const char *cuts="", const char *name="hist") const
Create a TH2F histogram of the distribution of the specified variable using this dataset.
Class RooKeysPdf implements a one-dimensional kernel estimation p.d.f which model the distribution of...
Generic N-dimensional implementation of a kernel estimation p.d.f.
A RooPlot is a plot frame and a container for graphics objects within that frame.
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.
RooProdPdf is an efficient implementation of a product of PDFs 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 void SetLineColor(Color_t lcolor)
Set the line color.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooConstVar & RooConst(Double_t val)
RooCmdArg LineColor(Color_t color)
RooCmdArg Bins(Int_t nbin)
RooCmdArg LineStyle(Style_t style)