Logo ROOT  
Reference Guide
rf304_uncorrprod Namespace Reference

Variables

 c = ROOT.TCanvas("rf304_uncorrprod", "rf304_uncorrprod", 800, 400)
 data = gaussxy.generate({x, y}, 10000)
 gaussx = ROOT.RooGaussian("gaussx", "gaussian PDF", x, meanx, sigmax)
 gaussxy = ROOT.RooProdPdf("gaussxy", "gaussx*gaussy", [gaussx, gaussy])
 gaussy = ROOT.RooGaussian("gaussy", "gaussian PDF", y, meany, sigmay)
 meanx = ROOT.RooRealVar("mean1", "mean of gaussian x", 2)
 meany = ROOT.RooRealVar("mean2", "mean of gaussian y", -2)
 sigmax = ROOT.RooRealVar("sigmax", "width of gaussian x", 1)
 sigmay = ROOT.RooRealVar("sigmay", "width of gaussian y", 5)
 x = ROOT.RooRealVar("x", "x", -5, 5)
 xframe = x.frame(Title="X projection of gauss(x)*gauss(y)")
 y = ROOT.RooRealVar("y", "y", -5, 5)
 yframe = y.frame(Title="Y projection of gauss(x)*gauss(y)")

Variable Documentation

◆ c

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

Definition at line 59 of file rf304_uncorrprod.py.

◆ data

rf304_uncorrprod.data = gaussxy.generate({x, y}, 10000)

Definition at line 44 of file rf304_uncorrprod.py.

◆ gaussx

rf304_uncorrprod.gaussx = ROOT.RooGaussian("gaussx", "gaussian PDF", x, meanx, sigmax)

Definition at line 31 of file rf304_uncorrprod.py.

◆ gaussxy

rf304_uncorrprod.gaussxy = ROOT.RooProdPdf("gaussxy", "gaussx*gaussy", [gaussx, gaussy])

Definition at line 38 of file rf304_uncorrprod.py.

◆ gaussy

rf304_uncorrprod.gaussy = ROOT.RooGaussian("gaussy", "gaussian PDF", y, meany, sigmay)

Definition at line 32 of file rf304_uncorrprod.py.

◆ meanx

rf304_uncorrprod.meanx = ROOT.RooRealVar("mean1", "mean of gaussian x", 2)

Definition at line 26 of file rf304_uncorrprod.py.

◆ meany

rf304_uncorrprod.meany = ROOT.RooRealVar("mean2", "mean of gaussian y", -2)

Definition at line 27 of file rf304_uncorrprod.py.

◆ sigmax

rf304_uncorrprod.sigmax = ROOT.RooRealVar("sigmax", "width of gaussian x", 1)

Definition at line 28 of file rf304_uncorrprod.py.

◆ sigmay

rf304_uncorrprod.sigmay = ROOT.RooRealVar("sigmay", "width of gaussian y", 5)

Definition at line 29 of file rf304_uncorrprod.py.

◆ x

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

Definition at line 23 of file rf304_uncorrprod.py.

◆ xframe

rf304_uncorrprod.xframe = x.frame(Title="X projection of gauss(x)*gauss(y)")

Definition at line 48 of file rf304_uncorrprod.py.

◆ y

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

Definition at line 24 of file rf304_uncorrprod.py.

◆ yframe

rf304_uncorrprod.yframe = y.frame(Title="Y projection of gauss(x)*gauss(y)")

Definition at line 54 of file rf304_uncorrprod.py.