Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
limits:limits [2018/02/01 12:07] – [Limits with the Higgs Combined Tool] iwn | limits:limits [2018/05/16 09:57] – [Other methods and options] iwn |
---|
===== Quick setup ===== | ===== Quick setup ===== |
| |
Get **CMSSW** for the Combined Tool: | Latest instructions to get ''combine'' can be found [[https://cms-hcomb.gitbooks.io/combine/content/part1/#for-end-users-that-dont-need-to-commit-or-do-any-development|in the manual]] and [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#ROOT606_SLC6_CMSSW_8_1_X|on the TWiki]]. In summary: Get **CMSSW** for the Combined Tool: |
| |
<code bash> | <code bash> |
export SCRAM_ARCH=slc6_amd64_gcc491 | export SCRAM_ARCH=slc6_amd64_gcc530 |
cmsrel CMSSW_7_4_7 | cmsrel CMSSW_8_1_0 |
cd CMSSW_7_4_7/src | cd CMSSW_8_1_0/src |
cmsenv | cmsenv |
</code> | </code> |
| |
Get **Combined Tool**: | (''combine'' in ''CMSSW_7_4_7'' is outdated.) Get **Combined Tool**: |
| |
<code bash> | <code bash> |
git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit | git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit |
cd HiggsAnalysis/CombinedLimit | cd HiggsAnalysis/CombinedLimit |
| git fetch origin |
| git checkout v7.0.8 |
| scramv1 b clean; scramv1 b |
</code> | </code> |
| |
| |
<code bash> | <code bash> |
source /afs/cern.ch/cms/cmsset_default.sh | source $VO_CMS_SW_DIR/cmsset_default.sh |
export SCRAM_ARCH=slc6_amd64_gcc491 | export SCRAM_ARCH=slc6_amd64_gcc530 |
cd ~/phase2/CMSSW_7_4_7/src/ | cd ~/phase2/CMSSW_8_0_1/src/ |
eval `scram runtime -sh` | cmsenv |
</code> | </code> |
| |
| |
===== Simple example: Running the combine tool ===== | ===== Simple example: Running the combine tool ===== |
| |
| |
The combine tool has many more [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#How_to_run_the_tool|methods]] and options (type ''%%combine --help%%''). | The combine tool has many more [[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#How_to_run_the_tool|methods]] and options (type ''%%combine --help%%''). |
If you are interested in the **expected significance**, use ''[[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#Maximum_likelihood_fits_and_diag|MaxLikelihoodFit]]''. This can method also can be used to extract the **observed cross section**. | If you are interested in the **expected significance**, use ''[[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#Maximum_likelihood_fits_and_diag|MaxLikelihoodFit]]'' (''FitDiagnositcs'' in ''CMSSW_8_1_0''). This can method also can be used to extract the **observed cross section**. |
If you are interested in only an //approximation// of the **expected number of signal events** (**yield**) with the maximum likelihood fit, use ''[[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#Computing_the_observed_limit_wit|ProfileLikelihood]]''. For the **upper limits** however, you always should use ''Asymptotic'' instead. | If you are interested in only an //approximation// of the **expected number of signal events** (**yield**) with the maximum likelihood fit, use ''[[https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#Computing_the_observed_limit_wit|ProfileLikelihood]]''. For the **upper limits** however, you always should use ''Asymptotic'' instead. |
| |