-
Notifications
You must be signed in to change notification settings - Fork 0
/
do_all2D_relaxed.sh
194 lines (182 loc) · 23.7 KB
/
do_all2D_relaxed.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
./Make.sh FinalSelection2D_relaxed.cc
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/Data.root files_nominal/Data.root data_obs data_obs 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/ZTTall.root ZTT ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/ZLall.root ZL ZL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/ZJall.root ZJ ZJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/ZTT1.root ZTT ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/ZL1.root ZL ZL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/ZJ1.root ZJ ZJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/ZTT2.root ZTT ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/ZL2.root ZL ZL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/ZJ2.root ZJ ZJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/ZTT3.root ZTT ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/ZL3.root ZL ZL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/ZJ3.root ZJ ZJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/ZTT4.root ZTT ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/ZL4.root ZL ZL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/ZJ4.root ZJ ZJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DYlow.root files_nominal/DYlow.root DYlow ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1low.root files_nominal/DY1low.root DY1low ZTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2low.root files_nominal/DY2low.root DY2low ZTT 0
hadd -f files_nominal/ZTT.root files_nominal/ZTTall.root files_nominal/ZTT1.root files_nominal/ZTT2.root files_nominal/ZTT3.root files_nominal/ZTT4.root files_nominal/DY1low.root files_nominal/DY2low.root files_nominal/DYlow.root
hadd -f files_nominal/ZL.root files_nominal/ZLall.root files_nominal/ZL1.root files_nominal/ZL2.root files_nominal/ZL3.root files_nominal/ZL4.root
hadd -f files_nominal/ZJ.root files_nominal/ZJall.root files_nominal/ZJ1.root files_nominal/ZJ2.root files_nominal/ZJ3.root files_nominal/ZJ4.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTT.root TTT TTT 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTL.root TTL TTL 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTJ.root TTJ TTJ 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/W.root files_nominal/Wincl.root W W 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/W1.root files_nominal/W1.root W W 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/W2.root files_nominal/W2.root W W 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/W3.root files_nominal/W3.root W W 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/W4.root files_nominal/W4.root W W 0
hadd -f files_nominal/W.root files_nominal/W3.root files_nominal/W4.root files_nominal/W2.root files_nominal/W1.root files_nominal/Wincl.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WW1L1Nu2Q.root files_nominal/WW1L1Nu2Q.root WW1L1Nu2Q VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VV2L2Nu.root files_nominal/VV2L2Nu.root VV2L2Nu VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WZLLLNu.root files_nominal/WZLLLNu.root WZLLLNu VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ZZ2L2Q.root files_nominal/ZZ2L2Q.root ZZ2L2Q VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ZZ4L.root files_nominal/ZZ4L.root ZZ4L VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WZ2L2Q.root files_nominal/WZ2L2Q.root WZ2L2Q VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WZ1L3Nu.root files_nominal/WZ1L3Nu.root WZ1L3Nu VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WZ1L1Nu2Q.root files_nominal/WZ1L1Nu2Q.root WZ1L1Nu2Q VV 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ST_t_top.root files_nominal/ST_t_top.root ST_t_top ST 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ST_t_antitop.root files_nominal/ST_t_antitop.root ST_t_antitop ST 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ST_tW_top.root files_nominal/ST_tW_top.root ST_tW_top ST 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ST_tW_antitop.root files_nominal/ST_tW_antitop.root ST_tW_antitop ST 0
hadd -f files_nominal/VV.root files_nominal/WW1L1Nu2Q.root files_nominal/WZLLLNu.root files_nominal/ZZ2L2Q.root files_nominal/ZZ4L.root files_nominal/WZ2L2Q.root files_nominal/WZ1L3Nu.root files_nominal/WZ1L1Nu2Q.root files_nominal/VV2L2Nu.root
hadd -f files_nominal/ST.root files_nominal/ST_t_top.root files_nominal/ST_t_antitop.root files_nominal/ST_tW_top.root files_nominal/ST_tW_antitop.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt15.root files_nominal/bbtt15.root bbtt15 ggH_haa_bbtt15 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt20.root files_nominal/bbtt20.root bbtt20 ggH_haa_bbtt20 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt25.root files_nominal/bbtt25.root bbtt25 ggH_haa_bbtt25 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt30.root files_nominal/bbtt30.root bbtt30 ggH_haa_bbtt30 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt40.root files_nominal/bbtt35.root bbtt35 ggH_haa_bbtt35 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt40.root files_nominal/bbtt40.root bbtt40 ggH_haa_bbtt40 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt45.root files_nominal/bbtt45.root bbtt45 ggH_haa_bbtt45 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt50.root files_nominal/bbtt50.root bbtt50 ggH_haa_bbtt50 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt55.root files_nominal/bbtt55.root bbtt55 ggH_haa_bbtt55 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/bbtt60.root files_nominal/bbtt60.root bbtt60 ggH_haa_bbtt60 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VBFbbtt20.root files_nominal/VBFbbtt20.root VBFbbtt20 VBFbbtt20 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VBFbbtt40.root files_nominal/VBFbbtt40.root VBFbbtt40 VBFbbtt40 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VBFbbtt60.root files_nominal/VBFbbtt60.root VBFbbtt60 VBFbbtt60 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/WHbbtt40.root files_nominal/WHbbtt40.root WHbbtt40 WHbbtt40 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/ZHbbtt40.root files_nominal/ZHbbtt40.root ZHbbtt40 ZHbbtt40 0
hadd -f files_nominal/signal.root files_nominal/bbtt15.root files_nominal/bbtt20.root files_nominal/bbtt25.root files_nominal/bbtt30.root files_nominal/bbtt35.root files_nominal/bbtt40.root files_nominal/bbtt45.root files_nominal/bbtt50.root files_nominal/bbtt55.root files_nominal/bbtt60.root files_nominal/VBFbbtt20.root files_nominal/VBFbbtt40.root files_nominal/VBFbbtt60.root files_nominal/WHbbtt40.root files_nominal/ZHbbtt40.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ggH125.root files_nominal/ggH125.root ggH125 ggH_htt125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ggHWW125.root files_nominal/ggHWW125.root ggHWW125 ggH_hww125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VBF125.root files_nominal/VBFH125.root VBF125 qqH_htt125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/VBFWW125.root files_nominal/VBFHWW125.root VBFWW125 qqH_hww125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ZH125.root files_nominal/ZH125.root ZH125 ZH_htt125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ZHWW125.root files_nominal/ZHWW125.root ZHWW125 ZH_hww125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WplusH125.root files_nominal/WplusH125.root WplusH125 WH_htt125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WplusHWW125.root files_nominal/WplusHWW125.root WplusHWW125 WH_hww125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WminusH125.root files_nominal/WminusH125.root WminusH125 WH_htt125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WminusHWW125.root files_nominal/WminusHWW125.root WminusHWW125 WH_hww125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ttHnonbb.root files_nominal/ttHnonbb.root ttHnonbb ttH_nonbb125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/ZH_LLBB.root files_nominal/ZH_LLBB.root ZH_LLBB ZH_hbb125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WminusH_LBB.root files_nominal/WminusH_LBB.root WminusH_LBB WH_hbb125 0
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/WplusH_LBB.root files_nominal/WplusH_LBB.root WplusH_LBB WH_hbb125 0
hadd -f files_nominal/SMH.root files_nominal/ggH125.root files_nominal/ggHWW125.root files_nominal/VBFH125.root files_nominal/VBFHWW125.root files_nominal/ZH125.root files_nominal/ZHWW125.root files_nominal/WplusH125.root files_nominal/WplusHWW125.root files_nominal/WminusH125.root files_nominal/WminusHWW125.root files_nominal/ttHnonbb.root files_nominal/ZH_LLBB.root files_nominal/WminusH_LBB.root files_nominal/WplusH_LBB.root
####### Zpt reweighting ########
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighttall_zptup.root ZTT ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighllall_zptup.root ZL ZL 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighjall_zptup.root ZJ ZJ 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhightt1_zptup.root ZTT ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighll1_zptup.root ZL ZL 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighj1_zptup.root ZJ ZJ 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhightt2_zptup.root ZTT ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighll2_zptup.root ZL ZL 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighj2_zptup.root ZJ ZJ 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhightt3_zptup.root ZTT ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighll3_zptup.root ZL ZL 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighj3_zptup.root ZJ ZJ 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhightt4_zptup.root ZTT ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighll4_zptup.root ZL ZL 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighj4_zptup.root ZJ ZJ 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DYlow.root files_nominal/DYlow_zptup.root DYlow ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1low.root files_nominal/DY1low_zptup.root DY1low ZTT 10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2low.root files_nominal/DY2low_zptup.root DY2low ZTT 10
hadd -f files_nominal/DYll_zptup.root files_nominal/DYhighllall_zptup.root files_nominal/DYhighll1_zptup.root files_nominal/DYhighll2_zptup.root files_nominal/DYhighll3_zptup.root files_nominal/DYhighll4_zptup.root
hadd -f files_nominal/DYj_zptup.root files_nominal/DYhighjall_zptup.root files_nominal/DYhighj1_zptup.root files_nominal/DYhighj2_zptup.root files_nominal/DYhighj3_zptup.root files_nominal/DYhighj4_zptup.root
hadd -f files_nominal/DYtt_zptup.root files_nominal/DYhighttall_zptup.root files_nominal/DYhightt1_zptup.root files_nominal/DYhightt2_zptup.root files_nominal/DYhightt3_zptup.root files_nominal/DYhightt4_zptup.root files_nominal/DYlow_zptup.root files_nominal/DY1low_zptup.root files_nominal/DY2low_zptup.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighttall_zptdown.root ZTT ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighllall_zptdown.root ZL ZL -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighjall_zptdown.root ZJ ZJ -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhightt1_zptdown.root ZTT ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighll1_zptdown.root ZL ZL -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighj1_zptdown.root ZJ ZJ -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhightt2_zptdown.root ZTT ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighll2_zptdown.root ZL ZL -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighj2_zptdown.root ZJ ZJ -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhightt3_zptdown.root ZTT ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighll3_zptdown.root ZL ZL -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighj3_zptdown.root ZJ ZJ -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhightt4_zptdown.root ZTT ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighll4_zptdown.root ZL ZL -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighj4_zptdown.root ZJ ZJ -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DYlow.root files_nominal/DYlow_zptdown.root DYlow ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1low.root files_nominal/DY1low_zptdown.root DY1low ZTT -10
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2low.root files_nominal/DY2low_zptdown.root DY2low ZTT -10
hadd -f files_nominal/DYll_zptdown.root files_nominal/DYhighllall_zptdown.root files_nominal/DYhighll1_zptdown.root files_nominal/DYhighll2_zptdown.root files_nominal/DYhighll3_zptdown.root files_nominal/DYhighll4_zptdown.root
hadd -f files_nominal/DYj_zptdown.root files_nominal/DYhighjall_zptdown.root files_nominal/DYhighj1_zptdown.root files_nominal/DYhighj2_zptdown.root files_nominal/DYhighj3_zptdown.root files_nominal/DYhighj4_zptdown.root
hadd -f files_nominal/DYtt_zptdown.root files_nominal/DYhighttall_zptdown.root files_nominal/DYhightt1_zptdown.root files_nominal/DYhightt2_zptdown.root files_nominal/DYhightt3_zptdown.root files_nominal/DYhightt4_zptdown.root files_nominal/DYlow_zptdown.root files_nominal/DY1low_zptdown.root files_nominal/DY2low_zptdown.root
#mbtt reweighting
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighttall_mbttdown.root ZTT ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighllall_mbttdown.root ZL ZL -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighjall_mbttdown.root ZJ ZJ -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhightt1_mbttdown.root ZTT ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighll1_mbttdown.root ZL ZL -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighj1_mbttdown.root ZJ ZJ -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhightt2_mbttdown.root ZTT ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighll2_mbttdown.root ZL ZL -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighj2_mbttdown.root ZJ ZJ -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhightt3_mbttdown.root ZTT ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighll3_mbttdown.root ZL ZL -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighj3_mbttdown.root ZJ ZJ -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhightt4_mbttdown.root ZTT ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighll4_mbttdown.root ZL ZL -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighj4_mbttdown.root ZJ ZJ -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DYlow.root files_nominal/DYlow_mbttdown.root DYlow ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1low.root files_nominal/DY1low_mbttdown.root DY1low ZTT -8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2low.root files_nominal/DY2low_mbttdown.root DY2low ZTT -8
hadd -f files_nominal/DYll_mbttdown.root files_nominal/DYhighllall_mbttdown.root files_nominal/DYhighll1_mbttdown.root files_nominal/DYhighll2_mbttdown.root files_nominal/DYhighll3_mbttdown.root files_nominal/DYhighll4_mbttdown.root
hadd -f files_nominal/DYj_mbttdown.root files_nominal/DYhighjall_mbttdown.root files_nominal/DYhighj1_mbttdown.root files_nominal/DYhighj2_mbttdown.root files_nominal/DYhighj3_mbttdown.root files_nominal/DYhighj4_mbttdown.root
hadd -f files_nominal/DYtt_mbttdown.root files_nominal/DYhighttall_mbttdown.root files_nominal/DYhightt1_mbttdown.root files_nominal/DYhightt2_mbttdown.root files_nominal/DYhightt3_mbttdown.root files_nominal/DYhightt4_mbttdown.root files_nominal/DYlow_mbttdown.root files_nominal/DY1low_mbttdown.root files_nominal/DY2low_mbttdown.root
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighttall_mbttup.root ZTT ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighllall_mbttup.root ZL ZL 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY.root files_nominal/DYhighjall_mbttup.root ZJ ZJ 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhightt1_mbttup.root ZTT ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighll1_mbttup.root ZL ZL 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1.root files_nominal/DYhighj1_mbttup.root ZJ ZJ 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhightt2_mbttup.root ZTT ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighll2_mbttup.root ZL ZL 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2.root files_nominal/DYhighj2_mbttup.root ZJ ZJ 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhightt3_mbttup.root ZTT ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighll3_mbttup.root ZL ZL 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY3.root files_nominal/DYhighj3_mbttup.root ZJ ZJ 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhightt4_mbttup.root ZTT ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighll4_mbttup.root ZL ZL 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY4.root files_nominal/DYhighj4_mbttup.root ZJ ZJ 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DYlow.root files_nominal/DYlow_mbttup.root DYlow ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY1low.root files_nominal/DY1low_mbttup.root DY1low ZTT 8
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_15nov/DY2low.root files_nominal/DY2low_mbttup.root DY2low ZTT 8
hadd -f files_nominal/DYll_mbttup.root files_nominal/DYhighllall_mbttup.root files_nominal/DYhighll1_mbttup.root files_nominal/DYhighll2_mbttup.root files_nominal/DYhighll3_mbttup.root files_nominal/DYhighll4_mbttup.root
hadd -f files_nominal/DYj_mbttup.root files_nominal/DYhighjall_mbttup.root files_nominal/DYhighj1_mbttup.root files_nominal/DYhighj2_mbttup.root files_nominal/DYhighj3_mbttup.root files_nominal/DYhighj4_mbttup.root
hadd -f files_nominal/DYtt_mbttup.root files_nominal/DYhighttall_mbttup.root files_nominal/DYhightt1_mbttup.root files_nominal/DYhightt2_mbttup.root files_nominal/DYhightt3_mbttup.root files_nominal/DYhightt4_mbttup.root files_nominal/DYlow_mbttup.root files_nominal/DY1low_mbttup.root files_nominal/DY2low_mbttup.root
### ttbar reweighting #####
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTT_shapeup.root TTT TTT 11
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTT_shapedown.root TTT TTT -11
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTL_shapeup.root TTL TTL 11
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTL_shapedown.root TTL TTL -11
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTJ_shapeup.root TTJ TTJ 11
./FinalSelection2D_relaxed.exe /data/ccaillol/BBTT_et_11august/TT.root files_nominal/TTJ_shapedown.root TTJ TTJ -11
######## Add systematic shapes #######
sh add_TES_2D.sh
#sh add_fakeES.sh
##sh addalljes.sh
python Create_QCD_2Drelaxed.py --scale nominal
python Create_fake.py
python Create_VBF.py --scale nominal
python Create_VH.py --scale nominal
python Make_mbtt_shape.py
#hadd -f final_nominal.root files_nominal/W.root files_nominal/Data.root files_nominal/ZL.root files_nominal/ZJ.root files_nominal/ZTT.root files_nominal/TTT.root files_nominal/TTJ.root files_nominal/QCD.root files_nominal/VV.root files_nominal/signal.root files_nominal/ST.root files_nominal/Fake.root files_nominal/TTT_shapeup.root files_nominal/TTJ_shapeup.root files_nominal/TTT_shapedown.root files_nominal/TTJ_shapedown.root files_nominal/DYll_zptdown.root files_nominal/DYtt_zptdown.root files_nominal/DYj_zptdown.root files_nominal/DYll_zptup.root files_nominal/DYtt_zptup.root files_nominal/DYj_zptup.root files_nominal/SMH.root files_nominal/VBFsignal.root files_nominal/TTL.root files_nominal/TTL_shapeup.root files_nominal/TTL_shapedown.root files_nominal/VHsignal.root files_nominal/DYll_mbttdown.root files_nominal/DYtt_mbttdown.root files_nominal/DYj_mbttdown.root files_nominal/DYll_mbttup.root files_nominal/DYtt_mbttup.root files_nominal/DYj_mbttup.root
hadd -f final_nominal.root files_nominal/W.root files_nominal/Data.root files_nominal/ZL.root files_nominal/ZJ.root files_nominal/ZTT.root files_nominal/TTT.root files_nominal/TTJ.root files_nominal/QCD.root files_nominal/VV.root files_nominal/signal.root files_nominal/ST.root files_nominal/Fake.root files_nominal/TTT_shapeup.root files_nominal/TTJ_shapeup.root files_nominal/TTT_shapedown.root files_nominal/TTJ_shapedown.root files_nominal/DYll_zptdown.root files_nominal/DYtt_zptdown.root files_nominal/DYj_zptdown.root files_nominal/DYll_zptup.root files_nominal/DYtt_zptup.root files_nominal/DYj_zptup.root files_nominal/SMH.root files_nominal/VBFsignal.root files_nominal/TTL.root files_nominal/TTL_shapeup.root files_nominal/TTL_shapedown.root files_nominal/VHsignal.root files_nominal/DYll_mbttdown.root files_nominal/DYj_mbttdown.root files_nominal/DYll_mbttup.root files_nominal/ZTT_mbtt.root
hadd -f final_etau.root final_nominal.root final_up.root files_fakeES/Fake.root