cmsrel CMSSW_10_6_12
cd CMSSW_10_6_12/src
cmsenv
git cms-init
git-cms-addpkg PhysicsTools/Heppy
git-cms-addpkg PhysicsTools/HeppyCore
git cms-merge-topic rmanzoni:heppy_106X_hnl
needed to compute latest greatest electron IDs in 2016 and 2017
git clone [email protected]:cms-egamma/EgammaPostRecoTools.git EgammaUser/EgammaPostRecoTools
cd EgammaUser/EgammaPostRecoTools
git checkout master
cd -
scram b -rj 8
git clone -o cmg-central https://github.com/CERN-PH-CMG/cmgtools-lite.git -b 104X_dev CMGTools
cd CMGTools
git cms-sparse-checkout init
touch .git/info/sparse-checkout
echo "RootTools" >> .git/info/sparse-checkout
echo "Production" >> .git/info/sparse-checkout
git checkout 104X_dev
scram b -rj 8
git clone [email protected]:rmanzoni/HNL.git
cd HNL
git checkout master
scram b -rj 8
since you'll be using xrootd to access files remotely, and you'll use CERN batch facility, you need to make sure your voms proxy token is put in a afs
shared directory.
If echo $509_USER_PROXY
returns nothing or returns some tmp
path, follow these instructions https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookXrootdService#OpenCondor
voms-proxy-init --voms cms --valid 198:0
cd cfg/2018
heppy test hn3l_mc_2018_test_cfg.py