1 |
#!/bin/sh
|
2 |
|
3 |
ALLmasses=( 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 162 164 166 168 170 172 174 176 178 180 182 184 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 278 280 282 284 286 288 290 295 300 305 310 315 320 325 330 335 340 345 350 360 370 380 390 400 420 440 460 480 500 520 540 560 580 600 );
|
4 |
ALLwL=( 100 100 100 100 100 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 142 144 146 148 150 152 154 156 158 160 162 164 170.4 171 171.4 171.8 172.2 172.4 172.8 173 173.4 173.6 173.6 173.8 173.8 174 174 173.8 173.8 173.6 173.4 173.2 172.8 172.6 172 171.6 171.2 170.6 169.8 169.2 168.4 167.6 166.8 165.8 164.8 163.8 162.6 161.4 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 167.20 175.35 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 );
|
5 |
ALLwH=( 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 177 179 181 183 185 187 189 191 193 195 197 199 215.2 218.25 221.45 224.65 227.85 231.2 234.4 237.75 240.95 244.3 247.8 251.15 254.65 258 261.5 265.15 268.65 272.3 275.95 279.6 283.4 287.05 291 294.8 298.6 302.55 306.65 310.6 314.7 318.8 322.9 327.15 331.4 335.65 340.05 344.45 371.75 376.45 381.15 386 390.85 395.85 400.85 413.5 426.45 439.85 453.55 468 482 496 511.5 527 542.5 558 624 673 726.5 781.5 838 900 900 900 900 900 900 900 900 900 900 207.10 364.92 496.00 578.00 580.00 699.75 900.00 900.00 900.00 900.00 900.00 900.00 );
|
6 |
|
7 |
|
8 |
i=0
|
9 |
while(( $i < ${#ALLmasses[*]} ));
|
10 |
do
|
11 |
mH=${ALLmasses[$i]};
|
12 |
low=${ALLwL[$i]};
|
13 |
high=${ALLwH[$i]};
|
14 |
|
15 |
|
16 |
if(( $mH != 125 ));
|
17 |
then
|
18 |
(( i++ ));
|
19 |
continue
|
20 |
fi;
|
21 |
|
22 |
echo "training BDT for mH = ${mH} ... wL=$low wH=$high"
|
23 |
|
24 |
#"costheta2:costhetastar:Phi:Phi1:mZ2:mZ1:pt4l:zzdotz1:dphi1:y4l"
|
25 |
|
26 |
#./Angles/bin/makeBDTWeights3way.exe ./root/gfH${mH}.cut${mH}.root ./root/zz.cut${mH}.root ./root/fakes.cut${mH}.root Angles/root/hzz4lBDT_3way.${mH}.root "hzz4l_3way_mH${mH}" "costheta1:costheta2:costhetastar:Phi:Phi1:mZ1:mZ2:pt4l:Z1pt:Z2pt:zzdotz1:zzdotz2:dphi1" ${mH} ${low} ${high} 0 >& logs/hzz4lBDT_3way__${mH}.log
|
27 |
|
28 |
./Angles/bin/makeBDTWeights3way.exe batch/res/ref0.4err/gfhS12/125/gfH125.ref0.4err.root batch/res/ref0.4err/ZZPowheg/qqZZ.ref0.4err.root batch/res/ref0.4err/fakes.combined.root Angles/root/hzz4lBDT_3way.${mH}.root "hzz4l_3way_mH${mH}" "costheta1:costheta2:costhetastar:Phi:Phi1:mZ1:mZ2:pt4l:Z1pt:Z2pt:zzdotz1:zzdotz2:dphi1:dphi2" ${mH} ${low} ${high} 0 >& logs/hzz4lBDT_3way__${mH}.log
|
29 |
|
30 |
# ./Angles/bin/makeBDTWeights3way.exe ./root/gfH${mH}.cut${mH}.root ./root/zz.cut${mH}.root ./root/fakes.cut${mH}.root Angles/root/hzz4lBDT_2wayFakes.${mH}.root "hzz4l_2wayFakes_mH${mH}" "costheta1:costheta2:costhetastar:Phi:Phi1:mZ2:mZ1:pt4l:zzdotz1:dphi1:y4l" ${mH} ${low} ${high} 0 >& logs/hzz4lBDT_2wayFakes__${mH}.log case in
|
31 |
|
32 |
|
33 |
#./Angles/bin/makeBDTWeights3way.exe ./root/gfH${mH}.cut${mH}.root ./root/zz.cut${mH}.root ./root/fakes.cut${mH}.root Angles/root/hzz4lBDT_2wayqqZZ.${mH}.root "hzz4l_2wayqqZZ_mH${mH}" "costheta1:costheta2:costhetastar:Phi:Phi1:mZ2:mZ1:pt4l:zzdotz1:dphi1:y4l" ${mH} ${low} ${high} 0 >& logs/hzz4lBDT_2wayqqZZ__${mH}.log
|
34 |
|
35 |
(( i++ ));
|
36 |
|
37 |
done |