Variables | |
| float | additionalToysFac = 0.5 |
| allVars = mc.GetPdf().getVariables() | |
| arMax = belt.GetAcceptanceRegionMax(tmpPoint) | |
| int | band1sigDown = 0 |
| int | band1sigUp = 0 |
| int | band2sigDown = 0 |
| int | band2sigUp = 0 |
| int | bandMedian = 0 |
| belt = fc.GetConfidenceBelt() | |
| bins = histOfUL.GetIntegral() | |
| c1 = ROOT.TCanvas() | |
| int | CLb = 0 |
| int | CLbinclusive = 0 |
| float | confidenceLevel = 0.95 |
| cumulative = histOfUL.Clone("cumulative") | |
| data = w.data(dataName) | |
| str | dataName = "obsData" |
| fc = ROOT.RooStats.FeldmanCousins(data, mc) | |
| fileExist = not ROOT.gSystem.AccessPathName(filename) | |
| str | filename = "" |
| firstPOI = mc.GetParametersOfInterest().first() | |
| histOfThresholds = ROOT.TH1F("histOfThresholds", "", parameterScan.numEntries(), firstPOI.getMin(), firstPOI.getMax()) | |
| histOfUL = ROOT.TH1F("histOfUL", "", 100, 0, firstPOI.getMax()) | |
| str | infile = "" |
| inputFile = ROOT.TFile.Open(filename) | |
| interval = fc.GetInterval() | |
| mc = w.obj(modelConfigName) | |
| str | modelConfigName = "ModelConfig" |
| nll = mc.GetPdf().createNLL(data) | |
| int | nPointsToScan = 20 |
| int | nToyMC = 200 |
| observedUL = interval.UpperLimit(firstPOI) | |
| obsTSatObsUL = fc.GetTestStatSampler().EvaluateTestStatistic(data, tmpPOI) | |
| one = mc.GetPdf().generateSimGlobal(mc.GetGlobalObservables(), 1) | |
| parameterScan = fc.GetPointsToScan() | |
| paramsToGenerateData = poiAndNuisance.snapshot() | |
| poiAndNuisance = ROOT.RooArgSet() | |
| poiVal = tmpPoint.getRealValue(firstPOI.GetName()) | |
| profile = nll.createProfile(mc.GetParametersOfInterest()) | |
| testStat = toymcsampler.GetTestStatistic() | |
| thisTS = fc.GetTestStatSampler().EvaluateTestStatistic(toyData, tmpPOI) | |
| int | thisUL = 0 |
| tmpPOI = ROOT.RooArgSet(firstPOI) | |
| tmpPoint = parameterScan.get(i).clone("temp") | |
| toyData = mc.GetPdf().generate(mc.GetObservables(), 1) | |
| toymcsampler = fc.GetTestStatSampler() | |
| toyTSatObsUL = fc.GetTestStatSampler().EvaluateTestStatistic(toyData, tmpPOI) | |
| unconditionalObs = ROOT.RooArgSet() | |
| values = one.get() | |
| w = inputFile.Get(workspaceName) | |
| str | workspaceName = "combined" |
| float TwoSidedFrequentistUpperLimitWithBands.additionalToysFac = 0.5 |
Definition at line 110 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.allVars = mc.GetPdf().getVariables() |
Definition at line 291 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.arMax = belt.GetAcceptanceRegionMax(tmpPoint) |
Definition at line 231 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.band1sigDown = 0 |
Definition at line 348 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.band1sigUp = 0 |
Definition at line 350 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.band2sigDown = 0 |
Definition at line 347 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.band2sigUp = 0 |
Definition at line 351 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.bandMedian = 0 |
Definition at line 349 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.belt = fc.GetConfidenceBelt() |
Definition at line 203 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.bins = histOfUL.GetIntegral() |
Definition at line 344 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.c1 = ROOT.TCanvas() |
Definition at line 235 of file TwoSidedFrequentistUpperLimitWithBands.py.
| int TwoSidedFrequentistUpperLimitWithBands.CLb = 0 |
Definition at line 263 of file TwoSidedFrequentistUpperLimitWithBands.py.
| int TwoSidedFrequentistUpperLimitWithBands.CLbinclusive = 0 |
Definition at line 264 of file TwoSidedFrequentistUpperLimitWithBands.py.
| float TwoSidedFrequentistUpperLimitWithBands.confidenceLevel = 0.95 |
Definition at line 107 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.cumulative = histOfUL.Clone("cumulative") |
Definition at line 345 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.data = w.data(dataName) |
Definition at line 146 of file TwoSidedFrequentistUpperLimitWithBands.py.
| str TwoSidedFrequentistUpperLimitWithBands.dataName = "obsData" |
Definition at line 104 of file TwoSidedFrequentistUpperLimitWithBands.py.
Definition at line 165 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.fileExist = not ROOT.gSystem.AccessPathName(filename) |
Definition at line 120 of file TwoSidedFrequentistUpperLimitWithBands.py.
| str TwoSidedFrequentistUpperLimitWithBands.filename = "" |
Definition at line 117 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.firstPOI = mc.GetParametersOfInterest().first() |
Definition at line 154 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.histOfThresholds = ROOT.TH1F("histOfThresholds", "", parameterScan.numEntries(), firstPOI.getMin(), firstPOI.getMax()) |
Definition at line 220 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.histOfUL = ROOT.TH1F("histOfUL", "", 100, 0, firstPOI.getMax()) |
Definition at line 267 of file TwoSidedFrequentistUpperLimitWithBands.py.
| str TwoSidedFrequentistUpperLimitWithBands.infile = "" |
Definition at line 101 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.inputFile = ROOT.TFile.Open(filename) |
Definition at line 134 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.interval = fc.GetInterval() |
Definition at line 202 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.mc = w.obj(modelConfigName) |
Definition at line 143 of file TwoSidedFrequentistUpperLimitWithBands.py.
| str TwoSidedFrequentistUpperLimitWithBands.modelConfigName = "ModelConfig" |
Definition at line 103 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.nll = mc.GetPdf().createNLL(data) |
Definition at line 246 of file TwoSidedFrequentistUpperLimitWithBands.py.
| int TwoSidedFrequentistUpperLimitWithBands.nPointsToScan = 20 |
Definition at line 111 of file TwoSidedFrequentistUpperLimitWithBands.py.
| int TwoSidedFrequentistUpperLimitWithBands.nToyMC = 200 |
Definition at line 112 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.observedUL = interval.UpperLimit(firstPOI) |
Definition at line 212 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.obsTSatObsUL = fc.GetTestStatSampler().EvaluateTestStatistic(data, tmpPOI) |
Definition at line 214 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.one = mc.GetPdf().generateSimGlobal(mc.GetGlobalObservables(), 1) |
Definition at line 289 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.parameterScan = fc.GetPointsToScan() |
Definition at line 217 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.paramsToGenerateData = poiAndNuisance.snapshot() |
Definition at line 255 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.poiAndNuisance = ROOT.RooArgSet() |
Definition at line 250 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.poiVal = tmpPoint.getRealValue(firstPOI.GetName()) |
Definition at line 232 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.profile = nll.createProfile(mc.GetParametersOfInterest()) |
Definition at line 247 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.testStat = toymcsampler.GetTestStatistic() |
Definition at line 181 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.thisTS = fc.GetTestStatSampler().EvaluateTestStatistic(toyData, tmpPOI) |
Definition at line 311 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.thisUL = 0 |
Definition at line 305 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.tmpPOI = ROOT.RooArgSet(firstPOI) |
Definition at line 211 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.tmpPoint = parameterScan.get(i).clone("temp") |
Definition at line 229 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.toyData = mc.GetPdf().generate(mc.GetObservables(), 1) |
Definition at line 281 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.toymcsampler = fc.GetTestStatSampler() |
Definition at line 180 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.toyTSatObsUL = fc.GetTestStatSampler().EvaluateTestStatistic(toyData, tmpPOI) |
Definition at line 296 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.unconditionalObs = ROOT.RooArgSet() |
Definition at line 259 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.values = one.get() |
Definition at line 290 of file TwoSidedFrequentistUpperLimitWithBands.py.
| TwoSidedFrequentistUpperLimitWithBands.w = inputFile.Get(workspaceName) |
Definition at line 140 of file TwoSidedFrequentistUpperLimitWithBands.py.
| str TwoSidedFrequentistUpperLimitWithBands.workspaceName = "combined" |
Definition at line 102 of file TwoSidedFrequentistUpperLimitWithBands.py.