Producing limits - jniedzie/SVJanalysis_wiki GitHub Wiki
Code in directory limitsProducer
Prerequisites
To tun the limit code, you need:
- if you are on the PSI T3, to follow instructions at CMSSW at PSI T3
- to install CMSSW (tested with version 10_2_13):
cmsrel CMSSW_10_2_13
- you have installed HiggsAnalysis-CombinedLimit. See instructions here.
- Do not forget to to setup
cmsenv
and compile:cd CMSSW_10_2_13/src cmsenv scram b -j 10
Preparation of files
See instructions here.
Usage
You need to update all paths in the getLimits.py
script.
Do not do cd CMSSW_10_2_13/src
and cmsenv
, else python
will fetch the python executable from the CMSSW release. If you did (e.g. you have just installed CMSSW), just log out and in again.
Then run as python getLimits.py
.
This script will create data cards, copy them (together with the ROOT file with histograms) to lxplus node, run combine, copy results back to your local machine, extract limits from combine logs and create brazil plots.