Classes | |
| class | HypoTestInvOptions |
| class | HypoTestInvTool_plus |
Functions | |
| main () | |
| ReadResult (fileName, resultName="", useCLs=True) | |
| StandardHypoTestInvDemo (infile=0, wsName="combined", modelSBName="ModelConfig", modelBName="", dataName="obsData", calculatorType=0, testStatType=0, useCLs=True, npoints=6, poimin=0, poimax=5, ntoys=1000, useNumberCounting=False, nuisPriorName=0) | |
| Other Parameter to pass in tutorial apart from standard for filename, ws, modelconfig and data. | |
Variables | |
| str | large_declaration |
| optHTInv = HypoTestInvOptions() | |
| StandardHypoTestInvDemo.main | ( | void | ) |
Definition at line 1150 of file StandardHypoTestInvDemo.py.
| StandardHypoTestInvDemo.ReadResult | ( | fileName, | |
| resultName = "", | |||
| useCLs = True ) |
Definition at line 1144 of file StandardHypoTestInvDemo.py.
| StandardHypoTestInvDemo.StandardHypoTestInvDemo | ( | infile = 0, | |
| wsName = "combined", | |||
| modelSBName = "ModelConfig", | |||
| modelBName = "", | |||
| dataName = "obsData", | |||
| calculatorType = 0, | |||
| testStatType = 0, | |||
| useCLs = True, | |||
| npoints = 6, | |||
| poimin = 0, | |||
| poimax = 5, | |||
| ntoys = 1000, | |||
| useNumberCounting = False, | |||
| nuisPriorName = 0 ) |
Other Parameter to pass in tutorial apart from standard for filename, ws, modelconfig and data.
type = 0 Freq calculator type = 1 Hybrid calculator type = 2 Asymptotic calculator type = 3 Asymptotic calculator using nominal Asimov data sets (not using fitted parameter values but nominal ones)
testStatType = 0 LEP Tevatron Likelihood mu_hat) mu_hat) statistic statistic
useCLs scan for CLs (otherwise for CLs+b)
npoints = -1
poimin,poimax: min/max value to scan in case of fixed scans (if min > max, try to find automatically)
ntoys: number of toys to use
useNumberCounting: set to True when using number counting events
nuisPriorName: name of prior for the nuisance. This is often expressed as constraint term in the global model HybridCalculator (type=1) If not given by default the prior pdf from ModelConfig is used.
extra options are available as global parameters of the macro. They major ones are:
plotHypoTestResult plot result of tests at each point (TS distributions) (default is True) writeResult write result of scan (default is True) rebuild rebuild scan for expected limits (require extra toys) (default is False) generateBinned generate binned data sets for toys (default is False) - be careful not to activate with large (>=3) number of observables nToyRatio ratio of S+B/B toys (default is 2)
Definition at line 988 of file StandardHypoTestInvDemo.py.
| str StandardHypoTestInvDemo.large_declaration |
Definition at line 86 of file StandardHypoTestInvDemo.py.
| StandardHypoTestInvDemo.optHTInv = HypoTestInvOptions() |
Definition at line 82 of file StandardHypoTestInvDemo.py.