56 |
|
return id_; |
57 |
|
}; |
58 |
|
|
59 |
+ |
inline const bool WPc60() { |
60 |
+ |
return (id_.idAndIso & 0x1); |
61 |
+ |
}; |
62 |
+ |
inline const bool WPc70() { |
63 |
+ |
return (id_.idAndIso & 0x2) >> 1; |
64 |
+ |
}; |
65 |
+ |
inline const bool WPc80() { |
66 |
+ |
return (id_.idAndIso & 0x4) >> 2; |
67 |
+ |
}; |
68 |
+ |
inline const bool WPc85() { |
69 |
+ |
return (id_.idAndIso & 0x8) >> 3; |
70 |
+ |
}; |
71 |
+ |
inline const bool WPc90() { |
72 |
+ |
return (id_.idAndIso & 0x10) >> 4; |
73 |
+ |
}; |
74 |
+ |
inline const bool WPc95() { |
75 |
+ |
return (id_.idAndIso & 0x20) >> 5; |
76 |
+ |
}; |
77 |
+ |
inline const bool WPrel60() { |
78 |
+ |
return (id_.idAndIso & 0x40) >> 6; |
79 |
+ |
}; |
80 |
+ |
inline const bool WPrel70() { |
81 |
+ |
return (id_.idAndIso & 0x80) >> 7; |
82 |
+ |
}; |
83 |
+ |
inline const bool WPrel80() { |
84 |
+ |
return (id_.idAndIso & 0x100) >> 8; |
85 |
+ |
}; |
86 |
+ |
inline const bool WPrel85() { |
87 |
+ |
return (id_.idAndIso & 0x200) >> 9; |
88 |
+ |
}; |
89 |
+ |
inline const bool WPrel90() { |
90 |
+ |
return (id_.idAndIso & 0x400) >> 10; |
91 |
+ |
}; |
92 |
+ |
inline const bool WPrel95() { |
93 |
+ |
return (id_.idAndIso & 0x800) >> 11; |
94 |
+ |
}; |
95 |
+ |
|
96 |
+ |
|
97 |
|
inline void genVars(const HbbAnalysis::GenVars & aGen) { |
98 |
|
gen_ = aGen; |
99 |
|
}; |
119 |
|
gen_.E = 0; |
120 |
|
gen_.pT = 0; |
121 |
|
gen_.eta = 0; |
122 |
+ |
gen_.y = 0; |
123 |
|
gen_.phi = 0; |
124 |
|
gen_.charge = 0; |
125 |
|
gen_.pdgId = 0; |
132 |
|
reco_.E = 0; |
133 |
|
reco_.pT = 0; |
134 |
|
reco_.eta = 0; |
135 |
+ |
reco_.y = 0; |
136 |
|
reco_.phi = 0; |
137 |
|
reco_.charge = 0; |
138 |
|
reco_.vx = 0; |
139 |
|
reco_.vy = 0; |
140 |
|
reco_.vz = 0; |
141 |
|
|
142 |
+ |
sc_.eta = 0; |
143 |
|
sc_.sigmaEtaEta = 0; |
144 |
|
sc_.sigmaIEtaIEta = 0; |
145 |
|
sc_.e1x5 = 0; |
152 |
|
iso_.ecal = 0; |
153 |
|
iso_.hcal = 0; |
154 |
|
|
155 |
+ |
id_.idAndIso = 0; |
156 |
|
id_.electronIDs.clear(); |
157 |
|
id_.hOverE = 0; |
158 |
|
id_.deltaPhiIn = 0; |