Logo ROOT  
Reference Guide
rf706_histpdf Namespace Reference

Variables

 c = ROOT.TCanvas("rf706_histpdf", "rf706_histpdf", 800, 400)
 data1 = p.generate({x}, 500)
 data2 = p.generate({x}, 100000)
 frame1 = x.frame(Title="Low statistics histogram pdf", Bins=100)
 frame2 = x.frame(Title="High stats histogram pdf with interpolation", Bins=100)
 hist1 = data1.binnedClone()
 hist2 = data2.binnedClone()
 histpdf1 = ROOT.RooHistPdf("histpdf1", "histpdf1", {x}, hist1, 0)
 histpdf2 = ROOT.RooHistPdf("histpdf2", "histpdf2", {x}, hist2, 2)
 p = ROOT.RooPolynomial("p", "p", x, [0.01, -0.01, 0.0004])
 x = ROOT.RooRealVar("x", "x", 0, 20)

Variable Documentation

◆ c

rf706_histpdf.c = ROOT.TCanvas("rf706_histpdf", "rf706_histpdf", 800, 400)

Definition at line 58 of file rf706_histpdf.py.

◆ data1

rf706_histpdf.data1 = p.generate({x}, 500)

Definition at line 27 of file rf706_histpdf.py.

◆ data2

rf706_histpdf.data2 = p.generate({x}, 100000)

Definition at line 45 of file rf706_histpdf.py.

◆ frame1

rf706_histpdf.frame1 = x.frame(Title="Low statistics histogram pdf", Bins=100)

Definition at line 36 of file rf706_histpdf.py.

◆ frame2

rf706_histpdf.frame2 = x.frame(Title="High stats histogram pdf with interpolation", Bins=100)

Definition at line 54 of file rf706_histpdf.py.

◆ hist1

rf706_histpdf.hist1 = data1.binnedClone()

Definition at line 30 of file rf706_histpdf.py.

◆ hist2

rf706_histpdf.hist2 = data2.binnedClone()

Definition at line 48 of file rf706_histpdf.py.

◆ histpdf1

rf706_histpdf.histpdf1 = ROOT.RooHistPdf("histpdf1", "histpdf1", {x}, hist1, 0)

Definition at line 33 of file rf706_histpdf.py.

◆ histpdf2

rf706_histpdf.histpdf2 = ROOT.RooHistPdf("histpdf2", "histpdf2", {x}, hist2, 2)

Definition at line 51 of file rf706_histpdf.py.

◆ p

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

Definition at line 20 of file rf706_histpdf.py.

◆ x

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

Definition at line 19 of file rf706_histpdf.py.