Logo ROOT  
Reference Guide
rf707_kernelestimation Namespace Reference

Variables

 c = ROOT.TCanvas("rf707_kernelestimation", "rf707_kernelestimation", 800, 800)
 data1 = p.generate({x}, 200)
 data2 = pxy.generate({x, y}, 1000)
 frame = x.frame(Title="Adaptive kernel estimation pdf with and w/o mirroring", Bins=20)
 frame2 = x.frame(Title="Adaptive kernel estimation pdf with regular, bandwidth")
 hh_data = data2.createHistogram("hh_data", x, Binning=10, YVar=dict(var=y, Binning=10))
 hh_pdf = kest4.createHistogram("hh_pdf", x, Binning=25, YVar=dict(var=y, Binning=25))
 hh_pdf2 = kest5.createHistogram("hh_pdf2", x, Binning=25, YVar=dict(var=y, Binning=25))
 kest1 = ROOT.RooKeysPdf("kest1", "kest1", x, data1, ROOT.RooKeysPdf.MirrorBoth)
 kest2 = ROOT.RooKeysPdf("kest2", "kest2", x, data1, ROOT.RooKeysPdf.NoMirror)
 kest3 = ROOT.RooKeysPdf("kest1", "kest1", x, data1, ROOT.RooKeysPdf.MirrorBoth, 2)
 kest4 = ROOT.RooNDKeysPdf("kest4", "kest4", [x, y], data2, "am")
 kest5 = ROOT.RooNDKeysPdf("kest5", "kest5", [x, y], data2, "am", 2)
 LineColor
 LineStyle
 p = ROOT.RooPolynomial("p", "p", x, [0.01, -0.01, 0.0004])
 pxy = ROOT.RooProdPdf("pxy", "pxy", [p, py])
 py
 x = ROOT.RooRealVar("x", "x", 0, 20)
 y = ROOT.RooRealVar("y", "y", 0, 20)

Variable Documentation

◆ c

rf707_kernelestimation.c = ROOT.TCanvas("rf707_kernelestimation", "rf707_kernelestimation", 800, 800)

Definition at line 86 of file rf707_kernelestimation.py.

◆ data1

rf707_kernelestimation.data1 = p.generate({x}, 200)

Definition at line 24 of file rf707_kernelestimation.py.

◆ data2

rf707_kernelestimation.data2 = pxy.generate({x, y}, 1000)

Definition at line 65 of file rf707_kernelestimation.py.

◆ frame

rf707_kernelestimation.frame = x.frame(Title="Adaptive kernel estimation pdf with and w/o mirroring", Bins=20)

Definition at line 43 of file rf707_kernelestimation.py.

◆ frame2

rf707_kernelestimation.frame2 = x.frame(Title="Adaptive kernel estimation pdf with regular, bandwidth")

Definition at line 49 of file rf707_kernelestimation.py.

◆ hh_data

rf707_kernelestimation.hh_data = data2.createHistogram("hh_data", x, Binning=10, YVar=dict(var=y, Binning=10))

Definition at line 78 of file rf707_kernelestimation.py.

◆ hh_pdf

rf707_kernelestimation.hh_pdf = kest4.createHistogram("hh_pdf", x, Binning=25, YVar=dict(var=y, Binning=25))

Definition at line 81 of file rf707_kernelestimation.py.

◆ hh_pdf2

rf707_kernelestimation.hh_pdf2 = kest5.createHistogram("hh_pdf2", x, Binning=25, YVar=dict(var=y, Binning=25))

Definition at line 82 of file rf707_kernelestimation.py.

◆ kest1

rf707_kernelestimation.kest1 = ROOT.RooKeysPdf("kest1", "kest1", x, data1, ROOT.RooKeysPdf.MirrorBoth)

Definition at line 32 of file rf707_kernelestimation.py.

◆ kest2

rf707_kernelestimation.kest2 = ROOT.RooKeysPdf("kest2", "kest2", x, data1, ROOT.RooKeysPdf.NoMirror)

Definition at line 36 of file rf707_kernelestimation.py.

◆ kest3

rf707_kernelestimation.kest3 = ROOT.RooKeysPdf("kest1", "kest1", x, data1, ROOT.RooKeysPdf.MirrorBoth, 2)

Definition at line 40 of file rf707_kernelestimation.py.

◆ kest4

rf707_kernelestimation.kest4 = ROOT.RooNDKeysPdf("kest4", "kest4", [x, y], data2, "am")

Definition at line 71 of file rf707_kernelestimation.py.

◆ kest5

rf707_kernelestimation.kest5 = ROOT.RooNDKeysPdf("kest5", "kest5", [x, y], data2, "am", 2)

Definition at line 75 of file rf707_kernelestimation.py.

◆ LineColor

rf707_kernelestimation.LineColor

Definition at line 46 of file rf707_kernelestimation.py.

◆ LineStyle

rf707_kernelestimation.LineStyle

Definition at line 46 of file rf707_kernelestimation.py.

◆ p

rf707_kernelestimation.p = ROOT.RooPolynomial("p", "p", x, [0.01, -0.01, 0.0004])

Definition at line 21 of file rf707_kernelestimation.py.

◆ pxy

rf707_kernelestimation.pxy = ROOT.RooProdPdf("pxy", "pxy", [p, py])

Definition at line 64 of file rf707_kernelestimation.py.

◆ py

rf707_kernelestimation.py
Initial value:
1= ROOT.RooPolynomial(
2 "py",
3 "py",
4 y,
5 [0.01, 0.01, -0.0004],
6)

Definition at line 58 of file rf707_kernelestimation.py.

◆ x

rf707_kernelestimation.x = ROOT.RooRealVar("x", "x", 0, 20)

Definition at line 20 of file rf707_kernelestimation.py.

◆ y

rf707_kernelestimation.y = ROOT.RooRealVar("y", "y", 0, 20)

Definition at line 57 of file rf707_kernelestimation.py.