Skip to content

CMGTools as a subsystem, not as a CMSSW overlay

Notifications You must be signed in to change notification settings

Cvico/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 [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

About

CMGTools as a subsystem, not as a CMSSW overlay

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 76.3%
  • C++ 13.9%
  • Shell 8.1%
  • C 1.6%
  • HTML 0.1%
  • Perl 0.0%