Logo ROOT  
Reference Guide
rf309_ndimplot Namespace Reference

Variables

 a0 = ROOT.RooRealVar("a0", "a0", -3.5, -5, 5)
 a1 = ROOT.RooRealVar("a1", "a1", -1.5, -1, 1)
 c1 = ROOT.TCanvas("rf309_2dimplot", "rf309_2dimplot", 800, 800)
 c2 = ROOT.TCanvas("rf309_3dimplot", "rf309_3dimplot", 800, 400)
 data = model.generate({x, y}, 10000)
 data3 = model3.generate({x, y, z}, 10000)
 fy = ROOT.RooFormulaVar("fy", "a0-a1*sqrt(10*abs(y))", [y, a0, a1])
 gz = ROOT.RooGaussian("gz", "gz", z, 0.0, 2.0)
 hh_data = data.createHistogram("x,y", x, Binning=20, YVar=dict(var=y, Binning=20))
 hh_data3
 hh_pdf = model.createHistogram("x,y", 50, 50)
 hh_pdf3
 model = ROOT.RooGaussian("model", "Gaussian with shifting mean", x, fy, sigma)
 model3 = ROOT.RooProdPdf("model3", "model3", [model, gz])
 sigma = ROOT.RooRealVar("sigma", "width of gaussian", 1.5)
 x = ROOT.RooRealVar("x", "x", -5, 5)
 y = ROOT.RooRealVar("y", "y", -5, 5)
 z = ROOT.RooRealVar("z", "z", -5, 5)

Variable Documentation

◆ a0

rf309_ndimplot.a0 = ROOT.RooRealVar("a0", "a0", -3.5, -5, 5)

Definition at line 23 of file rf309_ndimplot.py.

◆ a1

rf309_ndimplot.a1 = ROOT.RooRealVar("a1", "a1", -1.5, -1, 1)

Definition at line 24 of file rf309_ndimplot.py.

◆ c1

rf309_ndimplot.c1 = ROOT.TCanvas("rf309_2dimplot", "rf309_2dimplot", 800, 800)

Definition at line 81 of file rf309_ndimplot.py.

◆ c2

rf309_ndimplot.c2 = ROOT.TCanvas("rf309_3dimplot", "rf309_3dimplot", 800, 400)

Definition at line 101 of file rf309_ndimplot.py.

◆ data

rf309_ndimplot.data = model.generate({x, y}, 10000)

Definition at line 34 of file rf309_ndimplot.py.

◆ data3

rf309_ndimplot.data3 = model3.generate({x, y, z}, 10000)

Definition at line 56 of file rf309_ndimplot.py.

◆ fy

rf309_ndimplot.fy = ROOT.RooFormulaVar("fy", "a0-a1*sqrt(10*abs(y))", [y, a0, a1])

Definition at line 28 of file rf309_ndimplot.py.

◆ gz

rf309_ndimplot.gz = ROOT.RooGaussian("gz", "gz", z, 0.0, 2.0)

Definition at line 53 of file rf309_ndimplot.py.

◆ hh_data

rf309_ndimplot.hh_data = data.createHistogram("x,y", x, Binning=20, YVar=dict(var=y, Binning=20))

Definition at line 40 of file rf309_ndimplot.py.

◆ hh_data3

rf309_ndimplot.hh_data3
Initial value:
1= data3.createHistogram(
2 "hh_data3",
3 x,
4 Binning=8,
5 YVar=dict(var=y, Binning=8),
6 ZVar=dict(var=z, Binning=8),
7)

Definition at line 63 of file rf309_ndimplot.py.

◆ hh_pdf

rf309_ndimplot.hh_pdf = model.createHistogram("x,y", 50, 50)

Definition at line 44 of file rf309_ndimplot.py.

◆ hh_pdf3

rf309_ndimplot.hh_pdf3
Initial value:
1= model3.createHistogram(
2 "hh_model3",
3 x,
4 Binning=20,
5 YVar=dict(var=y, Binning=20),
6 ZVar=dict(var=z, Binning=20),
7)

Definition at line 72 of file rf309_ndimplot.py.

◆ model

rf309_ndimplot.model = ROOT.RooGaussian("model", "Gaussian with shifting mean", x, fy, sigma)

Definition at line 31 of file rf309_ndimplot.py.

◆ model3

rf309_ndimplot.model3 = ROOT.RooProdPdf("model3", "model3", [model, gz])

Definition at line 54 of file rf309_ndimplot.py.

◆ sigma

rf309_ndimplot.sigma = ROOT.RooRealVar("sigma", "width of gaussian", 1.5)

Definition at line 25 of file rf309_ndimplot.py.

◆ x

rf309_ndimplot.x = ROOT.RooRealVar("x", "x", -5, 5)

Definition at line 19 of file rf309_ndimplot.py.

◆ y

rf309_ndimplot.y = ROOT.RooRealVar("y", "y", -5, 5)

Definition at line 20 of file rf309_ndimplot.py.

◆ z

rf309_ndimplot.z = ROOT.RooRealVar("z", "z", -5, 5)

Definition at line 51 of file rf309_ndimplot.py.