Variables | |
| Abkg0 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) | |
| Abkg1 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) | |
| Abkg2 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) | |
| Asig0 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) | |
| Asig1 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) | |
| Asig2 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) | |
| bkgData = u.generate(x, 1000) | |
| can = ROOT.TCanvas("can", "", 1500, 600) | |
| Components | |
| dh_bkg = u.generateBinned(x, 10000) | |
| dh_sig = g.generateBinned(x, 50) | |
| frame = x.frame(Title="No template uncertainties") | |
| g = ROOT.RooGaussian("g", "Gauss", x, meanG, sigG) | |
| hc_bkg = ROOT.RooHistConstraint("hc_bkg", "hc_bkg", p_ph_bkg1) | |
| hc_sig = ROOT.RooHistConstraint("hc_sig", "hc_sig", p_ph_sig1) | |
| hc_sigbkg = ROOT.RooHistConstraint("hc_sigbkg", "hc_sigbkg", {p_ph_sig2, p_ph_bkg2}) | |
| LineColor | |
| MarkerColor | |
| meanG = ROOT.RooRealVar("meanG", "meanG", 1, -10, 10) | |
| model0 = ROOT.RooRealSumPdf("model0", "model0", [p_h_sig, p_h_bkg], [Asig0, Abkg0], True) | |
| model1 = ROOT.RooProdPdf("model1", "model1", {hc_sig, hc_bkg}, Conditional=(model_tmp, x)) | |
| model2 = ROOT.RooProdPdf("model2", "model2", hc_sigbkg, Conditional=(model2_tmp, x)) | |
| model2_tmp = ROOT.RooRealSumPdf("sp_ph", "sp_ph", [p_ph_sig2, p_ph_bkg2], [Asig2, Abkg2], True) | |
| model_tmp = ROOT.RooRealSumPdf("sp_ph", "sp_ph", [p_ph_sig1, p_ph_bkg1], [Asig1, Abkg1], True) | |
| p_h_bkg = ROOT.RooHistFunc("p_h_bkg", "p_h_bkg", x, dh_bkg) | |
| p_h_sig = ROOT.RooHistFunc("p_h_sig", "p_h_sig", x, dh_sig) | |
| p_ph_bkg1 = ROOT.RooParamHistFunc("p_ph_bkg", "p_ph_bkg", dh_bkg, x) | |
| dict | p_ph_bkg1_set = {p_ph_bkg1} |
| p_ph_bkg2 = ROOT.RooParamHistFunc("p_ph_bkg2", "p_ph_bkg2", dh_bkg, x, p_ph_sig2, True) | |
| dict | p_ph_bkg2_set = {p_ph_bkg2} |
| dict | p_ph_bkg_set = {p_h_bkg} |
| p_ph_sig1 = ROOT.RooParamHistFunc("p_ph_sig", "p_ph_sig", dh_sig, x) | |
| dict | p_ph_sig1_set = {p_ph_sig1} |
| p_ph_sig2 = ROOT.RooParamHistFunc("p_ph_sig2", "p_ph_sig2", dh_sig, x) | |
| dict | p_ph_sig2_set = {p_ph_sig2} |
| dict | p_ph_sig_set = {p_h_sig} |
| Parameters | |
| pt = ROOT.TPaveText(-19.5, 1, -2, 25) | |
| list | pt_text1 |
| list | pt_text2 |
| list | pt_text3 |
| result0 = model0.fitTo(sumData, PrintLevel=0, Save=True) | |
| result1 = model1.fitTo(sumData, PrintLevel=0, Save=True) | |
| result2 = model2.fitTo(sumData, PrintLevel=0, Save=True) | |
| sigData = g.generate(x, 50) | |
| sigG = ROOT.RooRealVar("sigG", "sigG", 1.5, -10, 10) | |
| sumData = ROOT.RooDataSet("sumData", "Gauss + Uniform", x) | |
| u = ROOT.RooUniform("u", "Uniform", x) | |
| VisualizeError | |
| x = ROOT.RooRealVar("x", "x", -20, 20) | |
| rf709_BarlowBeeston.Abkg0 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) |
Definition at line 53 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Abkg1 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) |
Definition at line 66 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Abkg2 = ROOT.RooRealVar("Abkg", "Abkg", 1, 0.01, 5000) |
Definition at line 94 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Asig0 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) |
Definition at line 52 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Asig1 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) |
Definition at line 65 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Asig2 = ROOT.RooRealVar("Asig", "Asig", 1, 0.01, 5000) |
Definition at line 93 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.bkgData = u.generate(x, 1000) |
Definition at line 30 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.can = ROOT.TCanvas("can", "", 1500, 600) |
Definition at line 113 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Components |
Definition at line 132 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.dh_bkg = u.generateBinned(x, 10000) |
Definition at line 42 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.dh_sig = g.generateBinned(x, 50) |
Definition at line 41 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.frame = x.frame(Title="No template uncertainties") |
Definition at line 122 of file rf709_BarlowBeeston.py.
Definition at line 24 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.hc_bkg = ROOT.RooHistConstraint("hc_bkg", "hc_bkg", p_ph_bkg1) |
Definition at line 75 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.hc_sig = ROOT.RooHistConstraint("hc_sig", "hc_sig", p_ph_sig1) |
Definition at line 74 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.hc_sigbkg = ROOT.RooHistConstraint("hc_sigbkg", "hc_sigbkg", {p_ph_sig2, p_ph_bkg2}) |
Definition at line 100 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.LineColor |
Definition at line 125 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.MarkerColor |
Definition at line 136 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.meanG = ROOT.RooRealVar("meanG", "meanG", 1, -10, 10) |
Definition at line 22 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.model0 = ROOT.RooRealSumPdf("model0", "model0", [p_h_sig, p_h_bkg], [Asig0, Abkg0], True) |
Definition at line 56 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.model1 = ROOT.RooProdPdf("model1", "model1", {hc_sig, hc_bkg}, Conditional=(model_tmp, x)) |
Definition at line 78 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.model2 = ROOT.RooProdPdf("model2", "model2", hc_sigbkg, Conditional=(model2_tmp, x)) |
Definition at line 103 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.model2_tmp = ROOT.RooRealSumPdf("sp_ph", "sp_ph", [p_ph_sig2, p_ph_bkg2], [Asig2, Abkg2], True) |
Definition at line 97 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.model_tmp = ROOT.RooRealSumPdf("sp_ph", "sp_ph", [p_ph_sig1, p_ph_bkg1], [Asig1, Abkg1], True) |
Definition at line 69 of file rf709_BarlowBeeston.py.
Definition at line 49 of file rf709_BarlowBeeston.py.
Definition at line 48 of file rf709_BarlowBeeston.py.
Definition at line 63 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_bkg1_set = {p_ph_bkg1} |
Definition at line 161 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_bkg2 = ROOT.RooParamHistFunc("p_ph_bkg2", "p_ph_bkg2", dh_bkg, x, p_ph_sig2, True) |
Definition at line 91 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_bkg2_set = {p_ph_bkg2} |
Definition at line 193 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_bkg_set = {p_h_bkg} |
Definition at line 131 of file rf709_BarlowBeeston.py.
Definition at line 62 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_sig1_set = {p_ph_sig1} |
Definition at line 160 of file rf709_BarlowBeeston.py.
Definition at line 90 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_sig2_set = {p_ph_sig2} |
Definition at line 192 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.p_ph_sig_set = {p_h_sig} |
Definition at line 130 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.Parameters |
Definition at line 164 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.pt = ROOT.TPaveText(-19.5, 1, -2, 25) |
Definition at line 116 of file rf709_BarlowBeeston.py.
| list rf709_BarlowBeeston.pt_text1 |
Definition at line 139 of file rf709_BarlowBeeston.py.
| list rf709_BarlowBeeston.pt_text2 |
Definition at line 170 of file rf709_BarlowBeeston.py.
| list rf709_BarlowBeeston.pt_text3 |
Definition at line 202 of file rf709_BarlowBeeston.py.
Definition at line 108 of file rf709_BarlowBeeston.py.
Definition at line 109 of file rf709_BarlowBeeston.py.
Definition at line 110 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.sigData = g.generate(x, 50) |
Definition at line 29 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.sigG = ROOT.RooRealVar("sigG", "sigG", 1.5, -10, 10) |
Definition at line 23 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.sumData = ROOT.RooDataSet("sumData", "Gauss + Uniform", x) |
Definition at line 32 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.u = ROOT.RooUniform("u", "Uniform", x) |
Definition at line 25 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.VisualizeError |
Definition at line 125 of file rf709_BarlowBeeston.py.
| rf709_BarlowBeeston.x = ROOT.RooRealVar("x", "x", -20, 20) |
Definition at line 19 of file rf709_BarlowBeeston.py.