5 |
|
|
6 |
|
#include "../interface/TRootParticle.h" |
7 |
|
|
8 |
– |
#include "Rtypes.h" |
9 |
– |
#include "TObject.h" |
10 |
– |
|
8 |
|
using namespace std; |
9 |
|
|
10 |
+ |
class TRootSuperCluster; |
11 |
+ |
|
12 |
|
class TRootElectron : public TRootParticle |
13 |
|
{ |
14 |
|
|
15 |
< |
public: |
15 |
> |
public: |
16 |
|
|
17 |
< |
TRootElectron() : |
18 |
< |
TRootParticle() |
19 |
< |
,classification_(-9999) |
20 |
< |
,caloEnergy_(-9999.) |
21 |
< |
,caloEnergyError_(-9999.) |
22 |
< |
,trackMomentum_(-9999.) |
23 |
< |
,trackMomentumError_(-9999.) |
24 |
< |
,hadOverEm_(-9999.) |
25 |
< |
,deltaEtaIn_(-9999.) |
26 |
< |
,deltaPhiIn_(-9999.) |
27 |
< |
,energySuperClusterOverPin_(-9999.) |
28 |
< |
,deltaEtaOut_(-9999.) |
29 |
< |
,deltaPhiOut_(-9999.) |
30 |
< |
,energySeedClusterOverPout_(-9999.) |
31 |
< |
,energyScaleCorrected_(false) |
32 |
< |
,momentumCorrected_(false) |
33 |
< |
,d0_(-9999.) |
34 |
< |
,d0Error_(-9999.) |
35 |
< |
,dsz_(-9999.) |
36 |
< |
,dszError_(-9999.) |
37 |
< |
,normalizedChi2_(-9999.) |
38 |
< |
,ptError_(-9999.) |
39 |
< |
,etaError_(-9999.) |
40 |
< |
,phiError_(-9999.) |
41 |
< |
,nbClusters_(-9999) |
42 |
< |
,superClusterRawEnergy_(-9999.) |
43 |
< |
,preshowerEnergy_(-9999.) |
44 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
45 |
< |
,scRef_() |
46 |
< |
,clusterAlgo_(-9999) |
47 |
< |
,caloConeSize_(-9999.) |
48 |
< |
,e2x2_(-9999.) |
49 |
< |
,e3x3_(-9999.) |
50 |
< |
,e5x5_(-9999.) |
51 |
< |
,eMax_(-9999.) |
52 |
< |
,isoR01_sumPt_(-9999.) |
53 |
< |
,isoR01_nTracks_(-9999) |
54 |
< |
,isoR02_sumPt_(-9999.) |
55 |
< |
,isoR02_nTracks_(-9999) |
56 |
< |
,isoR03_emEt_(-9999.) |
57 |
< |
,isoR03_hadEt_(-9999.) |
58 |
< |
,isoR03_sumPt_(-9999.) |
59 |
< |
,isoR03_nTracks_(-9999) |
60 |
< |
,isoR05_emEt_(-9999.) |
61 |
< |
,isoR05_hadEt_(-9999.) |
62 |
< |
,isoR05_sumPt_(-9999.) |
63 |
< |
,isoR05_nTracks_(-9999) |
64 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
65 |
< |
,idCutBasedFixedThresholdTight_(-1) |
66 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
67 |
< |
,idCutBasedCategorizedLoose_(-1) |
68 |
< |
,idCutBasedCategorizedTight_(-1) |
69 |
< |
,idLikelihood_(-9999.) |
70 |
< |
,idNeuralNet_(-9999.) |
71 |
< |
{;} |
72 |
< |
|
73 |
< |
TRootElectron(const TRootElectron& electron) : |
74 |
< |
TRootParticle(electron) |
75 |
< |
,classification_(electron.classification_) |
76 |
< |
,caloEnergy_(electron.caloEnergy_) |
77 |
< |
,caloEnergyError_(electron.caloEnergyError_) |
78 |
< |
,trackMomentum_(electron.trackMomentum_) |
79 |
< |
,trackMomentumError_(electron.trackMomentumError_) |
80 |
< |
,hadOverEm_(electron.hadOverEm_) |
81 |
< |
,deltaEtaIn_(electron.deltaEtaIn_) |
82 |
< |
,deltaPhiIn_(electron.deltaPhiIn_) |
83 |
< |
,energySuperClusterOverPin_(electron.energySuperClusterOverPin_) |
84 |
< |
,deltaEtaOut_(electron.deltaEtaOut_) |
85 |
< |
,deltaPhiOut_(electron.deltaPhiOut_) |
86 |
< |
,energySeedClusterOverPout_(electron.energySeedClusterOverPout_) |
87 |
< |
,energyScaleCorrected_(electron.energyScaleCorrected_) |
88 |
< |
,momentumCorrected_(electron.momentumCorrected_) |
89 |
< |
,d0_(electron.d0_) |
90 |
< |
,d0Error_(electron.d0Error_) |
91 |
< |
,dsz_(electron.dsz_) |
92 |
< |
,dszError_(electron.dszError_) |
93 |
< |
,normalizedChi2_(electron.normalizedChi2_) |
94 |
< |
,ptError_(electron.ptError_) |
95 |
< |
,etaError_(electron.etaError_) |
96 |
< |
,phiError_(electron.phiError_) |
97 |
< |
,nbClusters_(electron.nbClusters_) |
98 |
< |
,superClusterRawEnergy_(electron.superClusterRawEnergy_) |
99 |
< |
,preshowerEnergy_(electron.preshowerEnergy_) |
100 |
< |
,caloPosition_(electron.caloPosition_) |
101 |
< |
,scRef_(electron.scRef_) |
102 |
< |
,clusterAlgo_(electron.clusterAlgo_) |
103 |
< |
,caloConeSize_(electron.caloConeSize_) |
104 |
< |
,e2x2_(electron.e2x2_) |
105 |
< |
,e3x3_(electron.e3x3_) |
106 |
< |
,e5x5_(electron.e5x5_) |
107 |
< |
,eMax_(electron.eMax_) |
108 |
< |
,isoR01_sumPt_(electron.isoR01_sumPt_) |
109 |
< |
,isoR01_nTracks_(electron.isoR01_nTracks_) |
110 |
< |
,isoR02_sumPt_(electron.isoR02_sumPt_) |
111 |
< |
,isoR02_nTracks_(electron.isoR02_nTracks_) |
112 |
< |
,isoR03_emEt_(electron.isoR03_emEt_) |
113 |
< |
,isoR03_hadEt_(electron.isoR03_hadEt_) |
114 |
< |
,isoR03_sumPt_(electron.isoR03_sumPt_) |
115 |
< |
,isoR03_nTracks_(electron.isoR03_nTracks_) |
116 |
< |
,isoR05_emEt_(electron.isoR05_emEt_) |
117 |
< |
,isoR05_hadEt_(electron.isoR05_hadEt_) |
118 |
< |
,isoR05_sumPt_(electron.isoR05_sumPt_) |
119 |
< |
,isoR05_nTracks_(electron.isoR05_nTracks_) |
120 |
< |
,idCutBasedFixedThresholdLoose_(electron.idCutBasedFixedThresholdLoose_) |
121 |
< |
,idCutBasedFixedThresholdTight_(electron.idCutBasedFixedThresholdTight_) |
122 |
< |
,idCutBasedFixedThresholdHighEnergy_(electron.idCutBasedFixedThresholdHighEnergy_) |
123 |
< |
,idCutBasedCategorizedLoose_(electron.idCutBasedCategorizedLoose_) |
124 |
< |
,idCutBasedCategorizedTight_(electron.idCutBasedCategorizedTight_) |
125 |
< |
,idLikelihood_(electron.idLikelihood_) |
126 |
< |
,idNeuralNet_(electron.idNeuralNet_) |
127 |
< |
{;} |
128 |
< |
|
129 |
< |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e) : |
130 |
< |
TRootParticle(px,py,pz,e) |
131 |
< |
,classification_(-9999) |
132 |
< |
,caloEnergy_(-9999.) |
133 |
< |
,caloEnergyError_(-9999.) |
134 |
< |
,trackMomentum_(-9999.) |
135 |
< |
,trackMomentumError_(-9999.) |
136 |
< |
,hadOverEm_(-9999.) |
137 |
< |
,deltaEtaIn_(-9999.) |
138 |
< |
,deltaPhiIn_(-9999.) |
139 |
< |
,energySuperClusterOverPin_(-9999.) |
140 |
< |
,deltaEtaOut_(-9999.) |
141 |
< |
,deltaPhiOut_(-9999.) |
142 |
< |
,energySeedClusterOverPout_(-9999.) |
143 |
< |
,energyScaleCorrected_(false) |
144 |
< |
,momentumCorrected_(false) |
145 |
< |
,d0_(-9999.) |
146 |
< |
,d0Error_(-9999.) |
147 |
< |
,dsz_(-9999.) |
148 |
< |
,dszError_(-9999.) |
149 |
< |
,normalizedChi2_(-9999.) |
150 |
< |
,ptError_(-9999.) |
151 |
< |
,etaError_(-9999.) |
152 |
< |
,phiError_(-9999.) |
153 |
< |
,nbClusters_(-9999) |
154 |
< |
,superClusterRawEnergy_(-9999.) |
155 |
< |
,preshowerEnergy_(-9999.) |
156 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
157 |
< |
,scRef_() |
158 |
< |
,clusterAlgo_(-9999) |
159 |
< |
,caloConeSize_(-9999.) |
160 |
< |
,e2x2_(-9999.) |
161 |
< |
,e3x3_(-9999.) |
162 |
< |
,e5x5_(-9999.) |
163 |
< |
,eMax_(-9999.) |
164 |
< |
,isoR01_sumPt_(-9999.) |
165 |
< |
,isoR01_nTracks_(-9999) |
166 |
< |
,isoR02_sumPt_(-9999.) |
167 |
< |
,isoR02_nTracks_(-9999) |
168 |
< |
,isoR03_emEt_(-9999.) |
169 |
< |
,isoR03_hadEt_(-9999.) |
170 |
< |
,isoR03_sumPt_(-9999.) |
171 |
< |
,isoR03_nTracks_(-9999) |
172 |
< |
,isoR05_emEt_(-9999.) |
173 |
< |
,isoR05_hadEt_(-9999.) |
174 |
< |
,isoR05_sumPt_(-9999.) |
175 |
< |
,isoR05_nTracks_(-9999) |
176 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
177 |
< |
,idCutBasedFixedThresholdTight_(-1) |
178 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
179 |
< |
,idCutBasedCategorizedLoose_(-1) |
180 |
< |
,idCutBasedCategorizedTight_(-1) |
181 |
< |
,idLikelihood_(-9999.) |
182 |
< |
,idNeuralNet_(-9999.) |
183 |
< |
{;} |
184 |
< |
|
185 |
< |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z) : |
186 |
< |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z) |
187 |
< |
,classification_(-9999) |
188 |
< |
,caloEnergy_(-9999.) |
189 |
< |
,caloEnergyError_(-9999.) |
190 |
< |
,trackMomentum_(-9999.) |
191 |
< |
,trackMomentumError_(-9999.) |
192 |
< |
,hadOverEm_(-9999.) |
193 |
< |
,deltaEtaIn_(-9999.) |
194 |
< |
,deltaPhiIn_(-9999.) |
195 |
< |
,energySuperClusterOverPin_(-9999.) |
196 |
< |
,deltaEtaOut_(-9999.) |
197 |
< |
,deltaPhiOut_(-9999.) |
198 |
< |
,energySeedClusterOverPout_(-9999.) |
199 |
< |
,energyScaleCorrected_(false) |
200 |
< |
,momentumCorrected_(false) |
201 |
< |
,d0_(-9999.) |
202 |
< |
,d0Error_(-9999.) |
203 |
< |
,dsz_(-9999.) |
204 |
< |
,dszError_(-9999.) |
205 |
< |
,normalizedChi2_(-9999.) |
206 |
< |
,ptError_(-9999.) |
207 |
< |
,etaError_(-9999.) |
208 |
< |
,phiError_(-9999.) |
209 |
< |
,nbClusters_(-9999) |
210 |
< |
,superClusterRawEnergy_(-9999.) |
211 |
< |
,preshowerEnergy_(-9999.) |
212 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
213 |
< |
,scRef_() |
214 |
< |
,clusterAlgo_(-9999) |
215 |
< |
,caloConeSize_(-9999.) |
216 |
< |
,e2x2_(-9999.) |
217 |
< |
,e3x3_(-9999.) |
218 |
< |
,e5x5_(-9999.) |
219 |
< |
,eMax_(-9999.) |
220 |
< |
,isoR01_sumPt_(-9999.) |
221 |
< |
,isoR01_nTracks_(-9999) |
222 |
< |
,isoR02_sumPt_(-9999.) |
223 |
< |
,isoR02_nTracks_(-9999) |
224 |
< |
,isoR03_emEt_(-9999.) |
225 |
< |
,isoR03_hadEt_(-9999.) |
226 |
< |
,isoR03_sumPt_(-9999.) |
227 |
< |
,isoR03_nTracks_(-9999) |
228 |
< |
,isoR05_emEt_(-9999.) |
229 |
< |
,isoR05_hadEt_(-9999.) |
230 |
< |
,isoR05_sumPt_(-9999.) |
231 |
< |
,isoR05_nTracks_(-9999) |
232 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
233 |
< |
,idCutBasedFixedThresholdTight_(-1) |
234 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
235 |
< |
,idCutBasedCategorizedLoose_(-1) |
236 |
< |
,idCutBasedCategorizedTight_(-1) |
237 |
< |
,idLikelihood_(-9999.) |
238 |
< |
,idNeuralNet_(-9999.) |
239 |
< |
{;} |
240 |
< |
|
241 |
< |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z, Int_t type, Float_t charge) : |
242 |
< |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z,type,charge) |
243 |
< |
,classification_(-9999) |
244 |
< |
,caloEnergy_(-9999.) |
245 |
< |
,caloEnergyError_(-9999.) |
246 |
< |
,trackMomentum_(-9999.) |
247 |
< |
,trackMomentumError_(-9999.) |
248 |
< |
,hadOverEm_(-9999.) |
249 |
< |
,deltaEtaIn_(-9999.) |
250 |
< |
,deltaPhiIn_(-9999.) |
251 |
< |
,energySuperClusterOverPin_(-9999.) |
252 |
< |
,deltaEtaOut_(-9999.) |
253 |
< |
,deltaPhiOut_(-9999.) |
254 |
< |
,energySeedClusterOverPout_(-9999.) |
255 |
< |
,energyScaleCorrected_(false) |
256 |
< |
,momentumCorrected_(false) |
257 |
< |
,d0_(-9999.) |
258 |
< |
,d0Error_(-9999.) |
259 |
< |
,dsz_(-9999.) |
260 |
< |
,dszError_(-9999.) |
261 |
< |
,normalizedChi2_(-9999.) |
262 |
< |
,ptError_(-9999.) |
263 |
< |
,etaError_(-9999.) |
264 |
< |
,phiError_(-9999.) |
265 |
< |
,nbClusters_(-9999) |
266 |
< |
,superClusterRawEnergy_(-9999.) |
267 |
< |
,preshowerEnergy_(-9999.) |
268 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
269 |
< |
,scRef_() |
270 |
< |
,clusterAlgo_(-9999) |
271 |
< |
,caloConeSize_(-9999.) |
272 |
< |
,e2x2_(-9999.) |
273 |
< |
,e3x3_(-9999.) |
274 |
< |
,e5x5_(-9999.) |
275 |
< |
,eMax_(-9999.) |
276 |
< |
,isoR01_sumPt_(-9999.) |
277 |
< |
,isoR01_nTracks_(-9999) |
278 |
< |
,isoR02_sumPt_(-9999.) |
279 |
< |
,isoR02_nTracks_(-9999) |
280 |
< |
,isoR03_emEt_(-9999.) |
281 |
< |
,isoR03_hadEt_(-9999.) |
282 |
< |
,isoR03_sumPt_(-9999.) |
283 |
< |
,isoR03_nTracks_(-9999) |
284 |
< |
,isoR05_emEt_(-9999.) |
285 |
< |
,isoR05_hadEt_(-9999.) |
286 |
< |
,isoR05_sumPt_(-9999.) |
287 |
< |
,isoR05_nTracks_(-9999) |
288 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
289 |
< |
,idCutBasedFixedThresholdTight_(-1) |
290 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
291 |
< |
,idCutBasedCategorizedLoose_(-1) |
292 |
< |
,idCutBasedCategorizedTight_(-1) |
293 |
< |
,idLikelihood_(-9999.) |
294 |
< |
,idNeuralNet_(-9999.) |
295 |
< |
{;} |
296 |
< |
|
297 |
< |
TRootElectron(const TLorentzVector &momentum) : |
298 |
< |
TRootParticle(momentum) |
299 |
< |
,classification_(-9999) |
300 |
< |
,caloEnergy_(-9999.) |
301 |
< |
,caloEnergyError_(-9999.) |
302 |
< |
,trackMomentum_(-9999.) |
303 |
< |
,trackMomentumError_(-9999.) |
304 |
< |
,hadOverEm_(-9999.) |
305 |
< |
,deltaEtaIn_(-9999.) |
306 |
< |
,deltaPhiIn_(-9999.) |
307 |
< |
,energySuperClusterOverPin_(-9999.) |
308 |
< |
,deltaEtaOut_(-9999.) |
309 |
< |
,deltaPhiOut_(-9999.) |
310 |
< |
,energySeedClusterOverPout_(-9999.) |
311 |
< |
,energyScaleCorrected_(false) |
312 |
< |
,momentumCorrected_(false) |
313 |
< |
,d0_(-9999.) |
314 |
< |
,d0Error_(-9999.) |
315 |
< |
,dsz_(-9999.) |
316 |
< |
,dszError_(-9999.) |
317 |
< |
,normalizedChi2_(-9999.) |
318 |
< |
,ptError_(-9999.) |
319 |
< |
,etaError_(-9999.) |
320 |
< |
,phiError_(-9999.) |
321 |
< |
,nbClusters_(-9999) |
322 |
< |
,superClusterRawEnergy_(-9999.) |
323 |
< |
,preshowerEnergy_(-9999.) |
324 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
325 |
< |
,scRef_() |
326 |
< |
,clusterAlgo_(-9999) |
327 |
< |
,caloConeSize_(-9999.) |
328 |
< |
,e2x2_(-9999.) |
329 |
< |
,e3x3_(-9999.) |
330 |
< |
,e5x5_(-9999.) |
331 |
< |
,eMax_(-9999.) |
332 |
< |
,isoR01_sumPt_(-9999.) |
333 |
< |
,isoR01_nTracks_(-9999) |
334 |
< |
,isoR02_sumPt_(-9999.) |
335 |
< |
,isoR02_nTracks_(-9999) |
336 |
< |
,isoR03_emEt_(-9999.) |
337 |
< |
,isoR03_hadEt_(-9999.) |
338 |
< |
,isoR03_sumPt_(-9999.) |
339 |
< |
,isoR03_nTracks_(-9999) |
340 |
< |
,isoR05_emEt_(-9999.) |
341 |
< |
,isoR05_hadEt_(-9999.) |
342 |
< |
,isoR05_sumPt_(-9999.) |
343 |
< |
,isoR05_nTracks_(-9999) |
344 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
345 |
< |
,idCutBasedFixedThresholdTight_(-1) |
346 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
347 |
< |
,idCutBasedCategorizedLoose_(-1) |
348 |
< |
,idCutBasedCategorizedTight_(-1) |
349 |
< |
,idLikelihood_(-9999.) |
350 |
< |
,idNeuralNet_(-9999.) |
351 |
< |
{;} |
352 |
< |
|
353 |
< |
TRootElectron(const TLorentzVector &momentum, const TVector3 &vertex, Int_t type, Float_t charge) : |
354 |
< |
TRootParticle(momentum, vertex, type, charge) |
355 |
< |
,classification_(-9999) |
356 |
< |
,caloEnergy_(-9999.) |
357 |
< |
,caloEnergyError_(-9999.) |
358 |
< |
,trackMomentum_(-9999.) |
359 |
< |
,trackMomentumError_(-9999.) |
360 |
< |
,hadOverEm_(-9999.) |
361 |
< |
,deltaEtaIn_(-9999.) |
362 |
< |
,deltaPhiIn_(-9999.) |
363 |
< |
,energySuperClusterOverPin_(-9999.) |
364 |
< |
,deltaEtaOut_(-9999.) |
365 |
< |
,deltaPhiOut_(-9999.) |
366 |
< |
,energySeedClusterOverPout_(-9999.) |
367 |
< |
,energyScaleCorrected_(false) |
368 |
< |
,momentumCorrected_(false) |
369 |
< |
,d0_(-9999.) |
370 |
< |
,d0Error_(-9999.) |
371 |
< |
,dsz_(-9999.) |
372 |
< |
,dszError_(-9999.) |
373 |
< |
,normalizedChi2_(-9999.) |
374 |
< |
,ptError_(-9999.) |
375 |
< |
,etaError_(-9999.) |
376 |
< |
,phiError_(-9999.) |
377 |
< |
,nbClusters_(-9999) |
378 |
< |
,superClusterRawEnergy_(-9999.) |
379 |
< |
,preshowerEnergy_(-9999.) |
380 |
< |
,caloPosition_(-9999.,-9999.,-9999.) |
381 |
< |
,scRef_() |
382 |
< |
,clusterAlgo_(-9999) |
383 |
< |
,caloConeSize_(-9999.) |
384 |
< |
,e2x2_(-9999.) |
385 |
< |
,e3x3_(-9999.) |
386 |
< |
,e5x5_(-9999.) |
387 |
< |
,eMax_(-9999.) |
388 |
< |
,isoR01_sumPt_(-9999.) |
389 |
< |
,isoR01_nTracks_(-9999) |
390 |
< |
,isoR02_sumPt_(-9999.) |
391 |
< |
,isoR02_nTracks_(-9999) |
392 |
< |
,isoR03_emEt_(-9999.) |
393 |
< |
,isoR03_hadEt_(-9999.) |
394 |
< |
,isoR03_sumPt_(-9999.) |
395 |
< |
,isoR03_nTracks_(-9999) |
396 |
< |
,isoR05_emEt_(-9999.) |
397 |
< |
,isoR05_hadEt_(-9999.) |
398 |
< |
,isoR05_sumPt_(-9999.) |
399 |
< |
,isoR05_nTracks_(-9999) |
400 |
< |
,idCutBasedFixedThresholdLoose_(-1) |
401 |
< |
,idCutBasedFixedThresholdTight_(-1) |
402 |
< |
,idCutBasedFixedThresholdHighEnergy_(-1) |
403 |
< |
,idCutBasedCategorizedLoose_(-1) |
404 |
< |
,idCutBasedCategorizedTight_(-1) |
405 |
< |
,idLikelihood_(-9999.) |
406 |
< |
,idNeuralNet_(-9999.) |
407 |
< |
{;} |
408 |
< |
|
409 |
< |
~TRootElectron() {;} |
410 |
< |
|
411 |
< |
|
412 |
< |
Int_t classification() const { return classification_ ;} |
413 |
< |
Float_t caloEnergy() const { return caloEnergy_ ;} |
414 |
< |
Float_t caloEnergyError() const { return caloEnergyError_ ;} |
415 |
< |
Float_t trackMomentum() const { return trackMomentum_ ;} |
416 |
< |
Float_t trackMomentumError() const { return trackMomentumError_ ;} |
417 |
< |
Float_t hadOverEm() const { return hadOverEm_ ;} |
418 |
< |
Float_t deltaEtaIn() const { return deltaEtaIn_ ;} |
419 |
< |
Float_t deltaPhiIn() const { return deltaPhiIn_ ;} |
420 |
< |
Float_t energySuperClusterOverPin() const { return energySuperClusterOverPin_ ;} |
421 |
< |
Float_t deltaEtaOut() const { return deltaEtaOut_ ;} |
422 |
< |
Float_t deltaPhiOut() const { return deltaPhiOut_ ;} |
423 |
< |
Float_t energySeedClusterOverPout() const { return energySeedClusterOverPout_ ;} |
424 |
< |
Bool_t energyScaleCorrected() const { return energyScaleCorrected_ ;} |
425 |
< |
Bool_t momentumCorrected() const { return momentumCorrected_ ;} |
426 |
< |
Float_t d0() const { return d0_ ;} |
427 |
< |
Float_t d0Error() const { return d0Error_ ;} |
428 |
< |
Float_t dsz() const { return dsz_ ;} |
429 |
< |
Float_t dszError() const { return dszError_ ;} |
430 |
< |
Float_t normalizedChi2() const { return normalizedChi2_ ;} |
431 |
< |
Float_t ptError() const { return ptError_ ;} |
432 |
< |
Float_t etaError() const { return etaError_ ;} |
433 |
< |
Float_t phiError() const { return phiError_ ;} |
434 |
< |
Int_t nbClusters() const { return nbClusters_ ;} |
435 |
< |
Float_t superClusterRawEnergy() const { return superClusterRawEnergy_ ;} |
436 |
< |
Float_t preshowerEnergy() const { return preshowerEnergy_ ;} |
437 |
< |
TVector3 caloPosition() const { return caloPosition_ ;} |
438 |
< |
map<Int_t,TRef> scRef() const { return scRef_ ;} |
439 |
< |
Int_t clusterAlgo() const { return clusterAlgo_ ;} |
440 |
< |
Float_t caloConeSize() const { return caloConeSize_ ;} |
441 |
< |
Float_t e2x2() const { return e2x2_ ;} |
442 |
< |
Float_t e3x3() const { return e3x3_ ;} |
443 |
< |
Float_t e5x5() const { return e5x5_ ;} |
444 |
< |
Float_t eMax() const { return eMax_ ;} |
445 |
< |
Float_t isoR01_sumPt() const { return isoR01_sumPt_ ;} |
446 |
< |
Int_t isoR01_nTracks() const { return isoR01_nTracks_ ;} |
447 |
< |
Float_t isoR02_sumPt() const { return isoR02_sumPt_ ;} |
448 |
< |
Int_t isoR02_nTracks() const { return isoR02_nTracks_ ;} |
449 |
< |
Float_t isoR03_emEt() const { return isoR03_emEt_ ;} |
450 |
< |
Float_t isoR03_hadEt() const { return isoR03_hadEt_ ;} |
451 |
< |
Float_t isoR03_sumPt() const { return isoR03_sumPt_ ;} |
452 |
< |
Int_t isoR03_nTracks() const { return isoR03_nTracks_ ;} |
453 |
< |
Float_t isoR05_emEt() const { return isoR05_emEt_ ;} |
454 |
< |
Float_t isoR05_hadEt() const { return isoR05_hadEt_ ;} |
455 |
< |
Float_t isoR05_sumPt() const { return isoR05_sumPt_ ;} |
456 |
< |
Int_t isoR05_nTracks() const { return isoR05_nTracks_ ;} |
457 |
< |
Int_t idCutBasedFixedThresholdLoose() const { return idCutBasedFixedThresholdLoose_ ;} |
458 |
< |
Int_t idCutBasedFixedThresholdTight() const { return idCutBasedFixedThresholdTight_ ;} |
459 |
< |
Int_t idCutBasedFixedThresholdHighEnergy() const { return idCutBasedFixedThresholdHighEnergy_ ;} |
460 |
< |
Int_t idCutBasedCategorizedLoose() const { return idCutBasedCategorizedLoose_ ;} |
461 |
< |
Int_t idCutBasedCategorizedTight() const { return idCutBasedCategorizedTight_ ;} |
462 |
< |
Float_t idLikelihood() const { return idLikelihood_ ;} |
463 |
< |
Float_t idNeuralNet() const { return idNeuralNet_ ;} |
464 |
< |
|
465 |
< |
virtual TString typeName() const { return "TRootElectron"; } |
466 |
< |
|
467 |
< |
|
468 |
< |
void setClassification(Int_t classification) { classification_ = classification; } |
469 |
< |
void setCaloEnergy(Float_t caloEnergy) { caloEnergy_ = caloEnergy; } |
470 |
< |
void setCaloEnergyError(Float_t caloEnergyError) { caloEnergyError_ = caloEnergyError; } |
471 |
< |
void setTrackMomentum(Float_t trackMomentum) { trackMomentum_ = trackMomentum; } |
472 |
< |
void setTrackMomentumError(Float_t trackMomentumError) { trackMomentumError_ = trackMomentumError; } |
473 |
< |
void setHadOverEm(Float_t hadOverEm) { hadOverEm_ = hadOverEm; } |
474 |
< |
void setDeltaEtaIn(Float_t deltaEtaIn) { deltaEtaIn_ = deltaEtaIn; } |
475 |
< |
void setDeltaPhiIn(Float_t deltaPhiIn) { deltaPhiIn_ = deltaPhiIn; } |
476 |
< |
void setEnergySuperClusterOverPin(Float_t energySuperClusterOverPin) { energySuperClusterOverPin_ = energySuperClusterOverPin; } |
477 |
< |
void setDeltaEtaOut(Float_t deltaEtaOut) { deltaEtaOut_ = deltaEtaOut; } |
478 |
< |
void setDeltaPhiOut(Float_t deltaPhiOut) { deltaPhiOut_ = deltaPhiOut; } |
479 |
< |
void setEnergySeedClusterOverPout(Float_t energySeedClusterOverPout) { energySeedClusterOverPout_ = energySeedClusterOverPout; } |
480 |
< |
void setEnergyScaleCorrected(Bool_t energyScaleCorrected) { energyScaleCorrected_ = energyScaleCorrected; } |
481 |
< |
void setMomentumCorrected(Bool_t momentumCorrected) { momentumCorrected_ = momentumCorrected; } |
482 |
< |
void setD0(Float_t d0) { d0_ = d0; } |
483 |
< |
void setD0Error(Float_t d0Error) { d0Error_ = d0Error; } |
484 |
< |
void setDsz(Float_t dsz) { dsz_ = dsz; } |
485 |
< |
void setDszError(Float_t dszError) { dszError_ = dszError; } |
486 |
< |
void setNormalizedChi2(Float_t normalizedChi2) { normalizedChi2_ = normalizedChi2; } |
487 |
< |
void setPtError(Float_t ptError) { ptError_ = ptError; } |
488 |
< |
void setEtaError(Float_t etaError) { etaError_ = etaError; } |
489 |
< |
void setPhiError(Float_t phiError) { phiError_ = phiError; } |
490 |
< |
void setNbClusters(Int_t nbClusters) { nbClusters_ = nbClusters; } |
491 |
< |
void setSuperClusterRawEnergy(Float_t superClusterRawEnergy) { superClusterRawEnergy_ = superClusterRawEnergy; } |
492 |
< |
void setPreshowerEnergy(Float_t preshowerEnergy) { preshowerEnergy_ = preshowerEnergy; } |
493 |
< |
void setCaloPosition(TVector3 caloPosition) { caloPosition_ = caloPosition; } |
494 |
< |
void setCaloPosition(Double_t x, Double_t y, Double_t z) { caloPosition_.SetXYZ(x, y ,z); } |
495 |
< |
void setSCRef(map<Int_t,TRef> scRef) { scRef_ = scRef; } |
496 |
< |
void setClusterAlgo(Int_t clusterAlgo) { clusterAlgo_ = clusterAlgo; } |
497 |
< |
void setCaloConeSize(Float_t caloConeSize) { caloConeSize_ = caloConeSize; } |
498 |
< |
void setE2x2(Float_t e2x2) { e2x2_ = e2x2; } |
499 |
< |
void setE3x3(Float_t e3x3) { e3x3_ = e3x3; } |
500 |
< |
void setE5x5(Float_t e5x5) { e5x5_ = e5x5; } |
501 |
< |
void setEMax(Float_t eMax) { eMax_ = eMax; } |
502 |
< |
void setIsoR01_sumPt(Float_t isoR01_sumPt) { isoR01_sumPt_ = isoR01_sumPt; } |
503 |
< |
void setIsoR01_nTracks(Int_t isoR01_nTracks) { isoR01_nTracks_ = isoR01_nTracks; } |
504 |
< |
void setIsoR02_sumPt(Float_t isoR02_sumPt) { isoR02_sumPt_ = isoR02_sumPt; } |
505 |
< |
void setIsoR02_nTracks(Int_t isoR02_nTracks) { isoR02_nTracks_ = isoR02_nTracks; } |
506 |
< |
void setIsoR03_emEt(Float_t isoR03_emEt) { isoR03_emEt_ = isoR03_emEt; } |
507 |
< |
void setIsoR03_hadEt(Float_t isoR03_hadEt) { isoR03_hadEt_ = isoR03_hadEt; } |
508 |
< |
void setIsoR03_sumPt(Float_t isoR03_sumPt) { isoR03_sumPt_ = isoR03_sumPt; } |
509 |
< |
void setIsoR03_nTracks(Int_t isoR03_nTracks) { isoR03_nTracks_ = isoR03_nTracks; } |
510 |
< |
void setIsoR05_emEt(Float_t isoR05_emEt) { isoR05_emEt_ = isoR05_emEt; } |
511 |
< |
void setIsoR05_hadEt(Float_t isoR05_hadEt) { isoR05_hadEt_ = isoR05_hadEt; } |
512 |
< |
void setIsoR05_sumPt(Float_t isoR05_sumPt) { isoR05_sumPt_ = isoR05_sumPt; } |
513 |
< |
void setIsoR05_nTracks(Int_t isoR05_nTracks) { isoR05_nTracks_ = isoR05_nTracks; } |
514 |
< |
void setIDCutBasedFixedThresholdLoose(Int_t idCutBasedFixedThresholdLoose) { idCutBasedFixedThresholdLoose_ = idCutBasedFixedThresholdLoose; } |
515 |
< |
void setIDCutBasedFixedThresholdTight(Int_t idCutBasedFixedThresholdTight) { idCutBasedFixedThresholdTight_ = idCutBasedFixedThresholdTight; } |
516 |
< |
void setIDCutBasedFixedThresholdHighEnergy(Int_t idCutBasedFixedThresholdHighEnergy) { idCutBasedFixedThresholdHighEnergy_ = idCutBasedFixedThresholdHighEnergy; } |
517 |
< |
void setIDCutBasedCategorizedLoose(Int_t idCutBasedCategorizedLoose) { idCutBasedCategorizedLoose_ = idCutBasedCategorizedLoose; } |
518 |
< |
void setIDCutBasedCategorizedTight(Int_t idCutBasedCategorizedTight) { idCutBasedCategorizedTight_ = idCutBasedCategorizedTight; } |
519 |
< |
void setIDLikelihood(Float_t idLikelihood) { idLikelihood_ = idLikelihood; } |
520 |
< |
void setIDNeuralNet(Float_t idNeuralNet) { idNeuralNet_ = idNeuralNet; } |
521 |
< |
|
522 |
< |
friend std::ostream& operator<< (std::ostream& stream, const TRootElectron& electron) { |
523 |
< |
stream << "TRootElectron - Charge=" << electron.charge() << " (Et,eta,phi)=("<< electron.Et() <<","<< electron.Eta() <<","<< electron.Phi() << ")" |
524 |
< |
<< " vertex(x,y,z)=("<< electron.vx() <<","<< electron.vy() <<","<< electron.vz() << ")"; |
525 |
< |
return stream; |
526 |
< |
}; |
527 |
< |
|
528 |
< |
|
529 |
< |
private: |
530 |
< |
/* |
531 |
< |
TODO |
17 |
> |
TRootElectron() : |
18 |
> |
TRootParticle() |
19 |
> |
,classification_(-9999) |
20 |
> |
,caloEnergy_(-9999.) |
21 |
> |
,caloEnergyError_(-9999.) |
22 |
> |
,trackMomentum_(-9999.) |
23 |
> |
,trackMomentumError_(-9999.) |
24 |
> |
,hadOverEm_(-9999.) |
25 |
> |
,deltaEtaIn_(-9999.) |
26 |
> |
,deltaPhiIn_(-9999.) |
27 |
> |
,energySuperClusterOverPin_(-9999.) |
28 |
> |
,deltaEtaOut_(-9999.) |
29 |
> |
,deltaPhiOut_(-9999.) |
30 |
> |
,energySeedClusterOverPout_(-9999.) |
31 |
> |
,energyScaleCorrected_(false) |
32 |
> |
,momentumCorrected_(false) |
33 |
> |
,pixelLayersWithMeasurement_(-1) |
34 |
> |
,stripLayersWithMeasurement_(-1) |
35 |
> |
,d0_(-9999.) |
36 |
> |
,d0Error_(-9999.) |
37 |
> |
,dsz_(-9999.) |
38 |
> |
,dszError_(-9999.) |
39 |
> |
,normalizedChi2_(-9999.) |
40 |
> |
,ptError_(-9999.) |
41 |
> |
,etaError_(-9999.) |
42 |
> |
,phiError_(-9999.) |
43 |
> |
,ip3DSignificance_(-9999.) |
44 |
> |
,nbClusters_(-9999) |
45 |
> |
,superClusterRawEnergy_(-9999.) |
46 |
> |
,preshowerEnergy_(-9999.) |
47 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
48 |
> |
,scIndex_() |
49 |
> |
,scRef_() |
50 |
> |
,clusterAlgo_(-9999) |
51 |
> |
,caloConeSize_(-9999.) |
52 |
> |
,e2x2_(-9999.) |
53 |
> |
,e3x3_(-9999.) |
54 |
> |
,e5x5_(-9999.) |
55 |
> |
,eMax_(-9999.) |
56 |
> |
,isoR01_sumPt_(-9999.) |
57 |
> |
,isoR01_nTracks_(-9999) |
58 |
> |
,isoR02_sumPt_(-9999.) |
59 |
> |
,isoR02_nTracks_(-9999) |
60 |
> |
,isoR03_emEt_(-9999.) |
61 |
> |
,isoR03_hadEt_(-9999.) |
62 |
> |
,isoR03_sumPt_(-9999.) |
63 |
> |
,isoR03_nTracks_(-9999) |
64 |
> |
,isoR05_emEt_(-9999.) |
65 |
> |
,isoR05_hadEt_(-9999.) |
66 |
> |
,isoR05_sumPt_(-9999.) |
67 |
> |
,isoR05_nTracks_(-9999) |
68 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
69 |
> |
,idCutBasedFixedThresholdTight_(-1) |
70 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
71 |
> |
,idCutBasedCategorizedLoose_(-1) |
72 |
> |
,idCutBasedCategorizedTight_(-1) |
73 |
> |
,idLikelihood_(-9999.) |
74 |
> |
,idNeuralNet_(-9999.) |
75 |
> |
,isAlsoPhoton_(false) |
76 |
> |
{;} |
77 |
> |
|
78 |
> |
TRootElectron(const TRootElectron& electron) : |
79 |
> |
TRootParticle(electron) |
80 |
> |
,classification_(electron.classification_) |
81 |
> |
,caloEnergy_(electron.caloEnergy_) |
82 |
> |
,caloEnergyError_(electron.caloEnergyError_) |
83 |
> |
,trackMomentum_(electron.trackMomentum_) |
84 |
> |
,trackMomentumError_(electron.trackMomentumError_) |
85 |
> |
,hadOverEm_(electron.hadOverEm_) |
86 |
> |
,deltaEtaIn_(electron.deltaEtaIn_) |
87 |
> |
,deltaPhiIn_(electron.deltaPhiIn_) |
88 |
> |
,energySuperClusterOverPin_(electron.energySuperClusterOverPin_) |
89 |
> |
,deltaEtaOut_(electron.deltaEtaOut_) |
90 |
> |
,deltaPhiOut_(electron.deltaPhiOut_) |
91 |
> |
,energySeedClusterOverPout_(electron.energySeedClusterOverPout_) |
92 |
> |
,energyScaleCorrected_(electron.energyScaleCorrected_) |
93 |
> |
,momentumCorrected_(electron.momentumCorrected_) |
94 |
> |
,pixelLayersWithMeasurement_(electron.pixelLayersWithMeasurement_) |
95 |
> |
,stripLayersWithMeasurement_(electron.stripLayersWithMeasurement_) |
96 |
> |
,d0_(electron.d0_) |
97 |
> |
,d0Error_(electron.d0Error_) |
98 |
> |
,dsz_(electron.dsz_) |
99 |
> |
,dszError_(electron.dszError_) |
100 |
> |
,normalizedChi2_(electron.normalizedChi2_) |
101 |
> |
,ptError_(electron.ptError_) |
102 |
> |
,etaError_(electron.etaError_) |
103 |
> |
,phiError_(electron.phiError_) |
104 |
> |
,ip3DSignificance_(electron.ip3DSignificance_) |
105 |
> |
,nbClusters_(electron.nbClusters_) |
106 |
> |
,superClusterRawEnergy_(electron.superClusterRawEnergy_) |
107 |
> |
,preshowerEnergy_(electron.preshowerEnergy_) |
108 |
> |
,caloPosition_(electron.caloPosition_) |
109 |
> |
,scIndex_(electron.scIndex_) |
110 |
> |
,scRef_(electron.scRef_) |
111 |
> |
,clusterAlgo_(electron.clusterAlgo_) |
112 |
> |
,caloConeSize_(electron.caloConeSize_) |
113 |
> |
,e2x2_(electron.e2x2_) |
114 |
> |
,e3x3_(electron.e3x3_) |
115 |
> |
,e5x5_(electron.e5x5_) |
116 |
> |
,eMax_(electron.eMax_) |
117 |
> |
,isoR01_sumPt_(electron.isoR01_sumPt_) |
118 |
> |
,isoR01_nTracks_(electron.isoR01_nTracks_) |
119 |
> |
,isoR02_sumPt_(electron.isoR02_sumPt_) |
120 |
> |
,isoR02_nTracks_(electron.isoR02_nTracks_) |
121 |
> |
,isoR03_emEt_(electron.isoR03_emEt_) |
122 |
> |
,isoR03_hadEt_(electron.isoR03_hadEt_) |
123 |
> |
,isoR03_sumPt_(electron.isoR03_sumPt_) |
124 |
> |
,isoR03_nTracks_(electron.isoR03_nTracks_) |
125 |
> |
,isoR05_emEt_(electron.isoR05_emEt_) |
126 |
> |
,isoR05_hadEt_(electron.isoR05_hadEt_) |
127 |
> |
,isoR05_sumPt_(electron.isoR05_sumPt_) |
128 |
> |
,isoR05_nTracks_(electron.isoR05_nTracks_) |
129 |
> |
,idCutBasedFixedThresholdLoose_(electron.idCutBasedFixedThresholdLoose_) |
130 |
> |
,idCutBasedFixedThresholdTight_(electron.idCutBasedFixedThresholdTight_) |
131 |
> |
,idCutBasedFixedThresholdHighEnergy_(electron.idCutBasedFixedThresholdHighEnergy_) |
132 |
> |
,idCutBasedCategorizedLoose_(electron.idCutBasedCategorizedLoose_) |
133 |
> |
,idCutBasedCategorizedTight_(electron.idCutBasedCategorizedTight_) |
134 |
> |
,idLikelihood_(electron.idLikelihood_) |
135 |
> |
,idNeuralNet_(electron.idNeuralNet_) |
136 |
> |
,isAlsoPhoton_(electron.isAlsoPhoton_) |
137 |
> |
{;} |
138 |
> |
|
139 |
> |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e) : |
140 |
> |
TRootParticle(px,py,pz,e) |
141 |
> |
,classification_(-9999) |
142 |
> |
,caloEnergy_(-9999.) |
143 |
> |
,caloEnergyError_(-9999.) |
144 |
> |
,trackMomentum_(-9999.) |
145 |
> |
,trackMomentumError_(-9999.) |
146 |
> |
,hadOverEm_(-9999.) |
147 |
> |
,deltaEtaIn_(-9999.) |
148 |
> |
,deltaPhiIn_(-9999.) |
149 |
> |
,energySuperClusterOverPin_(-9999.) |
150 |
> |
,deltaEtaOut_(-9999.) |
151 |
> |
,deltaPhiOut_(-9999.) |
152 |
> |
,energySeedClusterOverPout_(-9999.) |
153 |
> |
,energyScaleCorrected_(false) |
154 |
> |
,momentumCorrected_(false) |
155 |
> |
,pixelLayersWithMeasurement_(-1) |
156 |
> |
,stripLayersWithMeasurement_(-1) |
157 |
> |
,d0_(-9999.) |
158 |
> |
,d0Error_(-9999.) |
159 |
> |
,dsz_(-9999.) |
160 |
> |
,dszError_(-9999.) |
161 |
> |
,normalizedChi2_(-9999.) |
162 |
> |
,ptError_(-9999.) |
163 |
> |
,etaError_(-9999.) |
164 |
> |
,phiError_(-9999.) |
165 |
> |
,ip3DSignificance_(-9999.) |
166 |
> |
,nbClusters_(-9999) |
167 |
> |
,superClusterRawEnergy_(-9999.) |
168 |
> |
,preshowerEnergy_(-9999.) |
169 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
170 |
> |
,scIndex_() |
171 |
> |
,scRef_() |
172 |
> |
,clusterAlgo_(-9999) |
173 |
> |
,caloConeSize_(-9999.) |
174 |
> |
,e2x2_(-9999.) |
175 |
> |
,e3x3_(-9999.) |
176 |
> |
,e5x5_(-9999.) |
177 |
> |
,eMax_(-9999.) |
178 |
> |
,isoR01_sumPt_(-9999.) |
179 |
> |
,isoR01_nTracks_(-9999) |
180 |
> |
,isoR02_sumPt_(-9999.) |
181 |
> |
,isoR02_nTracks_(-9999) |
182 |
> |
,isoR03_emEt_(-9999.) |
183 |
> |
,isoR03_hadEt_(-9999.) |
184 |
> |
,isoR03_sumPt_(-9999.) |
185 |
> |
,isoR03_nTracks_(-9999) |
186 |
> |
,isoR05_emEt_(-9999.) |
187 |
> |
,isoR05_hadEt_(-9999.) |
188 |
> |
,isoR05_sumPt_(-9999.) |
189 |
> |
,isoR05_nTracks_(-9999) |
190 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
191 |
> |
,idCutBasedFixedThresholdTight_(-1) |
192 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
193 |
> |
,idCutBasedCategorizedLoose_(-1) |
194 |
> |
,idCutBasedCategorizedTight_(-1) |
195 |
> |
,idLikelihood_(-9999.) |
196 |
> |
,idNeuralNet_(-9999.) |
197 |
> |
,isAlsoPhoton_(false) |
198 |
> |
{;} |
199 |
> |
|
200 |
> |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z) : |
201 |
> |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z) |
202 |
> |
,classification_(-9999) |
203 |
> |
,caloEnergy_(-9999.) |
204 |
> |
,caloEnergyError_(-9999.) |
205 |
> |
,trackMomentum_(-9999.) |
206 |
> |
,trackMomentumError_(-9999.) |
207 |
> |
,hadOverEm_(-9999.) |
208 |
> |
,deltaEtaIn_(-9999.) |
209 |
> |
,deltaPhiIn_(-9999.) |
210 |
> |
,energySuperClusterOverPin_(-9999.) |
211 |
> |
,deltaEtaOut_(-9999.) |
212 |
> |
,deltaPhiOut_(-9999.) |
213 |
> |
,energySeedClusterOverPout_(-9999.) |
214 |
> |
,energyScaleCorrected_(false) |
215 |
> |
,momentumCorrected_(false) |
216 |
> |
,pixelLayersWithMeasurement_(-1) |
217 |
> |
,stripLayersWithMeasurement_(-1) |
218 |
> |
,d0_(-9999.) |
219 |
> |
,d0Error_(-9999.) |
220 |
> |
,dsz_(-9999.) |
221 |
> |
,dszError_(-9999.) |
222 |
> |
,normalizedChi2_(-9999.) |
223 |
> |
,ptError_(-9999.) |
224 |
> |
,etaError_(-9999.) |
225 |
> |
,phiError_(-9999.) |
226 |
> |
,ip3DSignificance_(-9999.) |
227 |
> |
,nbClusters_(-9999) |
228 |
> |
,superClusterRawEnergy_(-9999.) |
229 |
> |
,preshowerEnergy_(-9999.) |
230 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
231 |
> |
,scIndex_() |
232 |
> |
,scRef_() |
233 |
> |
,clusterAlgo_(-9999) |
234 |
> |
,caloConeSize_(-9999.) |
235 |
> |
,e2x2_(-9999.) |
236 |
> |
,e3x3_(-9999.) |
237 |
> |
,e5x5_(-9999.) |
238 |
> |
,eMax_(-9999.) |
239 |
> |
,isoR01_sumPt_(-9999.) |
240 |
> |
,isoR01_nTracks_(-9999) |
241 |
> |
,isoR02_sumPt_(-9999.) |
242 |
> |
,isoR02_nTracks_(-9999) |
243 |
> |
,isoR03_emEt_(-9999.) |
244 |
> |
,isoR03_hadEt_(-9999.) |
245 |
> |
,isoR03_sumPt_(-9999.) |
246 |
> |
,isoR03_nTracks_(-9999) |
247 |
> |
,isoR05_emEt_(-9999.) |
248 |
> |
,isoR05_hadEt_(-9999.) |
249 |
> |
,isoR05_sumPt_(-9999.) |
250 |
> |
,isoR05_nTracks_(-9999) |
251 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
252 |
> |
,idCutBasedFixedThresholdTight_(-1) |
253 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
254 |
> |
,idCutBasedCategorizedLoose_(-1) |
255 |
> |
,idCutBasedCategorizedTight_(-1) |
256 |
> |
,idLikelihood_(-9999.) |
257 |
> |
,idNeuralNet_(-9999.) |
258 |
> |
,isAlsoPhoton_(false) |
259 |
> |
{;} |
260 |
> |
|
261 |
> |
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z, Int_t type, Float_t charge) : |
262 |
> |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z,type,charge) |
263 |
> |
,classification_(-9999) |
264 |
> |
,caloEnergy_(-9999.) |
265 |
> |
,caloEnergyError_(-9999.) |
266 |
> |
,trackMomentum_(-9999.) |
267 |
> |
,trackMomentumError_(-9999.) |
268 |
> |
,hadOverEm_(-9999.) |
269 |
> |
,deltaEtaIn_(-9999.) |
270 |
> |
,deltaPhiIn_(-9999.) |
271 |
> |
,energySuperClusterOverPin_(-9999.) |
272 |
> |
,deltaEtaOut_(-9999.) |
273 |
> |
,deltaPhiOut_(-9999.) |
274 |
> |
,energySeedClusterOverPout_(-9999.) |
275 |
> |
,energyScaleCorrected_(false) |
276 |
> |
,momentumCorrected_(false) |
277 |
> |
,pixelLayersWithMeasurement_(-1) |
278 |
> |
,stripLayersWithMeasurement_(-1) |
279 |
> |
,d0_(-9999.) |
280 |
> |
,d0Error_(-9999.) |
281 |
> |
,dsz_(-9999.) |
282 |
> |
,dszError_(-9999.) |
283 |
> |
,normalizedChi2_(-9999.) |
284 |
> |
,ptError_(-9999.) |
285 |
> |
,etaError_(-9999.) |
286 |
> |
,phiError_(-9999.) |
287 |
> |
,ip3DSignificance_(-9999.) |
288 |
> |
,nbClusters_(-9999) |
289 |
> |
,superClusterRawEnergy_(-9999.) |
290 |
> |
,preshowerEnergy_(-9999.) |
291 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
292 |
> |
,scIndex_() |
293 |
> |
,scRef_() |
294 |
> |
,clusterAlgo_(-9999) |
295 |
> |
,caloConeSize_(-9999.) |
296 |
> |
,e2x2_(-9999.) |
297 |
> |
,e3x3_(-9999.) |
298 |
> |
,e5x5_(-9999.) |
299 |
> |
,eMax_(-9999.) |
300 |
> |
,isoR01_sumPt_(-9999.) |
301 |
> |
,isoR01_nTracks_(-9999) |
302 |
> |
,isoR02_sumPt_(-9999.) |
303 |
> |
,isoR02_nTracks_(-9999) |
304 |
> |
,isoR03_emEt_(-9999.) |
305 |
> |
,isoR03_hadEt_(-9999.) |
306 |
> |
,isoR03_sumPt_(-9999.) |
307 |
> |
,isoR03_nTracks_(-9999) |
308 |
> |
,isoR05_emEt_(-9999.) |
309 |
> |
,isoR05_hadEt_(-9999.) |
310 |
> |
,isoR05_sumPt_(-9999.) |
311 |
> |
,isoR05_nTracks_(-9999) |
312 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
313 |
> |
,idCutBasedFixedThresholdTight_(-1) |
314 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
315 |
> |
,idCutBasedCategorizedLoose_(-1) |
316 |
> |
,idCutBasedCategorizedTight_(-1) |
317 |
> |
,idLikelihood_(-9999.) |
318 |
> |
,idNeuralNet_(-9999.) |
319 |
> |
,isAlsoPhoton_(false) |
320 |
> |
{;} |
321 |
> |
|
322 |
> |
TRootElectron(const TLorentzVector &momentum) : |
323 |
> |
TRootParticle(momentum) |
324 |
> |
,classification_(-9999) |
325 |
> |
,caloEnergy_(-9999.) |
326 |
> |
,caloEnergyError_(-9999.) |
327 |
> |
,trackMomentum_(-9999.) |
328 |
> |
,trackMomentumError_(-9999.) |
329 |
> |
,hadOverEm_(-9999.) |
330 |
> |
,deltaEtaIn_(-9999.) |
331 |
> |
,deltaPhiIn_(-9999.) |
332 |
> |
,energySuperClusterOverPin_(-9999.) |
333 |
> |
,deltaEtaOut_(-9999.) |
334 |
> |
,deltaPhiOut_(-9999.) |
335 |
> |
,energySeedClusterOverPout_(-9999.) |
336 |
> |
,energyScaleCorrected_(false) |
337 |
> |
,momentumCorrected_(false) |
338 |
> |
,pixelLayersWithMeasurement_(-1) |
339 |
> |
,stripLayersWithMeasurement_(-1) |
340 |
> |
,d0_(-9999.) |
341 |
> |
,d0Error_(-9999.) |
342 |
> |
,dsz_(-9999.) |
343 |
> |
,dszError_(-9999.) |
344 |
> |
,normalizedChi2_(-9999.) |
345 |
> |
,ptError_(-9999.) |
346 |
> |
,etaError_(-9999.) |
347 |
> |
,phiError_(-9999.) |
348 |
> |
,ip3DSignificance_(-9999.) |
349 |
> |
,nbClusters_(-9999) |
350 |
> |
,superClusterRawEnergy_(-9999.) |
351 |
> |
,preshowerEnergy_(-9999.) |
352 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
353 |
> |
,scIndex_() |
354 |
> |
,scRef_() |
355 |
> |
,clusterAlgo_(-9999) |
356 |
> |
,caloConeSize_(-9999.) |
357 |
> |
,e2x2_(-9999.) |
358 |
> |
,e3x3_(-9999.) |
359 |
> |
,e5x5_(-9999.) |
360 |
> |
,eMax_(-9999.) |
361 |
> |
,isoR01_sumPt_(-9999.) |
362 |
> |
,isoR01_nTracks_(-9999) |
363 |
> |
,isoR02_sumPt_(-9999.) |
364 |
> |
,isoR02_nTracks_(-9999) |
365 |
> |
,isoR03_emEt_(-9999.) |
366 |
> |
,isoR03_hadEt_(-9999.) |
367 |
> |
,isoR03_sumPt_(-9999.) |
368 |
> |
,isoR03_nTracks_(-9999) |
369 |
> |
,isoR05_emEt_(-9999.) |
370 |
> |
,isoR05_hadEt_(-9999.) |
371 |
> |
,isoR05_sumPt_(-9999.) |
372 |
> |
,isoR05_nTracks_(-9999) |
373 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
374 |
> |
,idCutBasedFixedThresholdTight_(-1) |
375 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
376 |
> |
,idCutBasedCategorizedLoose_(-1) |
377 |
> |
,idCutBasedCategorizedTight_(-1) |
378 |
> |
,idLikelihood_(-9999.) |
379 |
> |
,idNeuralNet_(-9999.) |
380 |
> |
,isAlsoPhoton_(false) |
381 |
> |
{;} |
382 |
> |
|
383 |
> |
TRootElectron(const TLorentzVector &momentum, const TVector3 &vertex, Int_t type, Float_t charge) : |
384 |
> |
TRootParticle(momentum, vertex, type, charge) |
385 |
> |
,classification_(-9999) |
386 |
> |
,caloEnergy_(-9999.) |
387 |
> |
,caloEnergyError_(-9999.) |
388 |
> |
,trackMomentum_(-9999.) |
389 |
> |
,trackMomentumError_(-9999.) |
390 |
> |
,hadOverEm_(-9999.) |
391 |
> |
,deltaEtaIn_(-9999.) |
392 |
> |
,deltaPhiIn_(-9999.) |
393 |
> |
,energySuperClusterOverPin_(-9999.) |
394 |
> |
,deltaEtaOut_(-9999.) |
395 |
> |
,deltaPhiOut_(-9999.) |
396 |
> |
,energySeedClusterOverPout_(-9999.) |
397 |
> |
,energyScaleCorrected_(false) |
398 |
> |
,momentumCorrected_(false) |
399 |
> |
,pixelLayersWithMeasurement_(-1) |
400 |
> |
,stripLayersWithMeasurement_(-1) |
401 |
> |
,d0_(-9999.) |
402 |
> |
,d0Error_(-9999.) |
403 |
> |
,dsz_(-9999.) |
404 |
> |
,dszError_(-9999.) |
405 |
> |
,normalizedChi2_(-9999.) |
406 |
> |
,ptError_(-9999.) |
407 |
> |
,etaError_(-9999.) |
408 |
> |
,phiError_(-9999.) |
409 |
> |
,ip3DSignificance_(-9999.) |
410 |
> |
,nbClusters_(-9999) |
411 |
> |
,superClusterRawEnergy_(-9999.) |
412 |
> |
,preshowerEnergy_(-9999.) |
413 |
> |
,caloPosition_(-9999.,-9999.,-9999.) |
414 |
> |
,scIndex_() |
415 |
> |
,scRef_() |
416 |
> |
,clusterAlgo_(-9999) |
417 |
> |
,caloConeSize_(-9999.) |
418 |
> |
,e2x2_(-9999.) |
419 |
> |
,e3x3_(-9999.) |
420 |
> |
,e5x5_(-9999.) |
421 |
> |
,eMax_(-9999.) |
422 |
> |
,isoR01_sumPt_(-9999.) |
423 |
> |
,isoR01_nTracks_(-9999) |
424 |
> |
,isoR02_sumPt_(-9999.) |
425 |
> |
,isoR02_nTracks_(-9999) |
426 |
> |
,isoR03_emEt_(-9999.) |
427 |
> |
,isoR03_hadEt_(-9999.) |
428 |
> |
,isoR03_sumPt_(-9999.) |
429 |
> |
,isoR03_nTracks_(-9999) |
430 |
> |
,isoR05_emEt_(-9999.) |
431 |
> |
,isoR05_hadEt_(-9999.) |
432 |
> |
,isoR05_sumPt_(-9999.) |
433 |
> |
,isoR05_nTracks_(-9999) |
434 |
> |
,idCutBasedFixedThresholdLoose_(-1) |
435 |
> |
,idCutBasedFixedThresholdTight_(-1) |
436 |
> |
,idCutBasedFixedThresholdHighEnergy_(-1) |
437 |
> |
,idCutBasedCategorizedLoose_(-1) |
438 |
> |
,idCutBasedCategorizedTight_(-1) |
439 |
> |
,idLikelihood_(-9999.) |
440 |
> |
,idNeuralNet_(-9999.) |
441 |
> |
,isAlsoPhoton_(false) |
442 |
> |
{;} |
443 |
> |
|
444 |
> |
~TRootElectron() {;} |
445 |
> |
|
446 |
> |
|
447 |
> |
Int_t classification() const { return classification_ ;} |
448 |
> |
Float_t caloEnergy() const { return caloEnergy_ ;} |
449 |
> |
Float_t caloEnergyError() const { return caloEnergyError_ ;} |
450 |
> |
Float_t trackMomentum() const { return trackMomentum_ ;} |
451 |
> |
Float_t trackMomentumError() const { return trackMomentumError_ ;} |
452 |
> |
Float_t hadOverEm() const { return hadOverEm_ ;} |
453 |
> |
Float_t deltaEtaIn() const { return deltaEtaIn_ ;} |
454 |
> |
Float_t deltaPhiIn() const { return deltaPhiIn_ ;} |
455 |
> |
Float_t energySuperClusterOverPin() const { return energySuperClusterOverPin_ ;} |
456 |
> |
Float_t deltaEtaOut() const { return deltaEtaOut_ ;} |
457 |
> |
Float_t deltaPhiOut() const { return deltaPhiOut_ ;} |
458 |
> |
Float_t energySeedClusterOverPout() const { return energySeedClusterOverPout_ ;} |
459 |
> |
Bool_t energyScaleCorrected() const { return energyScaleCorrected_ ;} |
460 |
> |
Bool_t momentumCorrected() const { return momentumCorrected_ ;} |
461 |
> |
|
462 |
> |
Int_t pixelLayersWithMeasurement() const { return pixelLayersWithMeasurement_; } |
463 |
> |
Int_t stripLayersWithMeasurement() const { return stripLayersWithMeasurement_; } |
464 |
> |
Float_t d0() const { return d0_ ;} |
465 |
> |
Float_t d0Error() const { return d0Error_ ;} |
466 |
> |
Float_t dsz() const { return dsz_ ;} |
467 |
> |
Float_t dszError() const { return dszError_ ;} |
468 |
> |
Float_t normalizedChi2() const { return normalizedChi2_ ;} |
469 |
> |
Float_t ptError() const { return ptError_ ;} |
470 |
> |
Float_t etaError() const { return etaError_ ;} |
471 |
> |
Float_t phiError() const { return phiError_ ;} |
472 |
> |
Float_t ip3DSignificance() const { return ip3DSignificance_ ;} |
473 |
> |
|
474 |
> |
Int_t nbClusters() const { return nbClusters_ ;} |
475 |
> |
Float_t superClusterRawEnergy() const { return superClusterRawEnergy_ ;} |
476 |
> |
Float_t preshowerEnergy() const { return preshowerEnergy_ ;} |
477 |
> |
TVector3 caloPosition() const { return caloPosition_ ;} |
478 |
> |
map<Int_t,Int_t> scIndexMap() const { return scIndex_; } |
479 |
> |
map<Int_t,TRef> scRef() const { return scRef_ ;} |
480 |
> |
Int_t nSuperClusters() const { return scRef_.size();} |
481 |
> |
|
482 |
> |
// Get index in TCloneArray of the supercluster associated by default |
483 |
> |
// Default SC collection for electron producer defined in |
484 |
> |
// RecoEgamma/EgammaElectronProducers/python/pixelMatchGsfElectrons_cfi |
485 |
> |
Int_t scIndex() |
486 |
> |
{ |
487 |
> |
// 0=island or multi5x5, 1=hybrid |
488 |
> |
//if ( clusterAlgo_== 0 ) return scIndexOfType(122); |
489 |
> |
if ( clusterAlgo_== 0 ) return scIndexOfType(322); |
490 |
> |
else if ( clusterAlgo_== 1 ) return scIndexOfType(211); |
491 |
> |
else return -1; |
492 |
> |
} |
493 |
> |
|
494 |
> |
// Get ith element in map scIndex_ |
495 |
> |
Int_t scIndexAt(UInt_t index) |
496 |
> |
{ |
497 |
> |
if ( index>=scIndex_.size()) |
498 |
> |
{ |
499 |
> |
return -1; |
500 |
> |
} |
501 |
> |
else |
502 |
> |
{ |
503 |
> |
map<Int_t,Int_t>::iterator it=scIndex_.begin(); |
504 |
> |
for (UInt_t i=0; i<index; ++i) it++; |
505 |
> |
return ( (*it).second ); |
506 |
> |
} |
507 |
> |
} |
508 |
> |
|
509 |
> |
// Get index in TCloneArray of the seed supercluster of type "type" |
510 |
> |
Int_t scIndexOfType(Int_t type) |
511 |
> |
{ |
512 |
> |
map<Int_t,Int_t>::iterator it=scIndex_.find(type); |
513 |
> |
return ( it ==scIndex_.end() ? -1 : (*it).second ); |
514 |
> |
} |
515 |
> |
|
516 |
> |
// Get supercluster associated by default |
517 |
> |
// Default SC collection for electron producer defined in |
518 |
> |
// RecoEgamma/EgammaElectronProducers/python/pixelMatchGsfElectrons_cfi |
519 |
> |
TRootSuperCluster* superCluster() |
520 |
> |
{ |
521 |
> |
// 0=island or multi5x5, 1=hybrid |
522 |
> |
//if ( clusterAlgo_== 0 ) return superClusterOfType(122); |
523 |
> |
if ( clusterAlgo_== 0 ) return superClusterOfType(322); |
524 |
> |
else if ( clusterAlgo_== 1 ) return superClusterOfType(211); |
525 |
> |
else return 0; |
526 |
> |
} |
527 |
> |
|
528 |
> |
// Get ith element in map scRef_ |
529 |
> |
TRootSuperCluster* superClusterAt(UInt_t index) |
530 |
> |
{ |
531 |
> |
if ( index>=scRef_.size()) |
532 |
> |
{ |
533 |
> |
return 0; |
534 |
> |
} |
535 |
> |
else |
536 |
> |
{ |
537 |
> |
map<Int_t,TRef>::iterator it=scRef_.begin(); |
538 |
> |
for (UInt_t i=0; i<index; ++i) it++; |
539 |
> |
return ( (TRootSuperCluster*)(*it).second.GetObject() ); |
540 |
> |
} |
541 |
> |
} |
542 |
> |
|
543 |
> |
// Get the seed supercluster of type "type" |
544 |
> |
TRootSuperCluster* superClusterOfType(Int_t type) |
545 |
> |
{ |
546 |
> |
map<Int_t,TRef>::iterator it=scRef_.find(type); |
547 |
> |
return ( it ==scRef_.end() ? 0 : (TRootSuperCluster*) (*it).second.GetObject() ); |
548 |
> |
} |
549 |
> |
|
550 |
> |
Int_t clusterAlgo() const { return clusterAlgo_ ;} |
551 |
> |
Float_t caloConeSize() const { return caloConeSize_ ;} |
552 |
> |
Float_t e2x2() const { return e2x2_ ;} |
553 |
> |
Float_t e3x3() const { return e3x3_ ;} |
554 |
> |
Float_t e5x5() const { return e5x5_ ;} |
555 |
> |
Float_t eMax() const { return eMax_ ;} |
556 |
> |
Float_t r19() const { return ( e3x3_ == 0. ? -1. : eMax_/e3x3_ ); } // ratio of Emax/E(3x3) |
557 |
> |
// FIXME - Check definition of r9... include preshowerEnergy as in SimplePhotonAnalyzer.cc ? |
558 |
> |
Float_t r9() const { return ( superClusterRawEnergy_ == 0. ? -1. : e3x3_/superClusterRawEnergy_ ); } // ratio of E(3x3)/ESC |
559 |
> |
Float_t isoR01_sumPt() const { return isoR01_sumPt_ ;} |
560 |
> |
Int_t isoR01_nTracks() const { return isoR01_nTracks_ ;} |
561 |
> |
Float_t isoR02_sumPt() const { return isoR02_sumPt_ ;} |
562 |
> |
Int_t isoR02_nTracks() const { return isoR02_nTracks_ ;} |
563 |
> |
Float_t isoR03_emEt() const { return isoR03_emEt_ ;} |
564 |
> |
Float_t isoR03_hadEt() const { return isoR03_hadEt_ ;} |
565 |
> |
Float_t isoR03_sumPt() const { return isoR03_sumPt_ ;} |
566 |
> |
Int_t isoR03_nTracks() const { return isoR03_nTracks_ ;} |
567 |
> |
Float_t isoR05_emEt() const { return isoR05_emEt_ ;} |
568 |
> |
Float_t isoR05_hadEt() const { return isoR05_hadEt_ ;} |
569 |
> |
Float_t isoR05_sumPt() const { return isoR05_sumPt_ ;} |
570 |
> |
Int_t isoR05_nTracks() const { return isoR05_nTracks_ ;} |
571 |
> |
Int_t idCutBasedFixedThresholdLoose() const { return idCutBasedFixedThresholdLoose_ ;} |
572 |
> |
Int_t idCutBasedFixedThresholdTight() const { return idCutBasedFixedThresholdTight_ ;} |
573 |
> |
Int_t idCutBasedFixedThresholdHighEnergy() const { return idCutBasedFixedThresholdHighEnergy_ ;} |
574 |
> |
Int_t idCutBasedCategorizedLoose() const { return idCutBasedCategorizedLoose_ ;} |
575 |
> |
Int_t idCutBasedCategorizedTight() const { return idCutBasedCategorizedTight_ ;} |
576 |
> |
Float_t idLikelihood() const { return idLikelihood_ ;} |
577 |
> |
Float_t idNeuralNet() const { return idNeuralNet_ ;} |
578 |
> |
Bool_t isAlsoPhoton() const { return isAlsoPhoton_; } |
579 |
> |
|
580 |
> |
/* TODO - isBarrel / isEndcap / isCrack |
581 |
|
if (fabs (eta) <= 1.4442) { |
582 |
< |
localElectron.setPosition (1); |
582 |
> |
localElectron.setPosition (1); |
583 |
|
} |
584 |
|
else if (fabs (eta) > 1.4442 & fabs (eta) < 1.5560) { |
585 |
< |
localElectron.setPosition (0); |
585 |
> |
localElectron.setPosition (0); |
586 |
|
} |
587 |
|
else if (fabs (eta) >= 1.5560) { |
588 |
< |
localElectron.setPosition (-1); |
588 |
> |
localElectron.setPosition (-1); |
589 |
|
} |
590 |
< |
*/ |
590 |
> |
*/ |
591 |
> |
|
592 |
> |
virtual TString typeName() const { return "TRootElectron"; } |
593 |
> |
|
594 |
> |
|
595 |
> |
void setClassification(Int_t classification) { classification_ = classification; } |
596 |
> |
void setCaloEnergy(Float_t caloEnergy) { caloEnergy_ = caloEnergy; } |
597 |
> |
void setCaloEnergyError(Float_t caloEnergyError) { caloEnergyError_ = caloEnergyError; } |
598 |
> |
void setTrackMomentum(Float_t trackMomentum) { trackMomentum_ = trackMomentum; } |
599 |
> |
void setTrackMomentumError(Float_t trackMomentumError) { trackMomentumError_ = trackMomentumError; } |
600 |
> |
void setHadOverEm(Float_t hadOverEm) { hadOverEm_ = hadOverEm; } |
601 |
> |
void setDeltaEtaIn(Float_t deltaEtaIn) { deltaEtaIn_ = deltaEtaIn; } |
602 |
> |
void setDeltaPhiIn(Float_t deltaPhiIn) { deltaPhiIn_ = deltaPhiIn; } |
603 |
> |
void setEnergySuperClusterOverPin(Float_t energySuperClusterOverPin) { energySuperClusterOverPin_ = energySuperClusterOverPin; } |
604 |
> |
void setDeltaEtaOut(Float_t deltaEtaOut) { deltaEtaOut_ = deltaEtaOut; } |
605 |
> |
void setDeltaPhiOut(Float_t deltaPhiOut) { deltaPhiOut_ = deltaPhiOut; } |
606 |
> |
void setEnergySeedClusterOverPout(Float_t energySeedClusterOverPout) { energySeedClusterOverPout_ = energySeedClusterOverPout; } |
607 |
> |
void setEnergyScaleCorrected(Bool_t energyScaleCorrected) { energyScaleCorrected_ = energyScaleCorrected; } |
608 |
> |
void setMomentumCorrected(Bool_t momentumCorrected) { momentumCorrected_ = momentumCorrected; } |
609 |
> |
|
610 |
> |
void setPixelLayersWithMeasurement(Int_t pixelLayersWithMeasurement) { pixelLayersWithMeasurement_ = pixelLayersWithMeasurement; } |
611 |
> |
void setStripLayersWithMeasurement(Int_t stripLayersWithMeasurement) { stripLayersWithMeasurement_ = stripLayersWithMeasurement; } |
612 |
> |
void setD0(Float_t d0) { d0_ = d0; } |
613 |
> |
void setD0Error(Float_t d0Error) { d0Error_ = d0Error; } |
614 |
> |
void setDsz(Float_t dsz) { dsz_ = dsz; } |
615 |
> |
void setDszError(Float_t dszError) { dszError_ = dszError; } |
616 |
> |
void setNormalizedChi2(Float_t normalizedChi2) { normalizedChi2_ = normalizedChi2; } |
617 |
> |
void setPtError(Float_t ptError) { ptError_ = ptError; } |
618 |
> |
void setEtaError(Float_t etaError) { etaError_ = etaError; } |
619 |
> |
void setPhiError(Float_t phiError) { phiError_ = phiError; } |
620 |
> |
void setIP3DSignificance(Float_t ip3DSignificance) { ip3DSignificance_ = ip3DSignificance; } |
621 |
> |
|
622 |
> |
void setNbClusters(Int_t nbClusters) { nbClusters_ = nbClusters; } |
623 |
> |
void setSuperClusterRawEnergy(Float_t superClusterRawEnergy) { superClusterRawEnergy_ = superClusterRawEnergy; } |
624 |
> |
void setPreshowerEnergy(Float_t preshowerEnergy) { preshowerEnergy_ = preshowerEnergy; } |
625 |
> |
void setCaloPosition(TVector3 caloPosition) { caloPosition_ = caloPosition; } |
626 |
> |
void setCaloPosition(Double_t x, Double_t y, Double_t z) { caloPosition_.SetXYZ(x, y ,z); } |
627 |
> |
void setSCIndex(Int_t type, Int_t index) { scIndex_[type]=index; } |
628 |
> |
void setSCRef(Int_t type, TObject* superCluster) { scRef_[type]=superCluster; } |
629 |
> |
void setClusterAlgo(Int_t clusterAlgo) { clusterAlgo_ = clusterAlgo; } |
630 |
> |
void setCaloConeSize(Float_t caloConeSize) { caloConeSize_ = caloConeSize; } |
631 |
> |
void setE2x2(Float_t e2x2) { e2x2_ = e2x2; } |
632 |
> |
void setE3x3(Float_t e3x3) { e3x3_ = e3x3; } |
633 |
> |
void setE5x5(Float_t e5x5) { e5x5_ = e5x5; } |
634 |
> |
void setEMax(Float_t eMax) { eMax_ = eMax; } |
635 |
> |
void setIsoR01_sumPt(Float_t isoR01_sumPt) { isoR01_sumPt_ = isoR01_sumPt; } |
636 |
> |
void setIsoR01_nTracks(Int_t isoR01_nTracks) { isoR01_nTracks_ = isoR01_nTracks; } |
637 |
> |
void setIsoR02_sumPt(Float_t isoR02_sumPt) { isoR02_sumPt_ = isoR02_sumPt; } |
638 |
> |
void setIsoR02_nTracks(Int_t isoR02_nTracks) { isoR02_nTracks_ = isoR02_nTracks; } |
639 |
> |
void setIsoR03_emEt(Float_t isoR03_emEt) { isoR03_emEt_ = isoR03_emEt; } |
640 |
> |
void setIsoR03_hadEt(Float_t isoR03_hadEt) { isoR03_hadEt_ = isoR03_hadEt; } |
641 |
> |
void setIsoR03_sumPt(Float_t isoR03_sumPt) { isoR03_sumPt_ = isoR03_sumPt; } |
642 |
> |
void setIsoR03_nTracks(Int_t isoR03_nTracks) { isoR03_nTracks_ = isoR03_nTracks; } |
643 |
> |
void setIsoR05_emEt(Float_t isoR05_emEt) { isoR05_emEt_ = isoR05_emEt; } |
644 |
> |
void setIsoR05_hadEt(Float_t isoR05_hadEt) { isoR05_hadEt_ = isoR05_hadEt; } |
645 |
> |
void setIsoR05_sumPt(Float_t isoR05_sumPt) { isoR05_sumPt_ = isoR05_sumPt; } |
646 |
> |
void setIsoR05_nTracks(Int_t isoR05_nTracks) { isoR05_nTracks_ = isoR05_nTracks; } |
647 |
> |
void setIDCutBasedFixedThresholdLoose(Int_t idCutBasedFixedThresholdLoose) { idCutBasedFixedThresholdLoose_ = idCutBasedFixedThresholdLoose; } |
648 |
> |
void setIDCutBasedFixedThresholdTight(Int_t idCutBasedFixedThresholdTight) { idCutBasedFixedThresholdTight_ = idCutBasedFixedThresholdTight; } |
649 |
> |
void setIDCutBasedFixedThresholdHighEnergy(Int_t idCutBasedFixedThresholdHighEnergy) { idCutBasedFixedThresholdHighEnergy_ = idCutBasedFixedThresholdHighEnergy; } |
650 |
> |
void setIDCutBasedCategorizedLoose(Int_t idCutBasedCategorizedLoose) { idCutBasedCategorizedLoose_ = idCutBasedCategorizedLoose; } |
651 |
> |
void setIDCutBasedCategorizedTight(Int_t idCutBasedCategorizedTight) { idCutBasedCategorizedTight_ = idCutBasedCategorizedTight; } |
652 |
> |
void setIDLikelihood(Float_t idLikelihood) { idLikelihood_ = idLikelihood; } |
653 |
> |
void setIDNeuralNet(Float_t idNeuralNet) { idNeuralNet_ = idNeuralNet; } |
654 |
> |
void setIsAlsoPhoton(Bool_t isAlsoPhoton) { isAlsoPhoton_ = isAlsoPhoton; } |
655 |
> |
|
656 |
> |
friend std::ostream& operator<< (std::ostream& stream, const TRootElectron& electron) |
657 |
> |
{ |
658 |
> |
stream << "TRootElectron - Charge=" << electron.charge() << " (E,Et,eta,phi)=("<< electron.Energy() <<","<< electron.Et() <<","<< electron.Eta() <<","<< electron.Phi() << ")" |
659 |
> |
<< " vertex(x,y,z)=("<< electron.vx() <<","<< electron.vy() <<","<< electron.vz() << ")"; |
660 |
> |
return stream; |
661 |
> |
}; |
662 |
> |
|
663 |
> |
void Print() |
664 |
> |
{ |
665 |
> |
std::cout << "TRootElectron - Charge=" << this->charge() << " (E,Et,eta,phi)=("<< this->Energy() <<","<< this->Et() <<","<< this->Eta() <<","<< this->Phi() << ")" |
666 |
> |
<< " vertex=("<< this->vx() <<","<< this->vy() <<","<< this->vz() << ")" |
667 |
> |
<< " caloPosition=(" << this->caloPosition().X() << "," << this->caloPosition().Y() << "," << this->caloPosition().Z() << ")" << endl |
668 |
> |
<< " trackMomentum=" << this->trackMomentum() << "+-" << this->trackMomentumError() << " nPixels=" << this->pixelLayersWithMeasurement() |
669 |
> |
<< " nStrips=" << this->stripLayersWithMeasurement() << " d0=" << this->d0() << "+-" << this->d0Error()<< " dsz=" << this->dsz() << "+-" << this->dszError() << endl |
670 |
> |
<< " algo=" << this->clusterAlgo() << " nBC=" << this->nbClusters() << " caloEnergy=" << this->caloEnergy() << "+-" << this->caloEnergyError() |
671 |
> |
<< " scRawEnergy=" << this->superClusterRawEnergy() << " preshEnergy=" << this->preshowerEnergy() |
672 |
> |
<< " E2x2=" << this->e2x2() <<" E3x3=" << this->e3x3() <<" E5x5=" << this->e5x5() <<" Emax=" << this->eMax() |
673 |
> |
<< " R19=" << this->r19() <<" R9=" << this->r9() << endl |
674 |
> |
<<" H/E=" << this->hadOverEm() <<" deltaEtaIn=" << this->deltaEtaIn() <<" deltaPhiIn=" << this->deltaPhiIn() <<" deltaEtaOut=" << this->deltaEtaOut() <<" deltaPhiOut=" << this->deltaPhiOut() <<" E/p in=" << this->energySuperClusterOverPin() <<" E/p out=" << this->energySeedClusterOverPout() << endl |
675 |
> |
<< " iso03 ecal="<< this->isoR03_emEt() << " hcal=" << this->isoR03_hadEt() << " tracker=" << this->isoR03_sumPt() << " ntracks=" << this->isoR03_nTracks() |
676 |
> |
<< " iso05 ecal="<< this->isoR05_emEt() << " hcal=" << this->isoR05_hadEt() << " tracker=" << this->isoR05_sumPt() << " ntracks=" << this->isoR05_nTracks() << endl |
677 |
> |
<<" ID: Fixed-Threshold(Loose,Tight,HighEnergy)=(" << this->idCutBasedFixedThresholdLoose() << "," << this->idCutBasedFixedThresholdTight() << "," << this->idCutBasedFixedThresholdHighEnergy() << ")" |
678 |
> |
<<" Categorized(Loose,Tight)=(" << this->idCutBasedCategorizedLoose() << "," << this->idCutBasedCategorizedTight() << ")" |
679 |
> |
<<" LH=" << this->idLikelihood() << " NN=" << this->idNeuralNet() << " isAlsoPhoton=" << this->isAlsoPhoton(); |
680 |
> |
}; |
681 |
> |
|
682 |
> |
|
683 |
> |
private: |
684 |
> |
|
685 |
> |
// Variables from reco::GsfElectron |
686 |
> |
|
687 |
> |
// Classification: |
688 |
> |
// barrel : 0: golden, 10: bigbrem, 20: narrow, 30-34: showering, 40: crack |
689 |
> |
// (30: showering nbrem=0, 31: showering nbrem=1, 32: showering nbrem=2 ,33: showering nbrem=3, 34: showering nbrem>=4) |
690 |
> |
// endcaps : 100: golden, 110: bigbrem, 120: narrow, 130-134: showering |
691 |
> |
// (130: showering nbrem=0, 131: showering nbrem=1, 132: showering nbrem=2 ,133: showering nbrem=3, 134: showering nbrem>=4) |
692 |
> |
|
693 |
> |
Int_t classification_; // Electron classification |
694 |
> |
|
695 |
> |
Float_t caloEnergy_; // SuperCluster energy corrected by EnergyScaleFactor |
696 |
> |
Float_t caloEnergyError_; // Error on caloEnergy_ |
697 |
> |
Float_t trackMomentum_; // Track momentum at vertex |
698 |
> |
Float_t trackMomentumError_; // Error on trackMomentum_ |
699 |
> |
|
700 |
> |
Float_t hadOverEm_; // hadronic over electromagnetic fraction |
701 |
> |
|
702 |
> |
Float_t deltaEtaIn_; // Supercluster eta - Track eta from helix extrapolation from impact point |
703 |
> |
Float_t deltaPhiIn_; // Supercluster phi - Track phi from helix extrapolation from impact point |
704 |
> |
Float_t energySuperClusterOverPin_; // supercluster energy / track momentum at impact point |
705 |
> |
|
706 |
> |
Float_t deltaEtaOut_; // SeedCluster eta - Track eta at calo from outermost state |
707 |
> |
Float_t deltaPhiOut_; // SeedCluster phi - Track phi at calo from outermost state |
708 |
> |
Float_t energySeedClusterOverPout_; // SeedCluster energy / track momentum at calo from outermost state |
709 |
> |
|
710 |
> |
Bool_t energyScaleCorrected_; // Has Energy Scale been applied ? |
711 |
> |
Bool_t momentumCorrected_; // Tell if class dependant E-p combination has been determined |
712 |
> |
|
713 |
> |
|
714 |
> |
// Variables from reco::GsfTrack |
715 |
> |
|
716 |
> |
/* cf: http://cmslxr.fnal.gov/lxr/source/DataFormats/TrackReco/interface/TrackBase.h |
717 |
> |
For tracks reconstructed in the CMS Tracker, the reference position is the point of closest approach to the centre |
718 |
> |
of CMS. For muons, this is not necessarily true. Parameters associated to the 5D curvilinear covariance matrix: |
719 |
> |
qoverp = q / abs(p) = signed inverse of momentum [1/GeV] |
720 |
> |
lambda = pi/2 - polar angle at the given point |
721 |
> |
phi = azimuth angle at the given point |
722 |
> |
dxy = -vx*sin(phi) + vy*cos(phi) [cm] |
723 |
> |
dsz = vz*cos(lambda) - (vx*cos(phi)+vy*sin(phi))*sin(lambda) [cm] |
724 |
> |
|
725 |
> |
Geometrically, dxy is the signed distance in the XY plane between the straight line passing through (vx,vy) with |
726 |
> |
azimuthal angle phi and the point (0,0). The dsz parameter is the signed distance in the SZ plane between the straight |
727 |
> |
line passing through (vx,vy,vz) with angles (phi, lambda) and the point (s=0,z=0). The S axis is defined by the projection |
728 |
> |
of the straight line onto the XY plane. The convention is to assign the S coordinate for (vx,vy) as the value |
729 |
> |
vx*cos(phi)+vy*sin(phi). This value is zero when (vx,vy) is the point of minimum transverse distance to (0,0). |
730 |
> |
|
731 |
> |
Note that dxy and dsz provide sensible estimates of the distance from the true particle trajectory to (0,0,0) ONLY |
732 |
> |
in two cases: |
733 |
> |
- When (vx,vy,vz) already correspond to the point of minimum transverse distance to (0,0,0) or is close to it |
734 |
> |
(so that the differences between considering the exact trajectory or a straight line in this range are negligible). |
735 |
> |
This is usually true for Tracker tracks. |
736 |
> |
- When the track has infinite or extremely high momentum */ |
737 |
> |
|
738 |
> |
Int_t pixelLayersWithMeasurement_; // Number of pixel layers with at least one valid hit |
739 |
> |
Int_t stripLayersWithMeasurement_; // Number of strip layers with at least one valid hit |
740 |
> |
|
741 |
> |
Float_t d0_; // d0=-dxy |
742 |
> |
Float_t d0Error_; // error on d0_ |
743 |
> |
Float_t dsz_; // dsz parameter |
744 |
> |
Float_t dszError_; // error on dsz_ |
745 |
> |
Float_t normalizedChi2_; // chi-squared divided by n.d.o.f. of track fit |
746 |
> |
|
747 |
> |
Float_t ptError_; // needed ? ptError() |
748 |
> |
Float_t etaError_; // needed ? etaError() |
749 |
> |
Float_t phiError_; // needed ? phiError() |
750 |
> |
|
751 |
> |
Float_t ip3DSignificance_; // Significance of the impact parameter wrt to the selected primary vertex |
752 |
> |
|
753 |
> |
|
754 |
> |
// Variables from reco::SuperCluster |
755 |
> |
Int_t nbClusters_; // Number of related brem clusters |
756 |
> |
Float_t superClusterRawEnergy_; |
757 |
> |
Float_t preshowerEnergy_; |
758 |
> |
TVector3 caloPosition_; // SuperCluster centroid position |
759 |
> |
map<Int_t,Int_t> scIndex_; // indexes of the seed SuperClusters (one per SC tytpe) |
760 |
> |
map<Int_t,TRef> scRef_; // references to the seed SuperClusters (one per SC tytpe) |
761 |
> |
|
762 |
> |
|
763 |
> |
// Cluster Shape variables |
764 |
> |
// need reco::SuperCluster and reco::BasicCluster |
765 |
> |
Int_t clusterAlgo_; // reco::BasicCluster::algo() island = 0, hybrid = 1, fixedMatrix = 2, dynamicHybrid = 3, multi5x5 = 4 |
766 |
> |
Float_t caloConeSize_; // Delta_R of the cone centered on the reco::GsfElectron and containing all its basic clusters constituents |
767 |
> |
// need reco::SuperCluster and reco::BasicCluster and reduced Ecal RecHits Collections for EcalClusterLazyTools |
768 |
> |
Float_t e2x2_; |
769 |
> |
Float_t e3x3_; |
770 |
> |
Float_t e5x5_; |
771 |
> |
Float_t eMax_; |
772 |
> |
|
773 |
> |
|
774 |
> |
// pat::Electron Isolation |
775 |
> |
Float_t isoR01_sumPt_; |
776 |
> |
Int_t isoR01_nTracks_; |
777 |
> |
|
778 |
> |
Float_t isoR02_sumPt_; |
779 |
> |
Int_t isoR02_nTracks_; |
780 |
> |
|
781 |
> |
Float_t isoR03_emEt_; |
782 |
> |
Float_t isoR03_hadEt_; |
783 |
> |
Float_t isoR03_sumPt_; |
784 |
> |
Int_t isoR03_nTracks_; |
785 |
> |
|
786 |
> |
Float_t isoR05_emEt_; |
787 |
> |
Float_t isoR05_hadEt_; |
788 |
> |
Float_t isoR05_sumPt_; // Pt sum of tracks in a DR=0.5 cone around the electron |
789 |
> |
Int_t isoR05_nTracks_; // Tracks multiplicity in a DR=0.5 cone around the electron |
790 |
> |
|
791 |
> |
|
792 |
> |
// Electron ID (cf https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideElectronID) |
793 |
> |
// By default in 2.2.X, only cut based identification is available in pat (https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCutBasedElectronID |
794 |
> |
Int_t idCutBasedFixedThresholdLoose_; // Simple cut based ID (aka 'robust') - Loose Thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta |
795 |
> |
Int_t idCutBasedFixedThresholdTight_; // Simple cut based ID (default in EWK group) - Tight Thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta |
796 |
> |
Int_t idCutBasedFixedThresholdHighEnergy_; // Simple cut based ID - Thresholds optimized for high energy electron (~TeV) - not activated by default in 2.2.X |
797 |
> |
Int_t idCutBasedCategorizedLoose_; // Category based ID - Different loose thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta, eSeedOverPin for differents regions in the E/p vs fBrem plane |
798 |
> |
Int_t idCutBasedCategorizedTight_; // Category based ID - Different tight thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta, eSeedOverPin for differents regions in the E/p vs fBrem plane |
799 |
> |
Float_t idLikelihood_; // Lieklihood ID - not activated by default in 2.2.X |
800 |
> |
Float_t idNeuralNet_; // NN ID - not activated by default in 2.2.X |
801 |
> |
|
802 |
> |
Bool_t isAlsoPhoton_; // is electron also a photon ? |
803 |
> |
|
804 |
> |
// needed ? |
805 |
> |
//Float_t sigmaEtaEta_; |
806 |
> |
//Float_t sigmaPhiPhi_; |
807 |
|
|
544 |
– |
// Variables from reco::GsfElectron |
808 |
|
|
809 |
< |
// Classification: |
547 |
< |
// barrel : 0: golden, 10: bigbrem, 20: narrow, 30-34: showering, |
548 |
< |
// (30: showering nbrem=0, 31: showering nbrem=1, 32: showering nbrem=2 ,33: showering nbrem=3, 34: showering nbrem>=4) |
549 |
< |
// 40: crack |
550 |
< |
// endcaps : 100: golden, 110: bigbrem, 120: narrow, 130-134: showering |
551 |
< |
// (130: showering nbrem=0, 131: showering nbrem=1, 132: showering nbrem=2 ,133: showering nbrem=3, 134: showering nbrem>=4) |
552 |
< |
|
553 |
< |
Int_t classification_; // Electron classification |
554 |
< |
|
555 |
< |
Float_t caloEnergy_; // SuperCluster energy corrected by EnergyScaleFactor |
556 |
< |
Float_t caloEnergyError_; // Error on caloEnergy_ |
557 |
< |
Float_t trackMomentum_; // Track momentum at vertex |
558 |
< |
Float_t trackMomentumError_; // Error on trackMomentum_ |
559 |
< |
|
560 |
< |
Float_t hadOverEm_; // hadronic over electromagnetic fraction |
561 |
< |
|
562 |
< |
Float_t deltaEtaIn_; // Supercluster eta - Track eta from helix extrapolation from impact point |
563 |
< |
Float_t deltaPhiIn_; // Supercluster phi - Track phi from helix extrapolation from impact point |
564 |
< |
Float_t energySuperClusterOverPin_; // supercluster energy / track momentum at impact point |
565 |
< |
|
566 |
< |
Float_t deltaEtaOut_; // SeedCluster eta - Track eta at calo from outermost state |
567 |
< |
Float_t deltaPhiOut_; // SeedCluster phi - Track phi at calo from outermost state |
568 |
< |
Float_t energySeedClusterOverPout_; // SeedCluster energy / track momentum at calo from outermost state |
569 |
< |
|
570 |
< |
Bool_t energyScaleCorrected_; // Has Energy Scale been applied ? |
571 |
< |
Bool_t momentumCorrected_; // Tell if class dependant E-p combination has been determined |
572 |
< |
|
573 |
< |
|
574 |
< |
// Variables from reco::GsfTrack |
575 |
< |
|
576 |
< |
/* cf: http://cmslxr.fnal.gov/lxr/source/DataFormats/TrackReco/interface/TrackBase.h |
577 |
< |
For tracks reconstructed in the CMS Tracker, the reference position is the point of closest approach to the centre |
578 |
< |
of CMS. For muons, this is not necessarily true. Parameters associated to the 5D curvilinear covariance matrix: |
579 |
< |
qoverp = q / abs(p) = signed inverse of momentum [1/GeV] |
580 |
< |
lambda = pi/2 - polar angle at the given point |
581 |
< |
phi = azimuth angle at the given point |
582 |
< |
dxy = -vx*sin(phi) + vy*cos(phi) [cm] |
583 |
< |
dsz = vz*cos(lambda) - (vx*cos(phi)+vy*sin(phi))*sin(lambda) [cm] |
584 |
< |
|
585 |
< |
Geometrically, dxy is the signed distance in the XY plane between the straight line passing through (vx,vy) with |
586 |
< |
azimuthal angle phi and the point (0,0). The dsz parameter is the signed distance in the SZ plane between the straight |
587 |
< |
line passing through (vx,vy,vz) with angles (phi, lambda) and the point (s=0,z=0). The S axis is defined by the projection |
588 |
< |
of the straight line onto the XY plane. The convention is to assign the S coordinate for (vx,vy) as the value |
589 |
< |
vx*cos(phi)+vy*sin(phi). This value is zero when (vx,vy) is the point of minimum transverse distance to (0,0). |
590 |
< |
|
591 |
< |
Note that dxy and dsz provide sensible estimates of the distance from the true particle trajectory to (0,0,0) ONLY |
592 |
< |
in two cases: |
593 |
< |
- When (vx,vy,vz) already correspond to the point of minimum transverse distance to (0,0,0) or is close to it |
594 |
< |
(so that the differences between considering the exact trajectory or a straight line in this range are negligible). |
595 |
< |
This is usually true for Tracker tracks. |
596 |
< |
- When the track has infinite or extremely high momentum */ |
597 |
< |
|
598 |
< |
Float_t d0_; // d0=-dxy |
599 |
< |
Float_t d0Error_; // error on d0_ |
600 |
< |
Float_t dsz_; // dsz parameter |
601 |
< |
Float_t dszError_; // error on dsz_ |
602 |
< |
Float_t normalizedChi2_; // chi-squared divided by n.d.o.f. of track fit |
603 |
< |
|
604 |
< |
Float_t ptError_; // needed ? ptError() |
605 |
< |
Float_t etaError_; // needed ? etaError() |
606 |
< |
Float_t phiError_; // needed ? phiError() |
607 |
< |
|
608 |
< |
|
609 |
< |
// Variables from reco::SuperCluster |
610 |
< |
Int_t nbClusters_; // Number of related brem clusters |
611 |
< |
Float_t superClusterRawEnergy_; |
612 |
< |
Float_t preshowerEnergy_; |
613 |
< |
TVector3 caloPosition_; // SuperCluster centroid position |
614 |
< |
map<Int_t,TRef> scRef_; // references to the seed SuperClusters (one per SC tytpe) |
615 |
< |
|
616 |
< |
|
617 |
< |
// Cluster Shape variables |
618 |
< |
// need reco::SuperCluster and reco::BasicCluster |
619 |
< |
Int_t clusterAlgo_; // reco::BasicCluster::algo() island = 0, hybrid = 1, fixedMatrix = 2, dynamicHybrid = 3, multi5x5 = 4 |
620 |
< |
Float_t caloConeSize_; // Delta_R of the cone centered on the reco::GsfElectron and containing all its basic clusters constituents |
621 |
< |
// need reco::SuperCluster and reco::BasicCluster and reduced Ecal RecHits Collections for EcalClusterLazyTools |
622 |
< |
Float_t e2x2_; |
623 |
< |
Float_t e3x3_; |
624 |
< |
Float_t e5x5_; |
625 |
< |
Float_t eMax_; |
626 |
< |
|
627 |
< |
|
628 |
< |
// pat::Electron Isolation |
629 |
< |
Float_t isoR01_sumPt_; |
630 |
< |
Int_t isoR01_nTracks_; |
631 |
< |
|
632 |
< |
Float_t isoR02_sumPt_; |
633 |
< |
Int_t isoR02_nTracks_; |
634 |
< |
|
635 |
< |
Float_t isoR03_emEt_; |
636 |
< |
Float_t isoR03_hadEt_; |
637 |
< |
Float_t isoR03_sumPt_; |
638 |
< |
Int_t isoR03_nTracks_; |
639 |
< |
|
640 |
< |
Float_t isoR05_emEt_; |
641 |
< |
Float_t isoR05_hadEt_; |
642 |
< |
Float_t isoR05_sumPt_; // Pt sum of tracks in a DR=0.5 cone around the electron |
643 |
< |
Int_t isoR05_nTracks_; // Tracks multiplicity in a DR=0.5 cone around the electron |
644 |
< |
|
645 |
< |
|
646 |
< |
// pat::Electron ID (cf https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideElectronID) |
647 |
< |
// By default in 2.2.X, only cut based identification is available in pat (https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCutBasedElectronID |
648 |
< |
Int_t idCutBasedFixedThresholdLoose_; // Simple cut based ID (aka 'robust') - Loose Thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta |
649 |
< |
Int_t idCutBasedFixedThresholdTight_; // Simple cut based ID (default in EWK group) - Tight Thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta |
650 |
< |
Int_t idCutBasedFixedThresholdHighEnergy_; // Simple cut based ID - Thresholds optimized for high energy electron (~TeV) |
651 |
< |
Int_t idCutBasedCategorizedLoose_; // Category based ID - Different loose thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta, eSeedOverPin for differents regions in the E/p vs fBrem plane |
652 |
< |
Int_t idCutBasedCategorizedTight_; // Category based ID - Different tight thresholds on H/E, DeltaEta, DeltaPhi, SigmaEtaEta, eSeedOverPin for differents regions in the E/p vs fBrem plane |
653 |
< |
Float_t idLikelihood_; // Lieklihood ID - not activated by default in 2.2.X |
654 |
< |
Float_t idNeuralNet_; // NN ID - not activated by default in 2.2.X |
655 |
< |
|
656 |
< |
|
657 |
< |
// Matched genParticle |
658 |
< |
TLorentzVector momentumMCElectron_; |
659 |
< |
TVector3 vertexMCElectron_; |
660 |
< |
Int_t pdgIdMCElectron_; |
661 |
< |
|
662 |
< |
// needed ? |
663 |
< |
//Float_t sigmaEtaEta_; |
664 |
< |
//Float_t sigmaPhiPhi_; |
809 |
> |
ClassDef (TRootElectron,5); |
810 |
|
|
666 |
– |
|
667 |
– |
ClassDef (TRootElectron,2); |
811 |
|
}; |
812 |
|
|
813 |
|
#endif |