Skip to content

cirkovic/tHFCNC_limits

Repository files navigation

Short recipe for TTHAnalysis setup

For the general recipe to set up CMG Framework in CMSSW_8_0_X, follow these instructions.


Basic setup (from the above link) is this:

Set up CMSSW and the base git

cmsrel CMSSW_8_0_19
cd CMSSW_8_0_19/src
cmsenv
git cms-init

Add the central cmg-cmssw repository to get the Heppy 80X branch

git remote add cmg-central https://github.com/CERN-PH-CMG/cmg-cmssw.git -f  -t heppy_80X

Configure the sparse checkout, and get the base heppy packages

cp /afs/cern.ch/user/c/cmgtools/public/sparse-checkout_80X_heppy .git/info/sparse-checkout
git checkout -b heppy_80X cmg-central/heppy_80X

Add your mirror, and push the 80X branch to it

git remote add origin git@github.com:YOUR_GITHUB_REPOSITORY/cmg-cmssw.git
git push -u origin heppy_80X

Now get the CMGTools subsystem from the cmgtools-lite repository

git clone -o cmg-central https://github.com/CERN-PH-CMG/cmgtools-lite.git -b 80X CMGTools
cd CMGTools

Add your fork, and push the 80X branch to it

git remote add origin  git@github.com:YOUR_GITHUB_REPOSITORY/cmgtools-lite.git
git push -u origin 80X

Compile

cd $CMSSW_BASE/src
scram b -j 8

Throubleshooting

If you encounter problems at runtime related to the Spring16 electron ID MVA, please see this.