Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.32 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.32 KB

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_11
cd CMSSW_8_0_11/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 [email protected]: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  [email protected]:YOUR_GITHUB_REPOSITORY/cmgtools-lite.git
git push -u origin 80X

Compile

cd $CMSSW_BASE/src
scram b -j 8