Variables | |
| a0 = ROOT.RooRealVar("a0", "a0", -1.5, -5, 5) | |
| a1 = ROOT.RooRealVar("a1", "a1", -0.5, -1, 1) | |
| c = ROOT.TCanvas("rf302_utilfuncs", "rf302_utilfuncs", 800, 800) | |
| fy_1 = ROOT.RooFormulaVar("fy_1", "a0-a1*sqrt(10*abs(y))", [y, a0, a1]) | |
| fy_2 = ROOT.RooPolyVar("fy_2", "fy_2", y, [a0, a1]) | |
| fy_3 = ROOT.RooAddition("fy_3", "a0+y", [a0, y]) | |
| fy_4 = ROOT.RooProduct("fy_4", "a1*y", [a1, y]) | |
| hh_model_1 = model_1.createHistogram("hh_model_1", x, Binning=50, YVar=dict(var=y, Binning=50)) | |
| hh_model_2 = model_2.createHistogram("hh_model_2", x, Binning=50, YVar=dict(var=y, Binning=50)) | |
| hh_model_3 = model_3.createHistogram("hh_model_3", x, Binning=50, YVar=dict(var=y, Binning=50)) | |
| hh_model_4 = model_4.createHistogram("hh_model_4", x, Binning=50, YVar=dict(var=y, Binning=50)) | |
| model_1 = ROOT.RooGaussian("model_1", "Gaussian with shifting mean", x, fy_1, sigma) | |
| model_2 = ROOT.RooGaussian("model_2", "Gaussian with shifting mean", x, fy_2, sigma) | |
| model_3 = ROOT.RooGaussian("model_3", "Gaussian with shifting mean", x, fy_3, sigma) | |
| model_4 = ROOT.RooGaussian("model_4", "Gaussian with shifting mean", x, fy_4, sigma) | |
| sigma = ROOT.RooRealVar("sigma", "width of gaussian", 0.5) | |
| x = ROOT.RooRealVar("x", "x", -5, 5) | |
| y = ROOT.RooRealVar("y", "y", -5, 5) | |
| rf302_utilfuncs.a0 = ROOT.RooRealVar("a0", "a0", -1.5, -5, 5) |
Definition at line 24 of file rf302_utilfuncs.py.
| rf302_utilfuncs.a1 = ROOT.RooRealVar("a1", "a1", -0.5, -1, 1) |
Definition at line 25 of file rf302_utilfuncs.py.
| rf302_utilfuncs.c = ROOT.TCanvas("rf302_utilfuncs", "rf302_utilfuncs", 800, 800) |
Definition at line 78 of file rf302_utilfuncs.py.
Definition at line 32 of file rf302_utilfuncs.py.
Definition at line 41 of file rf302_utilfuncs.py.
Definition at line 50 of file rf302_utilfuncs.py.
Definition at line 59 of file rf302_utilfuncs.py.
| rf302_utilfuncs.hh_model_1 = model_1.createHistogram("hh_model_1", x, Binning=50, YVar=dict(var=y, Binning=50)) |
Definition at line 68 of file rf302_utilfuncs.py.
| rf302_utilfuncs.hh_model_2 = model_2.createHistogram("hh_model_2", x, Binning=50, YVar=dict(var=y, Binning=50)) |
Definition at line 69 of file rf302_utilfuncs.py.
| rf302_utilfuncs.hh_model_3 = model_3.createHistogram("hh_model_3", x, Binning=50, YVar=dict(var=y, Binning=50)) |
Definition at line 70 of file rf302_utilfuncs.py.
| rf302_utilfuncs.hh_model_4 = model_4.createHistogram("hh_model_4", x, Binning=50, YVar=dict(var=y, Binning=50)) |
Definition at line 71 of file rf302_utilfuncs.py.
| rf302_utilfuncs.model_1 = ROOT.RooGaussian("model_1", "Gaussian with shifting mean", x, fy_1, sigma) |
Definition at line 35 of file rf302_utilfuncs.py.
| rf302_utilfuncs.model_2 = ROOT.RooGaussian("model_2", "Gaussian with shifting mean", x, fy_2, sigma) |
Definition at line 44 of file rf302_utilfuncs.py.
| rf302_utilfuncs.model_3 = ROOT.RooGaussian("model_3", "Gaussian with shifting mean", x, fy_3, sigma) |
Definition at line 53 of file rf302_utilfuncs.py.
| rf302_utilfuncs.model_4 = ROOT.RooGaussian("model_4", "Gaussian with shifting mean", x, fy_4, sigma) |
Definition at line 62 of file rf302_utilfuncs.py.
| rf302_utilfuncs.sigma = ROOT.RooRealVar("sigma", "width of gaussian", 0.5) |
Definition at line 26 of file rf302_utilfuncs.py.
| rf302_utilfuncs.x = ROOT.RooRealVar("x", "x", -5, 5) |
Definition at line 20 of file rf302_utilfuncs.py.
| rf302_utilfuncs.y = ROOT.RooRealVar("y", "y", -5, 5) |
Definition at line 21 of file rf302_utilfuncs.py.