Important note: For Run2 UL and Run3, everything must be written to be compliant with python3 syntax.
cmsrel CMSSW_12_4_12
cd CMSSW_12_4_12/src
cmsenv
git cms-init
git clone -o cmg-central [email protected]:uniovi-hepex/cmgtools-lite.git -b 124X_dev_nano CMGTools
cd CMGTools
git remote add origin [email protected]:YOUR_GITHUB_REPOSITORY/cmgtools-lite.git
git push -u origin 124X_dev_nano
git clone -o nano-central [email protected]:uniovi-hepex/nanoAOD-tools.git -b postproc_py3 PhysicsTools/NanoAODTools
cd $CMSSW_BASE/src
scram b -j 8