15 |
|
//Wen = 3 |
16 |
|
//Znn = 4 |
17 |
|
|
18 |
< |
enum CandidateType{Zmumu, Zee, Wmun, Wen, Znn, UNKNOWN}; |
18 |
> |
enum CandidateType{Zmumu, Zee, Wmun, Wen, Znn, Zemu, Ztaumu, Ztaue, Wtaun, Ztautau, Zbb, UNKNOWN}; |
19 |
|
|
20 |
|
VHbbCandidate(){candidateType=UNKNOWN;} |
21 |
|
|
22 |
|
class VectorCandidate { |
23 |
|
public: |
24 |
< |
VectorCandidate() : firstLepton(-99),secondLepton(-99) {} |
24 |
> |
VectorCandidate() : firstLepton(0),secondLepton(1) {} |
25 |
|
double Mt(CandidateType candidateType) const { |
26 |
|
if(candidateType==Wen) |
27 |
|
{ |
53 |
|
public: |
54 |
|
TLorentzVector p4; |
55 |
|
std::vector<VHbbEvent::SimpleJet> jets; |
56 |
+ |
size_t indices[2]; |
57 |
+ |
bool HiggsFlag; |
58 |
|
float deltaTheta; |
59 |
|
std::vector <float> helicities; |
60 |
|
public: |
61 |
|
VHbbEvent::SimpleJet& firstJet(){return jets[0];} |
62 |
|
VHbbEvent::SimpleJet& secondJet(){return jets[1];} |
63 |
+ |
|
64 |
+ |
size_t firstJetIndex(){return indices[0];} |
65 |
+ |
size_t secondJetIndex(){return indices[1];} |
66 |
|
}; |
67 |
|
|
68 |
+ |
class FatHiggsCandidate { |
69 |
+ |
public: |
70 |
+ |
TLorentzVector p4; |
71 |
+ |
std::vector<VHbbEvent::SimpleJet> jets; |
72 |
+ |
bool FatHiggsFlag; |
73 |
+ |
int subjetsSize; |
74 |
+ |
float deltaTheta; |
75 |
+ |
std::vector <float> helicities; |
76 |
+ |
public: |
77 |
+ |
VHbbEvent::SimpleJet& firstJet(){return jets[0];} |
78 |
+ |
VHbbEvent::SimpleJet& secondJet(){return jets[1];} |
79 |
+ |
}; |
80 |
|
|
81 |
|
void setCandidateType (CandidateType c){candidateType = c;} |
82 |
|
|
101 |
|
public: |
102 |
|
TLorentzVector p4(){return V.p4+H.p4;} |
103 |
|
CandidateType candidateType; |
104 |
+ |
CandidateType candidateTypeWithTau; |
105 |
|
HiggsCandidate H; |
106 |
+ |
FatHiggsCandidate FatH; |
107 |
|
VectorCandidate V; |
108 |
+ |
VectorCandidate VTau; |
109 |
|
std::vector<VHbbEvent::SimpleJet> additionalJets; |
110 |
+ |
std::vector<VHbbEvent::SimpleJet> additionalJetsFat; |
111 |
|
}; |
112 |
|
|
113 |
|
|