36 std::unique_ptr<RooDataSet> data1{
p.generate(
x, 200)};
61 RooPlot *frame2 =
x.
frame(
Title(
"Adaptive kernel estimation pdf with regular, increased bandwidth"));
72 std::unique_ptr<RooDataSet> data2{pxy.generate({
x,
y}, 1000)};
92 TCanvas *
c =
new TCanvas(
"rf707_kernelestimation",
"rf707_kernelestimation", 800, 800);
95 gPad->SetLeftMargin(0.15);
99 gPad->SetLeftMargin(0.15);
103 gPad->SetLeftMargin(0.15);
105 hh_data->
Draw(
"lego");
107 gPad->SetLeftMargin(0.20);
109 hh_pdf->
Draw(
"surf");
110 hh_pdf2->
Draw(
"surfsame");
winID h TVirtualViewer3D TVirtualGLPainter p
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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.
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
RooPolynomial implements a polynomial p.d.f of the form.
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.
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
RooCmdArg Bins(Int_t nbin)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg LineColor(Color_t color)
RooCmdArg LineStyle(Style_t style)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...