26void rf707_kernelestimation()
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);
100 frame2->GetYaxis()->SetTitleOffset(1.8);
103 gPad->SetLeftMargin(0.15);
104 hh_data->GetZaxis()->SetTitleOffset(1.4);
107 gPad->SetLeftMargin(0.20);
108 hh_pdf->GetZaxis()->SetTitleOffset(2.4);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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.
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.
Variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
TH1 is the base class of all histogram classes in ROOT.
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
RooCmdArg Bins(Int_t nbin)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg LineColor(TColorNumber color)
RooCmdArg LineStyle(Style_t style)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...