cmsrel CMSSW_10_2_15
cd CMSSW_10_2_15/src
cmsenv
git cms-init
cp /afs/cern.ch/user/c/crovelli/public/4BParking/sparse-checkout .git/info/sparse-checkout
git remote add crovelli [email protected]:crovelli/cmssw.git
git fetch crovelli
git checkout -b from-CMSSW_10_2_15__ID-2020Jul26-depth13-700__WithFinalReg crovelli/from-CMSSW_10_2_15__ID-2020Jul26-depth13-700__WithFinalReg
git cms-addpkg TrackingTools/TransientTrack
git cms-merge-topic -u CMSBParking:GsfTransientTracks
git cms-merge-topic -u CMSBParking:fixKinParticleVtxFitter
git clone [email protected]:CMSBParking/BParkingNANO.git ./PhysicsTools
git cms-addpkg PhysicsTools/NanoAOD
scram b
cd PhysicsTools/BParkingNano/test/
cmsenv
cmsRun run_nano_cfg.py
We use the fork and pull model:
fork this repository https://github.com/CMSBParking/BParkingNANO (top right _Fork button)
If you haven't done so yet, clone this repository:
git clone [email protected]:CMSBParking/BParkingNANO.git ./PhysicsTools
Add your fork of the repository as remote:
git remote add mine [email protected]:`git config user.github`/BParkingNANO.git
git checkout -b ${USER}_feature_branch origin/master
Work on your feature, add
, commit
, etc. and push to your own fork
when adding a sequence or table producer, please include it in the python/nanoBPark_cff.py and make sure it runs properly checking the output result (test_BParkSequence_10215.py to give it a try)
git push mine feature_branch
Make a pull request on github