Skip to content

CMGTools as a subsystem, not as a CMSSW overlay

Notifications You must be signed in to change notification settings

jmonroym/cmgtools-lite

 
 

Repository files navigation

Short recipe for CMGTools

For the general recipe, follow these instructions.


Set up CMSSW and the base git

cmsrel CMSSW_8_0_25
cd CMSSW_8_0_25/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

About

CMGTools as a subsystem, not as a CMSSW overlay

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 77.4%
  • C++ 13.9%
  • Shell 7.9%
  • C 0.7%
  • HTML 0.1%
  • Perl 0.0%