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)") | |
| rf304_uncorrprod.c = ROOT.TCanvas("rf304_uncorrprod", "rf304_uncorrprod", 800, 400) |
Definition at line 59 of file rf304_uncorrprod.py.
Definition at line 44 of file rf304_uncorrprod.py.
Definition at line 31 of file rf304_uncorrprod.py.
Definition at line 38 of file rf304_uncorrprod.py.
Definition at line 32 of file rf304_uncorrprod.py.
| rf304_uncorrprod.meanx = ROOT.RooRealVar("mean1", "mean of gaussian x", 2) |
Definition at line 26 of file rf304_uncorrprod.py.
| rf304_uncorrprod.meany = ROOT.RooRealVar("mean2", "mean of gaussian y", -2) |
Definition at line 27 of file rf304_uncorrprod.py.
| rf304_uncorrprod.sigmax = ROOT.RooRealVar("sigmax", "width of gaussian x", 1) |
Definition at line 28 of file rf304_uncorrprod.py.
| rf304_uncorrprod.sigmay = ROOT.RooRealVar("sigmay", "width of gaussian y", 5) |
Definition at line 29 of file rf304_uncorrprod.py.
| rf304_uncorrprod.x = ROOT.RooRealVar("x", "x", -5, 5) |
Definition at line 23 of file rf304_uncorrprod.py.
Definition at line 48 of file rf304_uncorrprod.py.
| rf304_uncorrprod.y = ROOT.RooRealVar("y", "y", -5, 5) |
Definition at line 24 of file rf304_uncorrprod.py.
Definition at line 54 of file rf304_uncorrprod.py.