-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup_limit.sh
executable file
·39 lines (30 loc) · 1.19 KB
/
setup_limit.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
#!/bin/sh
cat <<EOF
========================================================================
This script is creating a working directory for limit calculations of
the ttH→ττ analysis in 76X
Output is in setup_limit.log
========================================================================
EOF
(
set -e
set -o xtrace
export SCRAM_ARCH=slc6_amd64_gcc491
scramv1 project -n CMSSW_7_4_16_patch2_combine CMSSW CMSSW_7_4_16_patch2
cd CMSSW_7_4_16_patch2_combine/src
set +o xtrace
eval $(scramv1 runtime -sh)
set -o xtrace
git cms-init > /dev/null
git clone -b 74x-root6 https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
git clone https://github.com/cms-analysis/CombineHarvester.git CombineHarvester
git clone git@github.com:cms-ttH/MiniAOD.git
git clone git@github.com:cms-ttH/ttH-LeptonID.git ttH/LeptonID
git clone git@github.com:cms-ttH/ttH-TauRoast.git ttH/TauRoast
scram b USER_CXXFLAGS="-DOLDCRAP" -j 8
) > setup_limit.log
cat <<EOF
========================================================================
Output is in setup_limit.log
========================================================================
EOF