1 |
dhidas |
1.1 |
/*
|
2 |
|
|
* TtbarHypothesis.cpp
|
3 |
|
|
*
|
4 |
|
|
* Created on: Dec 4, 2010
|
5 |
|
|
* Author: lkreczko
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#include "../interface/TtbarHypothesis.h"
|
9 |
|
|
|
10 |
|
|
namespace BAT {
|
11 |
|
|
|
12 |
|
|
TtbarHypothesis::TtbarHypothesis() :
|
13 |
|
|
totalChi2(99999.),
|
14 |
|
|
leptonicChi2(99999.),
|
15 |
|
|
hadronicChi2(99999.),
|
16 |
|
|
globalChi2(99999.),
|
17 |
|
|
hadronicTop(),
|
18 |
|
|
leptonicTop(),
|
19 |
|
|
leptonicW(),
|
20 |
|
|
hadronicW(),
|
21 |
|
|
resonance(),
|
22 |
|
|
neutrinoFromW(),
|
23 |
|
|
leptonicBjet(),
|
24 |
|
|
hadronicBJet(),
|
25 |
|
|
jet1FromW(),
|
26 |
|
|
jet2FromW(),
|
27 |
|
|
leptonFromW(),
|
28 |
|
|
met() {
|
29 |
|
|
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
TtbarHypothesis::~TtbarHypothesis() {
|
33 |
|
|
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
bool TtbarHypothesis::operator <(const TtbarHypothesis& hyp) const {
|
37 |
|
|
return totalChi2 < hyp.totalChi2;
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
bool TtbarHypothesis::operator ==(const TtbarHypothesis& hyp) const {
|
41 |
|
|
return totalChi2 == hyp.totalChi2;
|
42 |
|
|
}
|
43 |
|
|
|
44 |
|
|
} // namespace BAT
|