##2018lldj For 2018 data
#This 2018lldj repo is DisplacedHiggs/LLDJstandalones customed to 2018 version.
#2017lldj had a major overhaul in eliminating PFJets,PFchJets,slimmedJets, all photonID variables.
#2018lldj does not have as much major overhaul, but just an adapted version for Run2 2018.
# Fermilab uses tcsh by default even though it has bash!
# This framework is based in bash and
# technically maybe you don't need this,
# but tcshers be warned
bash --login
# Set up the area
export SCRAM_ARCH=slc7_amd64_gcc700;
cmsrel CMSSW_10_2_15;
cd CMSSW_10_2_15/src;
cmsenv;
git cms-init
git cms-merge-topic cms-egamma:PhotonIDValueMapSpeedup1029 #optional but speeds up the photon ID value module so things run faster
#now build everything
scram b -j 8
#now add in E/gamma Post reco tools
git clone [email protected]:cms-egamma/EgammaPostRecoTools.git EgammaUser/EgammaPostRecoTools
cd EgammaUser/EgammaPostRecoTools
git checkout master
cd -
echo $CMSSW_BASE
cd $CMSSW_BASE/src
scram b -j 8
first fork the repository to make your own workspace
git clone https://github.com/<mygithubusername>/2018lldj.git;
pushd 2018lldj;
git fetch origin
git branch -v -a # list branches available, find yours
git checkout -b NAMEOFBRANCH origin/NAMEOFBRANCH
git remote add upstream https://github.com/DisplacedHiggs/2018lldj.git
##-----Compile a clean area
cd 2018lldj
scramv1 build -j 4;
##-----Every time you log in
#set up some environment variables (bash)
source 2018lldj/setup.sh
#Set nversion to 2018_LLDJ for official version of ntuples