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) | |
| rf706_histpdf.c = ROOT.TCanvas("rf706_histpdf", "rf706_histpdf", 800, 400) |
Definition at line 58 of file rf706_histpdf.py.
| rf706_histpdf.data1 = p.generate({x}, 500) |
Definition at line 27 of file rf706_histpdf.py.
| rf706_histpdf.data2 = p.generate({x}, 100000) |
Definition at line 45 of file rf706_histpdf.py.
| rf706_histpdf.frame1 = x.frame(Title="Low statistics histogram pdf", Bins=100) |
Definition at line 36 of file rf706_histpdf.py.
| rf706_histpdf.frame2 = x.frame(Title="High stats histogram pdf with interpolation", Bins=100) |
Definition at line 54 of file rf706_histpdf.py.
| rf706_histpdf.hist1 = data1.binnedClone() |
Definition at line 30 of file rf706_histpdf.py.
| rf706_histpdf.hist2 = data2.binnedClone() |
Definition at line 48 of file rf706_histpdf.py.
Definition at line 33 of file rf706_histpdf.py.
Definition at line 51 of file rf706_histpdf.py.
| rf706_histpdf.p = ROOT.RooPolynomial("p", "p", x, [0.01, -0.01, 0.0004]) |
Definition at line 20 of file rf706_histpdf.py.
| rf706_histpdf.x = ROOT.RooRealVar("x", "x", 0, 20) |
Definition at line 19 of file rf706_histpdf.py.