forked from TopEFT/EFTFit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_http.sh
38 lines (32 loc) · 1.13 KB
/
install_http.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
# https version for users without a GitHub SSH key
echo "Setting up your local area to run the TopEFT EFTFit module"
echo "Installing CMSSW"
export SCRAM_ARCH=slc7_amd64_gcc700
scram project CMSSW CMSSW_10_2_13
cd CMSSW_10_2_13/src
cmsenv
scram b -j8
echo "Installing combine"
git clone https://github.com:cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit/
git checkout v8.2.0
scram b -j8
cd -
echo "Installing the TopEFT fork of CombineHarvester"
cd $CMSSW_BASE/src/
git clone https://github.com/TopEFT/EFTFit.git EFTFit
scram b -j8
cd -
echo "Installing the EFTFit"
cd $CMSSW_BASE/src/
## Old commands for custom fork
#git clone https://github.com:TopEFT/CombineHarvester.git --branch crab_random
git clone https://github.com:cms-analysis/CombineHarvester.git
cd - # This one is just so we can use `cd -` again later
cd $CMSSW_BASE/src/CombineHarvester/CombineTools/python/combine/
cp $CMSSW_BASE/src/EFTFit/Fitter/test/crab_random.patch .
# Apply patch to CombineToolBase.py
git apply crab_random.patch
scram b -j8
cd -
echo "All done! Please see the READMEs for more details on how to run EFTFit"