Commit 15b6e838 authored by Yizhou Cai's avatar Yizhou Cai
Browse files

final

parent e7e22fe6
......@@ -17,6 +17,7 @@ bool final300::Initialize(const MA5::Configuration& cfg, const std::map<std::str
Manager()->AddCut("nbjet");
Manager()->AddCut("met");
Manager()->AddCut("mh");
Manager()->AddCut("dPt");
// Histogram
Manager()->AddHisto("n(bjets)",9,-0.5,8.5);
......@@ -125,6 +126,7 @@ bool final300::Execute(SampleFormat& sample, const EventFormat& event)
if (!Manager()->ApplyCut((BJets[0]->momentum()+BJets[1]->momentum()).M()<135. && (BJets[0]->momentum()+BJets[1]->momentum()).M()>110., "mh")) return true;
Manager()->FillHisto("Imb", (BJets[0]->pt() - BJets[1]->pt())/(BJets[0]->pt() + BJets[1]->pt()));
Manager()->FillHisto("dPt(bb,MET)", fabs((BJets[0]->momentum()+BJets[1]->momentum()).Pt()-MET.Pt()));
if (!Manager()->ApplyCut(fabs((BJets[0]->momentum()+BJets[1]->momentum()).Pt()-MET.Pt()) > 50, "dPt")) return true;
Manager()->FillHisto("dR(bb)", BJets[0]->dr(BJets[1]));
return true;
......
......@@ -36,5 +36,12 @@
7.204000e+03 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
1255 0 # nentries
1.255000e+03 0.000000e+00 # sum of weights
1.255000e+03 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,34 +395,34 @@
300 # Region nr. 1
</Description>
<Statistics>
7204 0 # nevents
7.204000e+03 0.000000e+00 # sum of event-weights over events
7204 0 # nentries
7.204000e+03 0.000000e+00 # sum of event-weights over entries
7.204000e+03 0.000000e+00 # sum weights^2
1.301874e+04 0.000000e+00 # sum value*weight
2.599855e+04 0.000000e+00 # sum value^2*weight
1255 0 # nevents
1.255000e+03 0.000000e+00 # sum of event-weights over events
1255 0 # nentries
1.255000e+03 0.000000e+00 # sum of event-weights over entries
1.255000e+03 0.000000e+00 # sum weights^2
1.839928e+03 0.000000e+00 # sum value*weight
3.327469e+03 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
4.000000e+01 0.000000e+00
1.620000e+02 0.000000e+00
3.790000e+02 0.000000e+00
5.400000e+02 0.000000e+00
7.230000e+02 0.000000e+00
9.010000e+02 0.000000e+00
1.023000e+03 0.000000e+00
9.880000e+02 0.000000e+00
7.440000e+02 0.000000e+00
5.370000e+02 0.000000e+00
3.690000e+02 0.000000e+00
3.060000e+02 0.000000e+00
2.520000e+02 0.000000e+00
1.900000e+02 0.000000e+00
3.400000e+01 0.000000e+00
1.100000e+01 0.000000e+00
2.900000e+01 0.000000e+00
1.130000e+02 0.000000e+00
1.960000e+02 0.000000e+00
2.220000e+02 0.000000e+00
2.240000e+02 0.000000e+00
1.340000e+02 0.000000e+00
5.400000e+01 0.000000e+00
3.600000e+01 0.000000e+00
3.300000e+01 0.000000e+00
3.000000e+01 0.000000e+00
2.900000e+01 0.000000e+00
4.600000e+01 0.000000e+00
4.600000e+01 0.000000e+00
3.700000e+01 0.000000e+00
1.300000e+01 0.000000e+00
8.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00 # bin 19 / 20
0.000000e+00 0.000000e+00 # bin 20 / 20
0.000000e+00 0.000000e+00 # overflow
......
......@@ -36,5 +36,12 @@
3.844800e+04 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
3568 0 # nentries
3.568000e+03 0.000000e+00 # sum of weights
3.568000e+03 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,35 +395,35 @@
300 # Region nr. 1
</Description>
<Statistics>
38448 0 # nevents
3.844800e+04 0.000000e+00 # sum of event-weights over events
38448 0 # nentries
3.844800e+04 0.000000e+00 # sum of event-weights over entries
3.844800e+04 0.000000e+00 # sum weights^2
6.755562e+04 0.000000e+00 # sum value*weight
1.320005e+05 0.000000e+00 # sum value^2*weight
3568 0 # nevents
3.568000e+03 0.000000e+00 # sum of event-weights over events
3568 0 # nentries
3.568000e+03 0.000000e+00 # sum of event-weights over entries
3.568000e+03 0.000000e+00 # sum weights^2
6.489293e+03 0.000000e+00 # sum value*weight
1.416611e+04 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
3.290000e+02 0.000000e+00
1.280000e+03 0.000000e+00
2.357000e+03 0.000000e+00
3.091000e+03 0.000000e+00
3.960000e+03 0.000000e+00
4.700000e+03 0.000000e+00
5.264000e+03 0.000000e+00
5.130000e+03 0.000000e+00
4.135000e+03 0.000000e+00
2.694000e+03 0.000000e+00
1.914000e+03 0.000000e+00
1.378000e+03 0.000000e+00
1.136000e+03 0.000000e+00
8.480000e+02 0.000000e+00
1.820000e+02 0.000000e+00
3.300000e+01 0.000000e+00
1.600000e+01 0.000000e+00 # bin 19 / 20
5.900000e+01 0.000000e+00
2.230000e+02 0.000000e+00
3.650000e+02 0.000000e+00
4.150000e+02 0.000000e+00
3.900000e+02 0.000000e+00
3.070000e+02 0.000000e+00
1.970000e+02 0.000000e+00
1.740000e+02 0.000000e+00
1.750000e+02 0.000000e+00
1.770000e+02 0.000000e+00
2.250000e+02 0.000000e+00
2.490000e+02 0.000000e+00
2.710000e+02 0.000000e+00
2.280000e+02 0.000000e+00
7.300000e+01 0.000000e+00
2.400000e+01 0.000000e+00
1.500000e+01 0.000000e+00 # bin 19 / 20
1.000000e+00 0.000000e+00 # bin 20 / 20
0.000000e+00 0.000000e+00 # overflow
</Data>
......
......@@ -36,5 +36,12 @@
0.000000e+00 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
0 0 # nentries
0.000000e+00 0.000000e+00 # sum of weights
0.000000e+00 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -36,5 +36,12 @@
1.329110e+08 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
2 0 # nentries
1.290044e+03 0.000000e+00 # sum of weights
1.313755e+06 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,13 +395,13 @@
300 # Region nr. 1
</Description>
<Statistics>
5 0 # nevents
1.965518e+04 0.000000e+00 # sum of event-weights over events
5 0 # nentries
1.965518e+04 0.000000e+00 # sum of event-weights over entries
1.329110e+08 0.000000e+00 # sum weights^2
4.479881e+04 0.000000e+00 # sum value*weight
1.146521e+05 0.000000e+00 # sum value^2*weight
2 0 # nevents
1.290044e+03 0.000000e+00 # sum of event-weights over events
2 0 # nentries
1.290044e+03 0.000000e+00 # sum of event-weights over entries
1.313755e+06 0.000000e+00 # sum weights^2
3.351999e+03 0.000000e+00 # sum value*weight
8.710350e+03 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
......@@ -409,18 +409,18 @@
0.000000e+00 0.000000e+00 # bin 2 / 20
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
2.549045e+03 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
7.795957e+03 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
1.542833e+02 0.000000e+00
1.135760e+03 0.000000e+00
0.000000e+00 0.000000e+00
8.020139e+03 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00 # bin 19 / 20
......
......@@ -36,5 +36,12 @@
4.451000e+03 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
196 0 # nentries
1.960000e+02 0.000000e+00 # sum of weights
1.960000e+02 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,33 +395,33 @@
300 # Region nr. 1
</Description>
<Statistics>
4451 0 # nevents
4.451000e+03 0.000000e+00 # sum of event-weights over events
4451 0 # nentries
4.451000e+03 0.000000e+00 # sum of event-weights over entries
4.451000e+03 0.000000e+00 # sum weights^2
8.413393e+03 0.000000e+00 # sum value*weight
1.691776e+04 0.000000e+00 # sum value^2*weight
196 0 # nevents
1.960000e+02 0.000000e+00 # sum of event-weights over events
196 0 # nentries
1.960000e+02 0.000000e+00 # sum of event-weights over entries
1.960000e+02 0.000000e+00 # sum weights^2
2.677798e+02 0.000000e+00 # sum value*weight
4.306173e+02 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
0.000000e+00 0.000000e+00
1.000000e+01 0.000000e+00
3.500000e+01 0.000000e+00
3.600000e+01 0.000000e+00
5.100000e+01 0.000000e+00
3.300000e+01 0.000000e+00
8.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
2.800000e+01 0.000000e+00
1.130000e+02 0.000000e+00
1.640000e+02 0.000000e+00
3.330000e+02 0.000000e+00
4.870000e+02 0.000000e+00
7.750000e+02 0.000000e+00
8.730000e+02 0.000000e+00
7.010000e+02 0.000000e+00
3.790000e+02 0.000000e+00
2.340000e+02 0.000000e+00
1.480000e+02 0.000000e+00
1.190000e+02 0.000000e+00
8.500000e+01 0.000000e+00
7.000000e+00 0.000000e+00
3.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00 # bin 19 / 20
0.000000e+00 0.000000e+00 # bin 20 / 20
......
......@@ -36,5 +36,12 @@
2.100000e+01 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
3 0 # nentries
3.000000e+00 0.000000e+00 # sum of weights
3.000000e+00 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,32 +395,32 @@
300 # Region nr. 1
</Description>
<Statistics>
21 0 # nevents
2.100000e+01 0.000000e+00 # sum of event-weights over events
21 0 # nentries
2.100000e+01 0.000000e+00 # sum of event-weights over entries
2.100000e+01 0.000000e+00 # sum weights^2
3.875302e+01 0.000000e+00 # sum value*weight
8.019912e+01 0.000000e+00 # sum value^2*weight
3 0 # nevents
3.000000e+00 0.000000e+00 # sum of event-weights over events
3 0 # nentries
3.000000e+00 0.000000e+00 # sum of event-weights over entries
3.000000e+00 0.000000e+00 # sum weights^2
5.412886e+00 0.000000e+00 # sum value*weight
1.272235e+01 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
0.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
3.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00 # bin 19 / 20
......
......@@ -36,5 +36,12 @@
6.179000e+03 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
42 0 # nentries
4.200000e+01 0.000000e+00 # sum of weights
4.200000e+01 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,33 +395,33 @@
300 # Region nr. 1
</Description>
<Statistics>
6179 0 # nevents
6.179000e+03 0.000000e+00 # sum of event-weights over events
6179 0 # nentries
6.179000e+03 0.000000e+00 # sum of event-weights over entries
6.179000e+03 0.000000e+00 # sum weights^2
1.140779e+04 0.000000e+00 # sum value*weight
2.258488e+04 0.000000e+00 # sum value^2*weight
42 0 # nevents
4.200000e+01 0.000000e+00 # sum of event-weights over events
42 0 # nentries
4.200000e+01 0.000000e+00 # sum of event-weights over entries
4.200000e+01 0.000000e+00 # sum weights^2
7.517990e+01 0.000000e+00 # sum value*weight
1.635537e+02 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
1.300000e+01 0.000000e+00
7.700000e+01 0.000000e+00
1.560000e+02 0.000000e+00
3.330000e+02 0.000000e+00
5.220000e+02 0.000000e+00
7.690000e+02 0.000000e+00
1.033000e+03 0.000000e+00
1.157000e+03 0.000000e+00
8.150000e+02 0.000000e+00
5.260000e+02 0.000000e+00
2.890000e+02 0.000000e+00
2.070000e+02 0.000000e+00
1.370000e+02 0.000000e+00
1.230000e+02 0.000000e+00
2.200000e+01 0.000000e+00
2.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00
3.000000e+00 0.000000e+00
3.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
4.000000e+00 0.000000e+00
1.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00
0.000000e+00 0.000000e+00 # bin 19 / 20
0.000000e+00 0.000000e+00 # bin 20 / 20
......
......@@ -36,5 +36,12 @@
1.766900e+04 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
1172 0 # nentries
1.172000e+03 0.000000e+00 # sum of weights
1.172000e+03 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,34 +395,34 @@
300 # Region nr. 1
</Description>
<Statistics>
17669 0 # nevents
1.766900e+04 0.000000e+00 # sum of event-weights over events
17669 0 # nentries
1.766900e+04 0.000000e+00 # sum of event-weights over entries
1.766900e+04 0.000000e+00 # sum weights^2
3.526570e+04 0.000000e+00 # sum value*weight
7.340139e+04 0.000000e+00 # sum value^2*weight
1172 0 # nevents
1.172000e+03 0.000000e+00 # sum of event-weights over events
1172 0 # nentries
1.172000e+03 0.000000e+00 # sum of event-weights over entries
1.172000e+03 0.000000e+00 # sum weights^2
2.856368e+03 0.000000e+00 # sum value*weight
7.456909e+03 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
4.000000e+00 0.000000e+00
2.000000e+00 0.000000e+00
1.400000e+01 0.000000e+00
1.000000e+00 0.000000e+00
5.000000e+00 0.000000e+00
2.000000e+01 0.000000e+00
5.100000e+01 0.000000e+00
9.800000e+01 0.000000e+00
7.300000e+01 0.000000e+00
7.600000e+01 0.000000e+00
7.700000e+01 0.000000e+00
8.500000e+01 0.000000e+00
5.080000e+02 0.000000e+00
1.832000e+03 0.000000e+00
3.678000e+03 0.000000e+00
4.167000e+03 0.000000e+00
2.990000e+03 0.000000e+00
1.724000e+03 0.000000e+00
1.031000e+03 0.000000e+00
6.160000e+02 0.000000e+00
4.810000e+02 0.000000e+00
4.010000e+02 0.000000e+00
9.700000e+01 0.000000e+00
2.100000e+01 0.000000e+00
1.050000e+02 0.000000e+00
1.440000e+02 0.000000e+00
1.740000e+02 0.000000e+00
1.750000e+02 0.000000e+00
5.100000e+01 0.000000e+00
1.500000e+01 0.000000e+00
1.400000e+01 0.000000e+00 # bin 19 / 20
2.000000e+00 0.000000e+00 # bin 20 / 20
2.000000e+00 0.000000e+00 # overflow
......
......@@ -36,5 +36,12 @@
2.136498e-15 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
20128 0 # nentries
3.195836e-06 0.000000e+00 # sum of weights
5.074209e-16 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,35 +395,35 @@
300 # Region nr. 1
</Description>
<Statistics>
84749 0 # nevents
1.345608e-05 0.000000e+00 # sum of event-weights over events
84749 0 # nentries
1.345608e-05 0.000000e+00 # sum of event-weights over entries
2.136498e-15 0.000000e+00 # sum weights^2
2.863378e-05 0.000000e+00 # sum value*weight
6.533801e-05 0.000000e+00 # sum value^2*weight
20128 0 # nevents
3.195836e-06 0.000000e+00 # sum of event-weights over events
20128 0 # nentries
3.195836e-06 0.000000e+00 # sum of event-weights over entries
5.074209e-16 0.000000e+00 # sum weights^2
7.095582e-06 0.000000e+00 # sum value*weight
1.769557e-05 0.000000e+00 # sum value^2*weight
</Statistics>
<Data>
0.000000e+00 0.000000e+00 # underflow
0.000000e+00 0.000000e+00 # bin 1 / 20
0.000000e+00 0.000000e+00 # bin 2 / 20
2.492768e-08 0.000000e+00
1.306722e-07 0.000000e+00
2.368931e-07 0.000000e+00
3.708999e-07 0.000000e+00
5.947735e-07 0.000000e+00
9.474144e-07 0.000000e+00
1.454068e-06 0.000000e+00
1.912612e-06 0.000000e+00
1.930554e-06 0.000000e+00
1.615860e-06 0.000000e+00
1.296721e-06 0.000000e+00
1.060780e-06 0.000000e+00
8.835864e-07 0.000000e+00
7.257634e-07 0.000000e+00
1.935474e-07 0.000000e+00
5.588887e-08 0.000000e+00
1.492488e-08 0.000000e+00 # bin 19 / 20
2.095833e-08 0.000000e+00
9.859963e-08 0.000000e+00
1.489315e-07 0.000000e+00
1.922771e-07 0.000000e+00
2.205396e-07 0.000000e+00
1.786231e-07 0.000000e+00
1.430569e-07 0.000000e+00
1.513130e-07 0.000000e+00
1.846560e-07 0.000000e+00
2.499129e-07 0.000000e+00
3.154872e-07 0.000000e+00
3.785210e-07 0.000000e+00
3.820147e-07 0.000000e+00
3.470832e-07 0.000000e+00
1.166999e-07 0.000000e+00
4.715618e-08 0.000000e+00
1.381346e-08 0.000000e+00 # bin 19 / 20
4.763245e-09 0.000000e+00 # bin 20 / 20
1.428969e-09 0.000000e+00 # overflow
</Data>
......
......@@ -36,5 +36,12 @@
2.431943e-15 0.000000e+00 # sum of weights^2
</Counter>
<Counter>
"dPt" # 5st cut
35150 0 # nentries
4.390724e-06 0.000000e+00 # sum of weights
5.484625e-16 0.000000e+00 # sum of weights^2
</Counter>
<SAFfooter>
</SAFfooter>
......@@ -395,35 +395,35 @@
300 # Region nr. 1
</Description>
<Statistics>
155859 0 # nevents
1.946896e-05 0.000000e+00 # sum of event-weights over events
155859 0 # nentries