The focus is on RK/K*/phi analyses.
This recipe is for 12_4_X. The original recipe for 10_2_X can be found here.
scram list CMSSW
cmsrel CMSSW_12_4_8
cd CMSSW_12_4_8/src
cmsenv
git cms-merge-topic -u DiElectronX:GsfTransientTracks_124X # unsafe checkout (no checkdeps), but suggested here
git cms-merge-topic -u DiElectronX:fixKinParticleVtxFitter_124X # unsafe checkout (no checkdeps), but suggested here
git clone [email protected]:DiElectronX/BParkingNANO.git ./PhysicsTools
git cms-addpkg PhysicsTools/NanoAOD
cd $CMSSW_BASE/src/
scram b -j 8
cd PhysicsTools/BParkingNano/test
cmsRun run_nano_cfg.py # by default, runs over Run 3 data
cmsRun run_nano_cfg.py isMC=1 # runs over MC for 2022
cd $CMSSW_BASE/src/PhysicsTools/BParkingNano/production
python3 submit_on_crab.py
- This repo is forked from https://github.com/CMSBParking/BParkingNANO
- The fork was made at revision https://github.com/CMSBParking/BParkingNANO/tree/b9bcad0b9b
- This revision is tagged as https://github.com/DiElectronX/BParkingNANO/tree/from-BParkingNANO
- Tag also available as https://github.com/CMSBParking/BParkingNANO/tree/from-BParkingNANO
Default branches:
- The default branch in CMSBParking is https://github.com/CMSBParking/BParkingNANO/tree/master
- The default branch in DiElectronX is https://github.com/DiElectronX/BParkingNANO/tree/main
The default branch has been renamed for two reasons:
- To promote more inclusive terminology, as per the GitHub guidelines
- To clearly differentiate between the different development thread of the two repositories, namely:
- CMSBParking/BParkingNANO:master targets the CMSSW development cycle CMSSW_10_2_X
- DiElectronX/BParkingNANO:main targets the CMSSW development cycle CMSSW_12_4_X
Further, two additional branches have been produced based on the revision above:
- CMSBParking/BParkingNANO:CMSSW_10_2_X and CMSBParking/BParkingNANO:CMSSW_12_4_X
- DiElectronX/BParkingNANO:CMSSW_10_2_X and DiElectronX/BParkingNANO:CMSSW_12_4_X
which may be of use. For example:
- CMSSW_10_2_X developments in CMSBParking/BParkingNANO should be merged into the master (and CMSSW_10_2_X) branch
- CMSSW_12_4_X developments in CMSBParking/BParkingNANO should be merged into the CMSSW_12_4_X branch
- CMSSW_10_2_X developments in DiElectronX/BParkingNANO should be merged into the CMSSW_10_2_X branch
- CMSSW_12_4_X developments in DiElectronX/BParkingNANO should be merged into the main (and CMSSW_12_4_X) branch
We use the fork and pull model:
-
Fork this repository https://github.com/DiElectronX/BParkingNANO (top right Fork button)
-
If you haven't done so yet, clone this repository:
git clone [email protected]:DiElectronX/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/main
- Work on your feature, add, commit, etc. and push to your own fork
git push mine feature_branch
- Make a pull request on GitHub