forked from MiT-HEP/ChargedHiggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeAllMARCH5
executable file
·184 lines (119 loc) · 16.7 KB
/
makeAllMARCH5
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
#### MAKE 2L -STAT
hadd test/combine/MARCH5/2l_low_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_low_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_medium_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_medium_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_high_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_high_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_1d_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_1d_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_low_STAT/TopBottom/TopBottom.root -o plot/brazilian_2l_low_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_medium_STAT/TopBottom/TopBottom.root -o plot/brazilian_2l_medium_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_high_STAT/TopBottom/TopBottom.root -o plot/brazilian_2l_high_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_1d_STAT/TopBottom/TopBottom.root -o plot/brazilian_2l_1d_STAT
python script/MariaCombinePlots.py -f test/combine/MARCH5/2l_low_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/2l_medium_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/2l_high_STAT/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_2l_STAT
#### MAKE 1L -STAT
hadd test/combine/MARCH5/1l_1d_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_1d_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_low_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_low_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_medium_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_medium_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_high_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_high_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_1d_STAT/TopBottom/TopBottom.root -o plot/brazilian_1l_1d_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_low_STAT/TopBottom/TopBottom.root -o plot/brazilian_1l_low_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_medium_STAT/TopBottom/TopBottom.root -o plot/brazilian_1l_medium_STAT
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_high_STAT/TopBottom/TopBottom.root -o plot/brazilian_1l_high_STAT
python script/MariaCombinePlots.py -f test/combine/MARCH5/1l_low_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/1l_medium_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/1l_high_STAT/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_1l_STAT
### MAKE COMBINED -STAT
hadd test/combine/MARCH5/combined_1d_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_1d_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_high_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_high_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_medium_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_medium_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_low_STAT/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_low_STAT/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/combined_1d_STAT//TopBottom/TopBottom.root -o plot/brazilian_combined_1d_STAT
python script/MariaCombinePlots.py -f test/combine/MARCH5/combined_low_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/combined_medium_STAT/TopBottom/TopBottom.root,test/combine/MARCH5/combined_high_STAT/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_combined_STAT
exit
#### MAKE 2L -SYST
hadd test/combine/MARCH5/2l_low_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_low_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_medium_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_medium_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_high_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_high_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/2l_1d_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/2l_1d_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_low_SYST/TopBottom/TopBottom.root -o plot/brazilian_2l_low_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_medium_SYST/TopBottom/TopBottom.root -o plot/brazilian_2l_medium_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_high_SYST/TopBottom/TopBottom.root -o plot/brazilian_2l_high_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/2l_1d_SYST/TopBottom/TopBottom.root -o plot/brazilian_2l_1d_SYST
python script/MariaCombinePlots.py -f test/combine/MARCH5/2l_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_high_SYST/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_2l
#### MAKE 1L -SYST
hadd test/combine/MARCH5/1l_1d_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_1d_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_low_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_low_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_medium_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_medium_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/1l_high_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/1l_high_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_1d_SYST/TopBottom/TopBottom.root -o plot/brazilian_1l_1d_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_low_SYST/TopBottom/TopBottom.root -o plot/brazilian_1l_low_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_medium_SYST/TopBottom/TopBottom.root -o plot/brazilian_1l_medium_SYST
python script/makeCombinePlots.py -f test/combine/MARCH5/1l_high_SYST/TopBottom/TopBottom.root -o plot/brazilian_1l_high_SYST
python script/MariaCombinePlots.py -f test/combine/MARCH5/1l_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/1l_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/1l_high_SYST/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_1l
### MAKE COMBINED -SYST
hadd test/combine/MARCH5/combined_1d_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_1d_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_high_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_high_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_medium_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_medium_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
hadd test/combine/MARCH5/combined_low_SYST/TopBottom/TopBottom.root -f test/combine/MARCH5/combined_low_SYST/TopBottom/higgsCombineTest.Asymptotic.mH*root
python script/makeCombinePlots.py -f test/combine/MARCH5/combined_1d_SYST//TopBottom/TopBottom.root -o plot/brazilian_combined_1d_SYST
python script/MariaCombinePlots.py -f test/combine/MARCH5/combined_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/combined_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/combined_high_SYST/TopBottom/TopBottom.root -m 301,501 -o plot/mergedBDT_combined_SYST
exit
## 1l -STAT
python script/combine.py -i MARCH5/1l_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_1d_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_1d_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_high_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_medium_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_low_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_high_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_medium_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/1l_low_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
## 2l
python script/combine.py -i MARCH5/2l_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_1d_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_1d_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_high_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_medium_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_low_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_high_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_medium_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/2l_low_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
## combined
python script/combine.py -i MARCH5/combined_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_1d_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_1d_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_1d_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_high_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_high_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_high_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_medium_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_medium_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_medium_STAT/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_low_STAT/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_low_cms_datacard_topbottom_STAT.txt -e -q 1nh -d test/combine/MARCH5/combined_low_STAT/TopBottom --rmax=1 --begin=800,3000
## 1l -SYST
python script/combine.py -i MARCH5/1l_1d_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_1d_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_high_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_medium_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_medium_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_low_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_low_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/1l_1d_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_1d_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_high_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_medium_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_medium_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/1l_low_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/1l_low_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
## 2l
python script/combine.py -i MARCH5/2l_1d_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_1d_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_high_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_medium_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_medium_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_low_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_low_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/2l_1d_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_1d_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_high_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_medium_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_medium_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/2l_low_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_low_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
## combined
python script/combine.py -i MARCH5/combined_1d_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_1d_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_low_cms_datacard_topbottom_SYST.txt -e -q 8nd -d test/combine/MARCH5/combined_low_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_medium_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_medium_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_high_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_high_SYST/TopBottom --rmax=1 --begin=800,3000
python script/combine.py -i MARCH5/combined_1d_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_1d_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_low_cms_datacard_topbottom_SYST.txt -e -q 8nd -d test/combine/MARCH5/combined_low_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_medium_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_medium_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/combine.py -i MARCH5/combined_high_cms_datacard_topbottom_SYST.txt -e -q 8nh -d test/combine/MARCH5/combined_high_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
exit
###############
############### CRAP BELOW
################
#python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_high_SYST/TopBottom --rmax=1 --begin=800,3000
#python script/combine.py -i MARCH5/2l_high_cms_datacard_topbottom_SYST.txt -e -q 1nh -d test/combine/MARCH5/2l_high_SYST/TopBottom --rmax=10 --begin=180,200,220,250,300,350,400,500
python script/MariaCombinePlots.py -f test/combine/MARCH5/2l_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_high_SYST/TopBottom/TopBottom.root -m 301,501 -o plot/combineMaria_2l
#python script/MariaCombinePlots.py -f test/combine/MARCH5/1l_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/1l_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/1l_high_SYST/TopBottom/TopBottom.root -m 300,500,800 -o plot/combineMaria_1l
#python script/MariaCombinePlots.py -f test/combine/MARCH5/2l_low_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_medium_SYST/TopBottom/TopBottom.root,test/combine/MARCH5/2l_high_SYST/TopBottom/TopBottom.root -m 300,500,800 -o plot/combineMaria_2l