Variables | |
| arrow = ROOT.TArrow(2, 100, -1, 50, 0.01, "|>") | |
| c = ROOT.TCanvas("rf106_plotdecoration", "rf106_plotdecoration", 600, 600) | |
| data = gauss.generate({x}, 1000) | |
| f = ROOT.TFile("rf106_plotdecoration.root", "RECREATE") | |
| frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40) | |
| gauss = ROOT.RooGaussian("gauss", "gauss", x, mean, sigma) | |
| Layout | |
| mean = ROOT.RooRealVar("mean", "mean", -3, -10, 10) | |
| PrintLevel | |
| sigma = ROOT.RooRealVar("sigma", "sigma", 1, 0.1, 10) | |
| txt = ROOT.TText(2, 100, "Signal") | |
| x = ROOT.RooRealVar("x", "x", -10, 10) | |
| rf106_plotdecoration.arrow = ROOT.TArrow(2, 100, -1, 50, 0.01, "|>") |
Definition at line 62 of file rf106_plotdecoration.py.
| rf106_plotdecoration.c = ROOT.TCanvas("rf106_plotdecoration", "rf106_plotdecoration", 600, 600) |
Definition at line 79 of file rf106_plotdecoration.py.
| rf106_plotdecoration.data = gauss.generate({x}, 1000) |
Definition at line 26 of file rf106_plotdecoration.py.
| rf106_plotdecoration.f = ROOT.TFile("rf106_plotdecoration.root", "RECREATE") |
Definition at line 71 of file rf106_plotdecoration.py.
| rf106_plotdecoration.frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40) |
Definition at line 35 of file rf106_plotdecoration.py.
Definition at line 23 of file rf106_plotdecoration.py.
| rf106_plotdecoration.Layout |
Definition at line 43 of file rf106_plotdecoration.py.
| rf106_plotdecoration.mean = ROOT.RooRealVar("mean", "mean", -3, -10, 10) |
Definition at line 22 of file rf106_plotdecoration.py.
| rf106_plotdecoration.PrintLevel |
Definition at line 29 of file rf106_plotdecoration.py.
| rf106_plotdecoration.sigma = ROOT.RooRealVar("sigma", "sigma", 1, 0.1, 10) |
Definition at line 21 of file rf106_plotdecoration.py.
| rf106_plotdecoration.txt = ROOT.TText(2, 100, "Signal") |
Definition at line 56 of file rf106_plotdecoration.py.
| rf106_plotdecoration.x = ROOT.RooRealVar("x", "x", -10, 10) |
Definition at line 18 of file rf106_plotdecoration.py.