-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux_sessions_nominal_ee_2017.sh
executable file
·77 lines (55 loc) · 4.71 KB
/
tmux_sessions_nominal_ee_2017.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/bin/bash
ProcessNamesArray=("tZq_scaleup" "tZq_scaledown"
"ZPlusJets_M50_aMCatNLO" "ZPlusJets_M50_aMCatNLO_ext" "ZPlusJets_M50_Madgraph"
"ZPlusJets_M50_Madgraph_ext" "ZPlusJets_M10To50_aMCatNLO" "ZPlusJets_M10To50_aMCatNLO_ext"
"ZPlusJets_M10To50_Madgraph" "ZPlusJets_M10To50_Madgraph_ext" "ZPlusJets_PtBinned_0To50"
"ZPlusJets_PtBinned_50To100" "ZPlusJets_PtBinned_50To100_ext" "ZPlusJets_PtBinned_100To250"
"ZPlusJets_PtBinned_100To250_ext1" "ZPlusJets_PtBinned_100To250_ext2" "ZPlusJets_PtBinned_100To250_ext5"
"ZPlusJets_PtBinned_250To400" "ZPlusJets_PtBinned_250To400_ext1" "ZPlusJets_PtBinned_250To400_ext2"
"ZPlusJets_PtBinned_250To400_ext5" "ZPlusJets_PtBinned_400To650" "ZPlusJets_PtBinned_400To650_ext1"
"ZPlusJets_PtBinned_400To650_ext2" "ZPlusJets_PtBinned_650ToInf" "ZPlusJets_PtBinned_650ToInf_ext1"
"ZPlusJets_PtBinned_650ToInf_ext2" "ttbar_2l2nu" "ttbar_madgraph"
"ttbar_madgraph_ext" "ttbar_TTToHadronic" "ttbar_TTToHadronic_ext"
"ttbar_TTToSemileptonic" "ttbar_TTToSemileptonic_ext" "ttbar_atMCaNLO"
"ttbar_atMCaNLO_ext" "ttbar_inc" "SingleTop_tchannel_top"
"SingleTop_tchannel_top_ScaleUp" "SingleTop_tchannel_top_ScaleDown" "SingleTop_tchannel_antitop"
"SingleTop_tchannel_antitop_ScaleUp" "SingleTop_tchannel_antitop_ScaleDown" "SingleTop_schannel"
"ttbar_hdampUP" "ttbar_hdampUP_ext" "ttbar_hdampDOWN"
"ttbar_hdampDOWN_ext" "TT_2l2nu_hdampUP_ext1" "TT_2l2nu_hdampUP_ext2"
"TT_2l2nu_hdampDOWN" "TT_2l2nu_hdampDOWN_ext1" "TT_2l2nu_hdampDOWN_ext2"
"TTToHadronic_hdampUP" "TTToHadronic_hdampDOWN" "TTToSemileptonic_hdampUP"
"TTToSemileptonic_hdampDOWN" "TTToSemileptonic_hdampDOWN_ext" "SingleTop_tchannel_top_hdampUP"
"SingleTop_tchannel_top_hdampDOWN" "SingleTop_tchannel_antitop_hdampUP" "SingleTop_tchannel_antitop_hdampDOWN"
"ttbar_isr_UP" "ttbar_isr_DOWN" "ttbar_isr_DOwN_ext"
"ttbar_fsr_UP" "ttbar_fsr_UP_ext" "ttbar_fsr_DOWN"
"ttbar_fsr_DOWN_ext" "SingleTop_tW" "SingleTop_tW_ScaleUp"
"SingleTop_tW_ScaleDown" "SingleTop_tbarW_ScaleUp" "SingleTop_tbarW_ScaleDown"
"SingleTop_tHq" "SingleTop_tZq_W_lept_Z_had" "SingleTop_tWZ_tWll"
"VV_ZZTo2l2nu" "VV_ZZTo2l2nu_ext1" "VV_ZZTo2l2nu_ext2"
"VV_ZZTo2l2Q" "VV_ZZTo4L" "VV_ZZTo4L_ext"
"VV_WZTo2l2Q" "VV_WZTo3lNu" "VV_WZTo3lNu_ext"
"VV_WZTo1l1Nu2Q" "VV_WWTo2l2Nu" "VV_WWToLNuQQ"
"VV_WWToLNuQQ_ext" "VV_WGToLNuG" "VV_ZGToLLG_ext"
"VVV_WWWTo4F" "VVV_WWWTo4F_ext" "VVV_WWZTo4F"
"VVV_WWZTo4F_ext" "VVV_WZZ" "VVV_WZZ_ext"
"VVV_ZZZ" "VVV_ZZZ_ext" "WPlusJets"
"WPlusJets_ext" "ttbarV_ttWJetsToLNu" "ttbarV_ttWJetsToLNu_ext"
"ttbarV_ttWJetsToQQ" "ttbarV_ttZToLL" "ttbarV_ttZToLL_ext"
"ttbarV_ttZToLLNuNu" "ttbarV_ttZToLLNuNu_ext" "ttbarV_ttZToLLNuNu_ext2"
"ttbarV_ttZToQQ" "ttbarV_ttZToQQ_ext" "ttbarV_ttHTobb"
"ttbarV_ttHTobb_ext" "ttbarV_ttHToNonbb")
SystematicNamesArray=("_Nominal" "_PU_ScaleUp" "_PU_ScaleDown" "_BTag_ScaleUp" "_BTag_ScaleDown"
"_JetSmearing_ScaleUp" "_JetSmearing_ScaleDown" "_JetResolution_ScaleUp" "_JetResolution_ScaleDown" "_LeptonEfficiencies_ScaleUp"
"_LeptonEfficiencies_ScaleDown" "_PDF_ScaleUp" "_PDF_ScaleDown" "_ME_Up" "_ME_Down"
"_MET_Up" "_MET_Down" "_isr_up" "_isr_down" "_fsr_up"
"_fsr_down")
ChannelArray=("_ee" "_mumu" "_emu")
YearArray=("2016" "2017" "2018")
for i in ${!ProcessNamesArray[@]}; do
tmux_string_nominal_ee_2017="${ProcessNamesArray[i]}${SystematicNamesArray[0]}${ChannelArray[0]}_${YearArray[1]}"
j=$(($i + 1))
echo './bin/fulleventselectionMain.exe --mc 1 -y 2016 -p '$j' --npl 0 --sr 1 --sbr 1 --zjcr 0 --ttcr 0 --sys 0 --channel 1 --dcc 0'
tmux new -d -s $tmux_string_nominal_ee_2017 'source /cvmfs/sft.cern.ch/lcg/views/LCG_96/x86_64-slc6-gcc8-opt/setup.sh; make clean; make; ./bin/fulleventselectionMain.exe --mc 1 -y 2017 -p '$j' --npl 0 --sr 1 --sbr 0 --zjcr 0 --ttcr 0 --sys 0 --channel 1 --dcc 0; sleep 86400'
sleep 180
done
echo "The tmux sessions for the SBR (ee and mumu channels for 2016, 2017 and 2018) are running."