-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup94X.sh
executable file
·48 lines (41 loc) · 1.89 KB
/
setup94X.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Recipe to continue the setup of our 92X analysis after the checkout of TopEFT package
#
eval `scram runtime -sh`
cd $CMSSW_BASE/src
#
# X-PAG code for limit
#
#git clone [email protected]:HephySusySW/PlotsSMS StopsDilepton/PlotsSMS
git clone [email protected]:HephySusySW/RootTools
git clone [email protected]:TTXPheno/TTXPheno
scram b -j9
#
# Setting up CMG
#
git remote add cmg-central https://github.com/CERN-PH-CMG/cmg-cmssw.git -f -t heppy_94X_dev
git remote add origin https://github.com/HephySusySW/cmg-cmssw.git -f -t heppy_94X_dev
cp $CMSSW_BASE/src/TopEFT/.sparse-checkout_94X $CMSSW_BASE/src/.git/info/sparse-checkout
git checkout -b heppy_94X_dev origin/heppy_94X_dev
# add your mirror, and push the 92X branch to it
#git remote add origin [email protected]:HephySusySW/cmg-cmssw.git
#git checkout -b 92X_dev_StopsDilepton cmg-central/92X_dev_StopsDilepton
#git push -u origin 92X_dev_StopsDilepton
# now get the CMGTools subsystem from the cmgtools-lite repository
git clone -o cmg-central https://github.com/CERN-PH-CMG/cmgtools-lite.git -b 94X_dev CMGTools
cd CMGTools
# add your fork, and push the 92X branch to it
git remote add origin [email protected]:HephySusySW/cmgtools-lite.git -f -t 94X_dev_StopsDilepton
git checkout -b 94X_dev_StopsDilepton origin/94X_dev_StopsDilepton
# Fall17 EGM MVA -> merged in 9_4_6_patch1
# https://github.com/CERN-PH-CMG/cmgtools-lite/pull/218
# git remote add cmssw-guitargeek https://github.com/guitargeek/cmssw.git -t ElectronID_MVA2017_940pre3 -f
# git format-patch --stdout 2efa972169e..64030f65aa2 | git apply -
# Comment below because I added the training files under /src for running with crab
#cd $CMSSW_BASE/external/slc6_amd64_gcc630
#git clone https://github.com/lsoffi/RecoEgamma-ElectronIdentification.git data/RecoEgamma/ElectronIdentification/data
#cd data/RecoEgamma/ElectronIdentification/data
#git checkout CMSSW_9_4_0_pre3_TnP
cd $CMSSW_BASE/src
#compile
scram b -j 8