forked from vallot/CATTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·65 lines (51 loc) · 2.49 KB
/
setup.sh
File metadata and controls
executable file
·65 lines (51 loc) · 2.49 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
scram project -n cattools CMSSW_8_0_29
cd cattools/src
cmsenv
git-cms-init -q
git checkout -b cat80x
git-cms-addpkg RecoEgamma/ElectronIdentification
git-cms-addpkg EgammaAnalysis/ElectronTools
git-cms-addpkg RecoMET/METFilters
git-cms-addpkg RecoBTag/DeepFlavour
sed -i 's/badGlobalMuonTagger.clone/badGlobalMuonTaggerMAOD.clone/g' RecoMET/METFilters/python/badGlobalMuonTaggersMiniAOD_cff.py
#brings in HEEP V70 into VID
git cms-merge-topic -u Sam-Harper:HEEPV70VID_8010_ReducedCheckout
#for other E/gamma IDs in VID if you wish to have them
git cms-merge-topic -u ikrav:egm_id_80X_v3
#only necessary to run HEEP V70 on AOD
git cms-merge-topic -u Sam-Harper:PackedCandNoPuppi
git-cms-merge-topic -u cms-egamma:EGM_gain_v1
git-cms-merge-topic -u ikrav:egm_id_80X_v3_photons
cd EgammaAnalysis/ElectronTools/data
wget https://github.com/cms-egamma/RegressionDatabase/blob/master/SQLiteFiles/GED_80X_Winter2016/ged_regression_20170114.db?raw=true -O ged_regression_20170114.db
git clone -b Moriond17_gainSwitch_unc https://github.com/ECALELFS/ScalesSmearings.git
cd ../../..
mkdir -p RecoBTag/DeepFlavour/data
wget http://home.fnal.gov/~verzetti//DeepFlavour/training/DeepFlavourNoSL.json -O RecoBTag/DeepFlavour/data/DeepFlavourNoSL.json
wget http://mon.iihe.ac.be/~smoortga/DeepFlavour/CMSSW_implementation_DeepCMVA/Model_DeepCMVA.json -O RecoBTag/DeepFlavour/data/Model_DeepCMVA.json
git clone -b egm_id_80X_v1 https://github.com/ikrav/RecoEgamma-ElectronIdentification.git data1
git clone -b egm_id_80X_v1 https://github.com/ikrav/RecoEgamma-PhotonIdentification.git data2
git clone https://github.com/cms-data/RecoEgamma-ElectronIdentification data3
rsync -avz data1/* RecoEgamma/ElectronIdentification/data/
rsync -avz data2/* RecoEgamma/ElectronIdentification/data/
rsync -avz data3/* RecoEgamma/PhotonIdentification/data/
rm -rf data1 data2 data3
git clone https://github.com/vallot/CATTools
cd CATTools
git checkout -b v8-0-7 v8-0-7
git submodule init
git submodule update
cd ..
## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root
rm -rf RecoEgamma/*Identification/data/Spring15
rm -rf RecoEgamma/*Identification/data/PHYS14
scram b -j30
catGetDatasetInfo
## Production only - do the unit test
#cd CATTools/CatProducer
#voms-proxy-init -voms cms
#scram b runtests