-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup102X.sh
executable file
·48 lines (38 loc) · 1.51 KB
/
setup102X.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 80X analysis after the checkout of StopsDilepton package
#
eval `scram runtime -sh`
cd $CMSSW_BASE/src
# nanoAOD tools (for MET Significance, JEC/JER...)
git clone -b stopsDilepton https://github.com/HephyAnalysisSW/nanoAOD-tools.git PhysicsTools/NanoAODTools
cd $CMSSW_BASE/src
# X-PAG code for limit
git clone https://github.com/GhentAnalysis/PlotsSMS.git StopsDilepton/PlotsSMS
cd $CMSSW_BASE/src
# RootTools (for plotting, sample handling, processing)
git clone https://github.com/HephyAnalysisSW/RootTools.git
cd $CMSSW_BASE/src
# Shared samples (miniAOD/nanoAOD)
git clone https://github.com/HephyAnalysisSW/Samples.git
cd $CMSSW_BASE/src
# Shared analysis tools and data
git clone https://github.com/HephyAnalysisSW/Analysis.git
cd $CMSSW_BASE/src
scram b -j9
# Get combine
# Latest recommendations at https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/#setting-up-the-environment-and-installation
cd $CMSSW_BASE/src
git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit
git fetch origin
git checkout v8.0.1
scramv1 b clean; scramv1 b # always make a clean build
# for combineTools
cd $CMSSW_BASE/src
wget https://raw.githubusercontent.com/cms-analysis/CombineHarvester/master/CombineTools/scripts/sparse-checkout-https.sh; source sparse-checkout-https.sh
scram b -j 8
cd $CMSSW_BASE/src/StopsDilepton
git fetch origin
git checkout -b 101X origin/101X
#compile
cd $CMSSW_BASE/src && scram b -j 8