Logo ROOT  
Reference Guide
rf305_condcorrprod Namespace Reference

Variables

 a0 = ROOT.RooRealVar("a0", "a0", -0.5, -5, 5)
 a1 = ROOT.RooRealVar("a1", "a1", -0.5, -1, 1)
 c = ROOT.TCanvas("rf305_condcorrprod", "rf05_condcorrprod", 1200, 400)
 data = model.generate({x, y}, 10000)
 fy = ROOT.RooPolyVar("fy", "fy", y, [a0, a1])
 gaussx = ROOT.RooGaussian("gaussx", "Gaussian in x with shifting mean in y", x, fy, sigmax)
 gaussy = ROOT.RooGaussian("gaussy", "Gaussian in y", y, 0.0, 3.0)
 hh_model = model.createHistogram("hh_model", x, ROOT.RooFit.Binning(50), ROOT.RooFit.YVar(y, ROOT.RooFit.Binning(50)))
 model = ROOT.RooProdPdf("model", "gaussx(x|y)*gaussy(y)", {gaussy}, Conditional=({gaussx}, {x}))
 sigmax = ROOT.RooRealVar("sigma", "width of gaussian", 0.5)
 x = ROOT.RooRealVar("x", "x", -5, 5)
 xframe = x.frame()
 y = ROOT.RooRealVar("y", "y", -5, 5)
 yframe = y.frame()

Variable Documentation

◆ a0

rf305_condcorrprod.a0 = ROOT.RooRealVar("a0", "a0", -0.5, -5, 5)

Definition at line 25 of file rf305_condcorrprod.py.

◆ a1

rf305_condcorrprod.a1 = ROOT.RooRealVar("a1", "a1", -0.5, -1, 1)

Definition at line 26 of file rf305_condcorrprod.py.

◆ c

rf305_condcorrprod.c = ROOT.TCanvas("rf305_condcorrprod", "rf05_condcorrprod", 1200, 400)

Definition at line 68 of file rf305_condcorrprod.py.

◆ data

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

Definition at line 49 of file rf305_condcorrprod.py.

◆ fy

rf305_condcorrprod.fy = ROOT.RooPolyVar("fy", "fy", y, [a0, a1])

Definition at line 27 of file rf305_condcorrprod.py.

◆ gaussx

rf305_condcorrprod.gaussx = ROOT.RooGaussian("gaussx", "Gaussian in x with shifting mean in y", x, fy, sigmax)

Definition at line 31 of file rf305_condcorrprod.py.

◆ gaussy

rf305_condcorrprod.gaussy = ROOT.RooGaussian("gaussy", "Gaussian in y", y, 0.0, 3.0)

Definition at line 37 of file rf305_condcorrprod.py.

◆ hh_model

rf305_condcorrprod.hh_model = model.createHistogram("hh_model", x, ROOT.RooFit.Binning(50), ROOT.RooFit.YVar(y, ROOT.RooFit.Binning(50)))

Definition at line 64 of file rf305_condcorrprod.py.

◆ model

rf305_condcorrprod.model = ROOT.RooProdPdf("model", "gaussx(x|y)*gaussy(y)", {gaussy}, Conditional=({gaussx}, {x}))

Definition at line 43 of file rf305_condcorrprod.py.

◆ sigmax

rf305_condcorrprod.sigmax = ROOT.RooRealVar("sigma", "width of gaussian", 0.5)

Definition at line 30 of file rf305_condcorrprod.py.

◆ x

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

Definition at line 21 of file rf305_condcorrprod.py.

◆ xframe

rf305_condcorrprod.xframe = x.frame()

Definition at line 53 of file rf305_condcorrprod.py.

◆ y

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

Definition at line 22 of file rf305_condcorrprod.py.

◆ yframe

rf305_condcorrprod.yframe = y.frame()

Definition at line 59 of file rf305_condcorrprod.py.