20 |
|
ReconstructionHypothesis(){ |
21 |
|
m_tophad_jets_ind.clear(); |
22 |
|
m_toplep_jets_ind.clear(); |
23 |
+ |
m_blep_ind=-1; |
24 |
|
LorentzVector v4(0,0,0,0); |
25 |
|
m_toplep_v4=v4; |
26 |
|
m_tophad_v4=v4; |
40 |
|
LorentzVector top_v4() const{ return m_lepton.charge() > 0 ? m_toplep_v4 : m_tophad_v4;} |
41 |
|
LorentzVector antitop_v4() const{ return m_lepton.charge() < 0 ? m_toplep_v4 : m_tophad_v4;} |
42 |
|
LorentzVector wlep_v4() const{ return m_neutrino_v4+m_lepton.v4();} |
43 |
+ |
int blep_index() const{ return m_blep_ind;} |
44 |
|
|
45 |
|
/// get the discriminator value for this hypothesis |
46 |
|
float discriminator(std::string l){ |
62 |
|
void set_neutrino_v4(LorentzVector v4){m_neutrino_v4=v4;} |
63 |
|
void add_toplep_jet_index(unsigned int j){m_toplep_jets_ind.push_back(j);} |
64 |
|
void add_tophad_jet_index(unsigned int j){m_tophad_jets_ind.push_back(j);} |
65 |
+ |
void set_blep_index(int j){m_blep_ind=j;} |
66 |
|
void set_lepton(Particle p){m_lepton=p;} |
67 |
|
void add_qualityflag(qualityflag q){m_qualityflags.push_back(q);} |
68 |
|
void add_qualityflag(std::string label, float discr){ |
94 |
|
//indices to the jets in the jet list assigned to hadronic and leptonic tops |
95 |
|
std::vector<unsigned int> m_tophad_jets_ind; |
96 |
|
std::vector<unsigned int> m_toplep_jets_ind; |
97 |
+ |
//index to the jet with highest pt assigned to the leptonic top |
98 |
+ |
int m_blep_ind; |
99 |
|
|
100 |
|
Particle m_lepton; |
101 |
|
|