Variables | |
| b_model = ROOT.RooStats.ModelConfig("B_model", w) | |
| b_modelXY = ROOT.RooStats.ModelConfig("B_modelXY", w) | |
| binCount = ROOT.BinCountTestStat("x") | |
| c = ROOT.TCanvas() | |
| cdf = w.pdf("averagedModel").createCdf(w.var("x")) | |
| data = ROOT.RooDataSet("d", "d", w.set("obs")) | |
| dataXY = ROOT.RooDataSet("dXY", "dXY", w.set("obsXY")) | |
| frame = w.var("x").frame(Range=(50, 230)) | |
| hc1 = ROOT.RooStats.HybridCalculator(data, sb_model, b_model) | |
| hc2 = ROOT.RooStats.HybridCalculator(data, sb_model, b_model) | |
| hc3 = ROOT.RooStats.HybridCalculator(dataXY, sb_modelXY, b_modelXY) | |
| LineColor | |
| mlets = ROOT.RooStats.MaxLikelihoodEstimateTestStat(sb_modelXY.GetPdf(), w.var("s")) | |
| msglevel = ROOT.RooMsgService.instance().globalKillBelow() | |
| int | ntoys = 6000 |
| int | nToysRatio = 20 |
| p1 = ROOT.RooStats.HypoTestPlot(r1, 30) | |
| p2 = ROOT.RooStats.HypoTestPlot(r2, 30) | |
| p3 = ROOT.RooStats.HypoTestPlot(r3, 50) | |
| p_Bi = ROOT.RooStats.NumberCountingUtils.BinomialWithTauObsP(150, 100, 1) | |
| profll = ROOT.RooStats.ProfileLikelihoodTestStat(b_modelXY.GetPdf()) | |
| r1 = hc1.GetHypoTest() | |
| r2 = hc2.GetHypoTest() | |
| r3 = hc3.GetHypoTest() | |
| ropl | |
| sb_model = ROOT.RooStats.ModelConfig("S+B_model", w) | |
| sb_modelXY = ROOT.RooStats.ModelConfig("S+B_modelXY", w) | |
| slrts = ROOT.RooStats.SimpleLikelihoodRatioTestStat(b_model.GetPdf(), sb_model.GetPdf()) | |
| t = ROOT.TStopwatch() | |
| toymcs1 = hc1.GetTestStatSampler() | |
| toymcs2 = hc2.GetTestStatSampler() | |
| toymcs3 = hc3.GetTestStatSampler() | |
| w = ROOT.RooWorkspace("w") | |
| Z_Bi = ROOT.RooStats.NumberCountingUtils.BinomialWithTauObsZ(150, 100, 1) | |
| HybridInstructional.b_model = ROOT.RooStats.ModelConfig("B_model", w) |
Definition at line 225 of file HybridInstructional.py.
| HybridInstructional.b_modelXY = ROOT.RooStats.ModelConfig("B_modelXY", w) |
Definition at line 404 of file HybridInstructional.py.
| HybridInstructional.binCount = ROOT.BinCountTestStat("x") |
Definition at line 250 of file HybridInstructional.py.
| HybridInstructional.c = ROOT.TCanvas() |
Definition at line 117 of file HybridInstructional.py.
| HybridInstructional.cdf = w.pdf("averagedModel").createCdf(w.var("x")) |
Definition at line 169 of file HybridInstructional.py.
| HybridInstructional.data = ROOT.RooDataSet("d", "d", w.set("obs")) |
Definition at line 219 of file HybridInstructional.py.
| HybridInstructional.dataXY = ROOT.RooDataSet("dXY", "dXY", w.set("obsXY")) |
Definition at line 400 of file HybridInstructional.py.
| HybridInstructional.frame = w.var("x").frame(Range=(50, 230)) |
Definition at line 153 of file HybridInstructional.py.
Definition at line 294 of file HybridInstructional.py.
Definition at line 346 of file HybridInstructional.py.
| HybridInstructional.hc3 = ROOT.RooStats.HybridCalculator(dataXY, sb_modelXY, b_modelXY) |
Definition at line 455 of file HybridInstructional.py.
| HybridInstructional.LineColor |
Definition at line 154 of file HybridInstructional.py.
| HybridInstructional.mlets = ROOT.RooStats.MaxLikelihoodEstimateTestStat(sb_modelXY.GetPdf(), w.var("s")) |
Definition at line 443 of file HybridInstructional.py.
| HybridInstructional.msglevel = ROOT.RooMsgService.instance().globalKillBelow() |
Definition at line 135 of file HybridInstructional.py.
| int HybridInstructional.ntoys = 6000 |
Definition at line 61 of file HybridInstructional.py.
| int HybridInstructional.nToysRatio = 20 |
Definition at line 62 of file HybridInstructional.py.
| HybridInstructional.p1 = ROOT.RooStats.HypoTestPlot(r1, 30) |
Definition at line 329 of file HybridInstructional.py.
| HybridInstructional.p2 = ROOT.RooStats.HypoTestPlot(r2, 30) |
Definition at line 378 of file HybridInstructional.py.
| HybridInstructional.p3 = ROOT.RooStats.HypoTestPlot(r3, 50) |
Definition at line 488 of file HybridInstructional.py.
| HybridInstructional.p_Bi = ROOT.RooStats.NumberCountingUtils.BinomialWithTauObsP(150, 100, 1) |
Definition at line 186 of file HybridInstructional.py.
| HybridInstructional.profll = ROOT.RooStats.ProfileLikelihoodTestStat(b_modelXY.GetPdf()) |
Definition at line 439 of file HybridInstructional.py.
| HybridInstructional.r1 = hc1.GetHypoTest() |
Definition at line 317 of file HybridInstructional.py.
| HybridInstructional.r2 = hc2.GetHypoTest() |
Definition at line 367 of file HybridInstructional.py.
| HybridInstructional.r3 = hc3.GetHypoTest() |
Definition at line 476 of file HybridInstructional.py.
| HybridInstructional.ropl |
Definition at line 432 of file HybridInstructional.py.
| HybridInstructional.sb_model = ROOT.RooStats.ModelConfig("S+B_model", w) |
Definition at line 234 of file HybridInstructional.py.
| HybridInstructional.sb_modelXY = ROOT.RooStats.ModelConfig("S+B_modelXY", w) |
Definition at line 414 of file HybridInstructional.py.
| HybridInstructional.slrts = ROOT.RooStats.SimpleLikelihoodRatioTestStat(b_model.GetPdf(), sb_model.GetPdf()) |
Definition at line 341 of file HybridInstructional.py.
| HybridInstructional.t = ROOT.TStopwatch() |
Definition at line 115 of file HybridInstructional.py.
| HybridInstructional.toymcs1 = hc1.GetTestStatSampler() |
Definition at line 295 of file HybridInstructional.py.
| HybridInstructional.toymcs2 = hc2.GetTestStatSampler() |
Definition at line 347 of file HybridInstructional.py.
| HybridInstructional.toymcs3 = hc3.GetTestStatSampler() |
Definition at line 456 of file HybridInstructional.py.
| HybridInstructional.w = ROOT.RooWorkspace("w") |
Definition at line 126 of file HybridInstructional.py.
| HybridInstructional.Z_Bi = ROOT.RooStats.NumberCountingUtils.BinomialWithTauObsZ(150, 100, 1) |
Definition at line 187 of file HybridInstructional.py.