For 2017 data.
##-----Removed everything in code for:
-PFJets
-PFchsJets
-slimmedJets
-all photonID variables
##-----Starting recipe:
# 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
##-----You can choose to set-up the FW in slc6 or slc7 choose your preference from the following
# Set up the area (slc6)
export SCRAM_ARCH=slc6_amd64_gcc630;
scram pro -n 2017-LLDJ_slc6_630_CMSSW_9_4_10 CMSSW CMSSW_9_4_10;
cd 2017-LLDJ_slc6_630_CMSSW_9_4_10/src;
cmsenv;
# Set up the area (slc7)
export SCRAM_ARCH=slc7_amd64_gcc630;
scram pro -n 2017-LLDJ_slc7_630_CMSSW_9_4_10 CMSSW CMSSW_9_4_10;
cd 2017-LLDJ_slc7_630_CMSSW_9_4_10/src;
cmsenv;
## CMSSW imports and customizations
git cms-init;
git cms-merge-topic cms-egamma:EgammaID_949; #if you want the V2 IDs, otherwise skip
git cms-merge-topic cms-egamma:EgammaPostRecoTools_940; #just adds in an extra file to have a setup function to make things easier
#git cms-merge-topic cms-met:METFixEE2017_949; #haven't tried it, but was part of Tom's recipe
scramv1 build -j 8;
##-----LLDJstandalones Framework checkout
# first fork the repository to make your own workspace
git clone https://github.com/<mygithubusername>/2017lldj.git;
cd 2017lldj
# If you want to check out a specific branch
git fetch origin
git branch -v -a # list branches available, find yours
git checkout -b NAMEOFBRANCH origin/NAMEOFBRANCH
# add DisplacedHiggs as upstream
git remote add upstream https://github.com/DisplacedHiggs/2017lldj.git
#-----Compile a clean area
cd 2017lldj
scramv1 build -j 10;
##-----Every time you log in
#set up some environment variables (bash)
source 2017lldj/setup.sh
#Set nversion to 2017_LLDJ for official version of ntuples