-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup80X.sh
executable file
·36 lines (29 loc) · 1.03 KB
/
setup80X.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
#
# Recipe to continue the setup of our 80X analysis after the checkout of StopsDilepton package
#
eval `scram runtime -sh`
cd $CMSSW_BASE/src
#
# X-PAG code for limit
#
git clone [email protected]:GhentAnalysis/PlotsSMS StopsDilepton/PlotsSMS
scram b -j9
#
# Setting up CMG
#
git remote add cmg-central https://github.com/CERN-PH-CMG/cmg-cmssw.git -f -t heppy_80X
cp .sparse-checkout .git/info/sparse-checkout
git checkout -b heppy_80X cmg-central/heppy_80X
# add your mirror, and push the 80X branch to it
git remote add origin [email protected]:GhentAnalysis/cmg-cmssw.git
git push -u origin heppy_80X
# 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 80X CMGTools
cd CMGTools
# add your fork, and push the 80X branch to it
git remote add origin [email protected]:GhentAnalysis/cmgtools-lite.git
git push -u origin 80X_StopsDilepton
git fetch origin
git checkout -b 80X_StopsDilepton origin/80X_StopsDilepton
#compile
cd $CMSSW_BASE/src && scram b -j 8