6 |
|
#include "Rtypes.h" |
7 |
|
#include "TObject.h" |
8 |
|
|
9 |
+ |
#include <iostream> |
10 |
+ |
#include <iomanip> |
11 |
|
|
12 |
|
using namespace std; |
13 |
|
|
15 |
|
{ |
16 |
|
|
17 |
|
public: |
18 |
+ |
TRootJet() : |
19 |
+ |
TRootParticle() |
20 |
+ |
,jetType_(0) |
21 |
+ |
,nConstituents_(-9999) |
22 |
+ |
,chargedMultiplicity_(-9999) |
23 |
+ |
,n90_(-9999) |
24 |
+ |
,n60_(-9999) |
25 |
+ |
,jetArea_(-9999.) |
26 |
+ |
,pileupEnergy_(-9999.) |
27 |
+ |
,maxDistance_(-9999.) |
28 |
+ |
,dR01EnergyFraction_(-9999.) |
29 |
+ |
,dR02EnergyFraction_(-9999.) |
30 |
+ |
,dR03EnergyFraction_(-9999.) |
31 |
+ |
,dR04EnergyFraction_(-9999.) |
32 |
+ |
,dR05EnergyFraction_(-9999.) |
33 |
+ |
,ecalEnergyFraction_(-9999.) |
34 |
+ |
,hcalEnergyFraction_(-9999.) |
35 |
+ |
,chargedEnergyFraction_(-9999.) |
36 |
+ |
,chargedBroadness_(-9999.) |
37 |
+ |
,chargedBroadnessDR01_(-9999.) |
38 |
+ |
,chargedBroadnessDR02_(-9999.) |
39 |
+ |
,chargedBroadnessDR03_(-9999.) |
40 |
+ |
,chargedBroadnessDR04_(-9999.) |
41 |
+ |
,chargedBroadnessDR05_(-9999.) |
42 |
+ |
,btag_trackCountingHighEff_(-9999.) |
43 |
+ |
,btag_trackCountingHighPur_(-9999.) |
44 |
+ |
,btag_jetProbability_(-9999.) |
45 |
+ |
,bCorrection_(-9999.) |
46 |
+ |
,cCorrection_(-9999.) |
47 |
+ |
,udsCorrection_(-9999.) |
48 |
+ |
,gCorrection_(-9999.) |
49 |
+ |
,momentumMCParton_() |
50 |
+ |
,vertexMCParton_() |
51 |
+ |
,pdgIdMCParton_(-9999) |
52 |
+ |
,momentumMCJet_() |
53 |
+ |
,vertexMCJet_() |
54 |
+ |
,pdgIdMCJet_(-9999) |
55 |
+ |
{;} |
56 |
+ |
|
57 |
+ |
TRootJet(const TRootJet& jet) : |
58 |
+ |
TRootParticle(jet) |
59 |
+ |
,jetType_(jet.jetType_) |
60 |
+ |
,nConstituents_(jet.nConstituents_) |
61 |
+ |
,chargedMultiplicity_(jet.chargedMultiplicity_) |
62 |
+ |
,n90_(jet.n90_) |
63 |
+ |
,n60_(jet.n60_) |
64 |
+ |
,jetArea_(jet.jetArea_) |
65 |
+ |
,pileupEnergy_(jet.pileupEnergy_) |
66 |
+ |
,maxDistance_(jet.maxDistance_) |
67 |
+ |
,dR01EnergyFraction_(jet.dR01EnergyFraction_) |
68 |
+ |
,dR02EnergyFraction_(jet.dR02EnergyFraction_) |
69 |
+ |
,dR03EnergyFraction_(jet.dR03EnergyFraction_) |
70 |
+ |
,dR04EnergyFraction_(jet.dR04EnergyFraction_) |
71 |
+ |
,dR05EnergyFraction_(jet.dR05EnergyFraction_) |
72 |
+ |
,ecalEnergyFraction_(jet.ecalEnergyFraction_) |
73 |
+ |
,hcalEnergyFraction_(jet.hcalEnergyFraction_) |
74 |
+ |
,chargedEnergyFraction_(jet.chargedEnergyFraction_) |
75 |
+ |
,chargedBroadness_(jet.chargedBroadness_) |
76 |
+ |
,chargedBroadnessDR01_(jet.chargedBroadnessDR01_) |
77 |
+ |
,chargedBroadnessDR02_(jet.chargedBroadnessDR02_) |
78 |
+ |
,chargedBroadnessDR03_(jet.chargedBroadnessDR03_) |
79 |
+ |
,chargedBroadnessDR04_(jet.chargedBroadnessDR04_) |
80 |
+ |
,chargedBroadnessDR05_(jet.chargedBroadnessDR05_) |
81 |
+ |
,btag_trackCountingHighEff_(jet.btag_trackCountingHighEff_) |
82 |
+ |
,btag_trackCountingHighPur_(jet.btag_trackCountingHighPur_) |
83 |
+ |
,btag_jetProbability_(jet.btag_jetProbability_) |
84 |
+ |
,bCorrection_(jet.bCorrection_) |
85 |
+ |
,cCorrection_(jet.cCorrection_) |
86 |
+ |
,udsCorrection_(jet.udsCorrection_) |
87 |
+ |
,gCorrection_(jet.gCorrection_) |
88 |
+ |
,momentumMCParton_(jet.momentumMCParton_) |
89 |
+ |
,vertexMCParton_(jet.vertexMCParton_) |
90 |
+ |
,pdgIdMCParton_(-jet.pdgIdMCParton_) |
91 |
+ |
,momentumMCJet_(jet.momentumMCJet_) |
92 |
+ |
,vertexMCJet_(jet.vertexMCJet_) |
93 |
+ |
,pdgIdMCJet_(-jet.pdgIdMCJet_) |
94 |
+ |
{;} |
95 |
+ |
|
96 |
+ |
TRootJet(Double_t px, Double_t py, Double_t pz, Double_t e) : |
97 |
+ |
TRootParticle(px,py,pz,e) |
98 |
+ |
,jetType_(0) |
99 |
+ |
,nConstituents_(-9999) |
100 |
+ |
,chargedMultiplicity_(-9999) |
101 |
+ |
,n90_(-9999) |
102 |
+ |
,n60_(-9999) |
103 |
+ |
,jetArea_(-9999.) |
104 |
+ |
,pileupEnergy_(-9999.) |
105 |
+ |
,maxDistance_(-9999.) |
106 |
+ |
,dR01EnergyFraction_(-9999.) |
107 |
+ |
,dR02EnergyFraction_(-9999.) |
108 |
+ |
,dR03EnergyFraction_(-9999.) |
109 |
+ |
,dR04EnergyFraction_(-9999.) |
110 |
+ |
,dR05EnergyFraction_(-9999.) |
111 |
+ |
,ecalEnergyFraction_(-9999.) |
112 |
+ |
,hcalEnergyFraction_(-9999.) |
113 |
+ |
,chargedEnergyFraction_(-9999.) |
114 |
+ |
,chargedBroadness_(-9999.) |
115 |
+ |
,chargedBroadnessDR01_(-9999.) |
116 |
+ |
,chargedBroadnessDR02_(-9999.) |
117 |
+ |
,chargedBroadnessDR03_(-9999.) |
118 |
+ |
,chargedBroadnessDR04_(-9999.) |
119 |
+ |
,chargedBroadnessDR05_(-9999.) |
120 |
+ |
,btag_trackCountingHighEff_(-9999.) |
121 |
+ |
,btag_trackCountingHighPur_(-9999.) |
122 |
+ |
,btag_jetProbability_(-9999.) |
123 |
+ |
,bCorrection_(-9999.) |
124 |
+ |
,cCorrection_(-9999.) |
125 |
+ |
,udsCorrection_(-9999.) |
126 |
+ |
,gCorrection_(-9999.) |
127 |
+ |
,momentumMCParton_() |
128 |
+ |
,vertexMCParton_() |
129 |
+ |
,pdgIdMCParton_(-9999) |
130 |
+ |
,momentumMCJet_() |
131 |
+ |
,vertexMCJet_() |
132 |
+ |
,pdgIdMCJet_(-9999) |
133 |
+ |
{;} |
134 |
|
|
135 |
< |
TRootJet() : TRootParticle(), Et_em(0.) {;} |
136 |
< |
TRootJet(Double_t px, Double_t py, Double_t pz, Double_t e) : TRootParticle(px,py,pz,e), Et_em(0.) {;} |
135 |
> |
TRootJet(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z) : |
136 |
> |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z) |
137 |
> |
,jetType_(0) |
138 |
> |
,nConstituents_(-9999) |
139 |
> |
,chargedMultiplicity_(-9999) |
140 |
> |
,n90_(-9999) |
141 |
> |
,n60_(-9999) |
142 |
> |
,jetArea_(-9999.) |
143 |
> |
,pileupEnergy_(-9999.) |
144 |
> |
,maxDistance_(-9999.) |
145 |
> |
,dR01EnergyFraction_(-9999.) |
146 |
> |
,dR02EnergyFraction_(-9999.) |
147 |
> |
,dR03EnergyFraction_(-9999.) |
148 |
> |
,dR04EnergyFraction_(-9999.) |
149 |
> |
,dR05EnergyFraction_(-9999.) |
150 |
> |
,ecalEnergyFraction_(-9999.) |
151 |
> |
,hcalEnergyFraction_(-9999.) |
152 |
> |
,chargedEnergyFraction_(-9999.) |
153 |
> |
,chargedBroadness_(-9999.) |
154 |
> |
,chargedBroadnessDR01_(-9999.) |
155 |
> |
,chargedBroadnessDR02_(-9999.) |
156 |
> |
,chargedBroadnessDR03_(-9999.) |
157 |
> |
,chargedBroadnessDR04_(-9999.) |
158 |
> |
,chargedBroadnessDR05_(-9999.) |
159 |
> |
,btag_trackCountingHighEff_(-9999.) |
160 |
> |
,btag_trackCountingHighPur_(-9999.) |
161 |
> |
,btag_jetProbability_(-9999.) |
162 |
> |
,bCorrection_(-9999.) |
163 |
> |
,cCorrection_(-9999.) |
164 |
> |
,udsCorrection_(-9999.) |
165 |
> |
,gCorrection_(-9999.) |
166 |
> |
,momentumMCParton_() |
167 |
> |
,vertexMCParton_() |
168 |
> |
,pdgIdMCParton_(-9999) |
169 |
> |
,momentumMCJet_() |
170 |
> |
,vertexMCJet_() |
171 |
> |
,pdgIdMCJet_(-9999) |
172 |
> |
{;} |
173 |
> |
|
174 |
> |
TRootJet(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) : |
175 |
> |
TRootParticle(px,py,pz,e,vtx_x,vtx_y,vtx_z,type,charge) |
176 |
> |
,jetType_(0) |
177 |
> |
,nConstituents_(-9999) |
178 |
> |
,chargedMultiplicity_(-9999) |
179 |
> |
,n90_(-9999) |
180 |
> |
,n60_(-9999) |
181 |
> |
,jetArea_(-9999.) |
182 |
> |
,pileupEnergy_(-9999.) |
183 |
> |
,maxDistance_(-9999.) |
184 |
> |
,dR01EnergyFraction_(-9999.) |
185 |
> |
,dR02EnergyFraction_(-9999.) |
186 |
> |
,dR03EnergyFraction_(-9999.) |
187 |
> |
,dR04EnergyFraction_(-9999.) |
188 |
> |
,dR05EnergyFraction_(-9999.) |
189 |
> |
,ecalEnergyFraction_(-9999.) |
190 |
> |
,hcalEnergyFraction_(-9999.) |
191 |
> |
,chargedEnergyFraction_(-9999.) |
192 |
> |
,chargedBroadness_(-9999.) |
193 |
> |
,chargedBroadnessDR01_(-9999.) |
194 |
> |
,chargedBroadnessDR02_(-9999.) |
195 |
> |
,chargedBroadnessDR03_(-9999.) |
196 |
> |
,chargedBroadnessDR04_(-9999.) |
197 |
> |
,chargedBroadnessDR05_(-9999.) |
198 |
> |
,btag_trackCountingHighEff_(-9999.) |
199 |
> |
,btag_trackCountingHighPur_(-9999.) |
200 |
> |
,btag_jetProbability_(-9999.) |
201 |
> |
,bCorrection_(-9999.) |
202 |
> |
,cCorrection_(-9999.) |
203 |
> |
,udsCorrection_(-9999.) |
204 |
> |
,gCorrection_(-9999.) |
205 |
> |
,momentumMCParton_() |
206 |
> |
,vertexMCParton_() |
207 |
> |
,pdgIdMCParton_(-9999) |
208 |
> |
,momentumMCJet_() |
209 |
> |
,vertexMCJet_() |
210 |
> |
,pdgIdMCJet_(-9999) |
211 |
> |
{;} |
212 |
> |
|
213 |
> |
TRootJet(const TLorentzVector &momentum) : |
214 |
> |
TRootParticle(momentum) |
215 |
> |
,jetType_(0) |
216 |
> |
,nConstituents_(-9999) |
217 |
> |
,chargedMultiplicity_(-9999) |
218 |
> |
,n90_(-9999) |
219 |
> |
,n60_(-9999) |
220 |
> |
,jetArea_(-9999.) |
221 |
> |
,pileupEnergy_(-9999.) |
222 |
> |
,maxDistance_(-9999.) |
223 |
> |
,dR01EnergyFraction_(-9999.) |
224 |
> |
,dR02EnergyFraction_(-9999.) |
225 |
> |
,dR03EnergyFraction_(-9999.) |
226 |
> |
,dR04EnergyFraction_(-9999.) |
227 |
> |
,dR05EnergyFraction_(-9999.) |
228 |
> |
,ecalEnergyFraction_(-9999.) |
229 |
> |
,hcalEnergyFraction_(-9999.) |
230 |
> |
,chargedEnergyFraction_(-9999.) |
231 |
> |
,chargedBroadness_(-9999.) |
232 |
> |
,chargedBroadnessDR01_(-9999.) |
233 |
> |
,chargedBroadnessDR02_(-9999.) |
234 |
> |
,chargedBroadnessDR03_(-9999.) |
235 |
> |
,chargedBroadnessDR04_(-9999.) |
236 |
> |
,chargedBroadnessDR05_(-9999.) |
237 |
> |
,btag_trackCountingHighEff_(-9999.) |
238 |
> |
,btag_trackCountingHighPur_(-9999.) |
239 |
> |
,btag_jetProbability_(-9999.) |
240 |
> |
,bCorrection_(-9999.) |
241 |
> |
,cCorrection_(-9999.) |
242 |
> |
,udsCorrection_(-9999.) |
243 |
> |
,gCorrection_(-9999.) |
244 |
> |
,momentumMCParton_() |
245 |
> |
,vertexMCParton_() |
246 |
> |
,pdgIdMCParton_(-9999) |
247 |
> |
,momentumMCJet_() |
248 |
> |
,vertexMCJet_() |
249 |
> |
,pdgIdMCJet_(-9999) |
250 |
> |
{;} |
251 |
> |
|
252 |
> |
TRootJet(const TLorentzVector &momentum, const TVector3 &vertex, Int_t type, Float_t charge) : |
253 |
> |
TRootParticle(momentum, vertex, type, charge) |
254 |
> |
,jetType_(0) |
255 |
> |
,nConstituents_(-9999) |
256 |
> |
,chargedMultiplicity_(-9999) |
257 |
> |
,n90_(-9999) |
258 |
> |
,n60_(-9999) |
259 |
> |
,jetArea_(-9999.) |
260 |
> |
,pileupEnergy_(-9999.) |
261 |
> |
,maxDistance_(-9999.) |
262 |
> |
,dR01EnergyFraction_(-9999.) |
263 |
> |
,dR02EnergyFraction_(-9999.) |
264 |
> |
,dR03EnergyFraction_(-9999.) |
265 |
> |
,dR04EnergyFraction_(-9999.) |
266 |
> |
,dR05EnergyFraction_(-9999.) |
267 |
> |
,ecalEnergyFraction_(-9999.) |
268 |
> |
,hcalEnergyFraction_(-9999.) |
269 |
> |
,chargedEnergyFraction_(-9999.) |
270 |
> |
,chargedBroadness_(-9999.) |
271 |
> |
,chargedBroadnessDR01_(-9999.) |
272 |
> |
,chargedBroadnessDR02_(-9999.) |
273 |
> |
,chargedBroadnessDR03_(-9999.) |
274 |
> |
,chargedBroadnessDR04_(-9999.) |
275 |
> |
,chargedBroadnessDR05_(-9999.) |
276 |
> |
,btag_trackCountingHighEff_(-9999.) |
277 |
> |
,btag_trackCountingHighPur_(-9999.) |
278 |
> |
,btag_jetProbability_(-9999.) |
279 |
> |
,bCorrection_(-9999.) |
280 |
> |
,cCorrection_(-9999.) |
281 |
> |
,udsCorrection_(-9999.) |
282 |
> |
,gCorrection_(-9999.) |
283 |
> |
,momentumMCParton_() |
284 |
> |
,vertexMCParton_() |
285 |
> |
,pdgIdMCParton_(-9999) |
286 |
> |
,momentumMCJet_() |
287 |
> |
,vertexMCJet_() |
288 |
> |
,pdgIdMCJet_(-9999) |
289 |
> |
{;} |
290 |
> |
|
291 |
|
~TRootJet() {;} |
292 |
< |
|
293 |
< |
Float_t et_em() { return Et_em; } |
294 |
< |
|
295 |
< |
void setEt_em(Float_t et_em) { Et_em = et_em; } |
296 |
< |
|
292 |
> |
|
293 |
> |
|
294 |
> |
Int_t jetType() const { return jetType_; } |
295 |
> |
Int_t nConstituents() const { return nConstituents_; } |
296 |
> |
Int_t chargedMultiplicity() const { return chargedMultiplicity_; } |
297 |
> |
Int_t n90() const { return n90_; } |
298 |
> |
Int_t n60() const { return n60_; } |
299 |
> |
Float_t jetArea() const { return jetArea_; } |
300 |
> |
Float_t pileupEnergy() const { return pileupEnergy_; } |
301 |
> |
Float_t maxDistance() const { return maxDistance_; } |
302 |
> |
Float_t dR01EnergyFraction() const { return dR01EnergyFraction_; } |
303 |
> |
Float_t dR02EnergyFraction() const { return dR02EnergyFraction_; } |
304 |
> |
Float_t dR03EnergyFraction() const { return dR03EnergyFraction_; } |
305 |
> |
Float_t dR04EnergyFraction() const { return dR04EnergyFraction_; } |
306 |
> |
Float_t dR05EnergyFraction() const { return dR05EnergyFraction_; } |
307 |
> |
Float_t ecalEnergyFraction() const { return ecalEnergyFraction_; } |
308 |
> |
Float_t hcalEnergyFraction() const { return hcalEnergyFraction_; } |
309 |
> |
Float_t chargedEnergyFraction() const { return chargedEnergyFraction_; } |
310 |
> |
Float_t chargedBroadness() const { return chargedBroadness_; } |
311 |
> |
Float_t chargedBroadnessDR01() const { return chargedBroadnessDR01_; } |
312 |
> |
Float_t chargedBroadnessDR02() const { return chargedBroadnessDR02_; } |
313 |
> |
Float_t chargedBroadnessDR03() const { return chargedBroadnessDR03_; } |
314 |
> |
Float_t chargedBroadnessDR04() const { return chargedBroadnessDR04_; } |
315 |
> |
Float_t chargedBroadnessDR05() const { return chargedBroadnessDR05_; } |
316 |
> |
Float_t btag_trackCountingHighEff() const { return btag_trackCountingHighEff_; } |
317 |
> |
Float_t btag_trackCountingHighPur() const { return btag_trackCountingHighPur_; } |
318 |
> |
Float_t btag_jetProbability() const { return btag_jetProbability_; } |
319 |
> |
Float_t bCorrection() const { return bCorrection_; } |
320 |
> |
Float_t cCorrection() const { return cCorrection_; } |
321 |
> |
Float_t udsCorrection() const { return udsCorrection_; } |
322 |
> |
Float_t gCorrection() const { return gCorrection_; } |
323 |
> |
//TObject* genParton() const { return genParton_.GetObject(); } |
324 |
> |
//Int_t mcPartonIndex() const { return mcPartonIndex_; } |
325 |
> |
TLorentzVector momentumMCParton() const { return momentumMCParton_; } |
326 |
> |
TVector3 vertexMCParton() const { return vertexMCParton_; } |
327 |
> |
Int_t pdgIdMCParton() const { return pdgIdMCParton_; } |
328 |
> |
TLorentzVector momentumMCJet() const { return momentumMCJet_; } |
329 |
> |
TVector3 vertexMCJet() const { return vertexMCJet_; } |
330 |
> |
Int_t pdgIdMCJet() const { return pdgIdMCJet_; } |
331 |
> |
|
332 |
> |
virtual TString typeName() const { return "TRootJet"; } |
333 |
> |
|
334 |
> |
|
335 |
> |
void setJetType(Int_t jetType) { jetType_ = jetType; } |
336 |
> |
void setNConstituents(Int_t nConstituents) { nConstituents_ = nConstituents; } |
337 |
> |
void setChargedMultiplicity(Int_t chargedMultiplicity) { chargedMultiplicity_ = chargedMultiplicity; } |
338 |
> |
void setN90(Int_t n90) { n90_ = n90; } |
339 |
> |
void setN60(Int_t n60) { n60_ = n60; } |
340 |
> |
void setJetArea(Float_t jetArea) { jetArea_ = jetArea; } |
341 |
> |
void setPileupEnergy(Float_t pileupEnergy) { pileupEnergy_ = pileupEnergy; } |
342 |
> |
void setMaxDistance(Float_t maxDistance) { maxDistance_ = maxDistance; } |
343 |
> |
void setDR01EnergyFraction(Float_t dR01EnergyFraction) { dR01EnergyFraction_ = dR01EnergyFraction; } |
344 |
> |
void setDR02EnergyFraction(Float_t dR02EnergyFraction) { dR02EnergyFraction_ = dR02EnergyFraction; } |
345 |
> |
void setDR03EnergyFraction(Float_t dR03EnergyFraction) { dR03EnergyFraction_ = dR03EnergyFraction; } |
346 |
> |
void setDR04EnergyFraction(Float_t dR04EnergyFraction) { dR04EnergyFraction_ = dR04EnergyFraction; } |
347 |
> |
void setDR05EnergyFraction(Float_t dR05EnergyFraction) { dR05EnergyFraction_ = dR05EnergyFraction; } |
348 |
> |
void setEcalEnergyFraction(Float_t ecalEnergyFraction) { ecalEnergyFraction_ = ecalEnergyFraction; } |
349 |
> |
void setHcalEnergyFraction(Float_t hcalEnergyFraction) { hcalEnergyFraction_ = hcalEnergyFraction; } |
350 |
> |
void setChargedEnergyFraction(Float_t chargedEnergyFraction) { chargedEnergyFraction_ = chargedEnergyFraction; } |
351 |
> |
void setChargedBroadness(Float_t chargedBroadness) { chargedBroadness_ = chargedBroadness; } |
352 |
> |
void setChargedBroadnessDR01(Float_t chargedBroadnessDR01) { chargedBroadnessDR01_ = chargedBroadnessDR01; } |
353 |
> |
void setChargedBroadnessDR02(Float_t chargedBroadnessDR02) { chargedBroadnessDR02_ = chargedBroadnessDR02; } |
354 |
> |
void setChargedBroadnessDR03(Float_t chargedBroadnessDR03) { chargedBroadnessDR03_ = chargedBroadnessDR03; } |
355 |
> |
void setChargedBroadnessDR04(Float_t chargedBroadnessDR04) { chargedBroadnessDR04_ = chargedBroadnessDR04; } |
356 |
> |
void setChargedBroadnessDR05(Float_t chargedBroadnessDR05) { chargedBroadnessDR05_ = chargedBroadnessDR05; } |
357 |
> |
void setBtag_trackCountingHighEff(Float_t btag_trackCountingHighEff) { btag_trackCountingHighEff_ = btag_trackCountingHighEff; } |
358 |
> |
void setBtag_trackCountingHighPur(Float_t btag_trackCountingHighPur) { btag_trackCountingHighPur_ = btag_trackCountingHighPur; } |
359 |
> |
void setBtag_jetProbability(Float_t btag_jetProbability) { btag_jetProbability_ = btag_jetProbability; } |
360 |
> |
void setBCorrection(Float_t bCorrection) { bCorrection_ = bCorrection; } |
361 |
> |
void setCCorrection(Float_t cCorrection) { cCorrection_ = cCorrection; } |
362 |
> |
void setUDSCorrection(Float_t udsCorrection) { udsCorrection_ = udsCorrection; } |
363 |
> |
void setGCorrection(Float_t gCorrection) { gCorrection_ = gCorrection; } |
364 |
> |
//void setGenParton(TObject* genParton) { genParton_ = genParton; } |
365 |
> |
//void setMCPartonIndex(Int_t mcPartonIndex) { mcPartonIndex_ = mcPartonIndex; } |
366 |
> |
void setMomentumMCParton(TLorentzVector momentumMCParton) { momentumMCParton_ = momentumMCParton; } |
367 |
> |
void setVertexMCParton(TVector3 vertexMCParton) { vertexMCParton_ = vertexMCParton; } |
368 |
> |
void setPdgIdMCParton(Int_t pdgIdMCParton) { pdgIdMCParton_ = pdgIdMCParton; } |
369 |
> |
void setMomentumMCJet(TLorentzVector momentumMCJet) { momentumMCJet_ = momentumMCJet; } |
370 |
> |
void setVertexMCJet(TVector3 vertexMCJet) { vertexMCJet_ = vertexMCJet; } |
371 |
> |
void setPdgIdMCJet(Int_t pdgIdMCJet) { pdgIdMCJet_ = pdgIdMCJet; } |
372 |
> |
|
373 |
> |
|
374 |
> |
|
375 |
> |
friend std::ostream& operator<< (std::ostream& stream, const TRootJet& jet) { |
376 |
> |
stream << "TRootJet - Charge=" << setw(2) << jet.charge() << " (Et,eta,phi)=("<< setw(10) << jet.Et() <<","<< setw(10) << jet.Eta() <<","<< setw(10) << jet.Phi() << ")" |
377 |
> |
<< " vertex(x,y,z)=("<< jet.vx() <<","<< jet.vy() <<","<< jet.vz() << ")"; |
378 |
> |
return stream; |
379 |
> |
}; |
380 |
> |
|
381 |
> |
|
382 |
|
private: |
383 |
< |
|
384 |
< |
Float_t Et_em; |
385 |
< |
|
386 |
< |
ClassDef (TRootJet,1); |
383 |
> |
|
384 |
> |
// Variables from reco::Jet |
385 |
> |
Int_t jetType_; // 0 = Unknown ; 1 = CaloJet ; 2 = PFJet |
386 |
> |
Int_t nConstituents_; // Number of constituents of the jet (calotowers for CaloJet / PFParticles for PFJet) |
387 |
> |
Int_t chargedMultiplicity_; // Number of tracks associated to the jet. Not available for reco::CaloJet |
388 |
> |
Int_t n90_; // Number of constituents of the jet carrying 90% of tje jet energy |
389 |
> |
Int_t n60_; // Number of constituents of the jet carrying 60% of tje jet energy |
390 |
> |
Float_t jetArea_; // Jet area |
391 |
> |
Float_t pileupEnergy_; // Pileup energy contribution |
392 |
> |
Float_t maxDistance_; // Maximum distance from jet to constituent |
393 |
> |
Float_t dR01EnergyFraction_; // Fraction of the jet energy in a DeltaR=0.1 cone |
394 |
> |
Float_t dR02EnergyFraction_; // Fraction of the jet energy in a DeltaR=0.1 cone |
395 |
> |
Float_t dR03EnergyFraction_; // Fraction of the jet energy in a DeltaR=0.1 cone |
396 |
> |
Float_t dR04EnergyFraction_; // Fraction of the jet energy in a DeltaR=0.1 cone |
397 |
> |
Float_t dR05EnergyFraction_; // Fraction of the jet energy in a DeltaR=0.1 cone |
398 |
> |
Float_t ecalEnergyFraction_; // ECAL Energy Fraction |
399 |
> |
Float_t hcalEnergyFraction_; // HCAL Energy Fraction |
400 |
> |
Float_t chargedEnergyFraction_; // Charged Energy Fraction - Only available for reco::PFJet |
401 |
> |
|
402 |
> |
|
403 |
> |
// Variables from pat::Jet |
404 |
> |
Float_t chargedBroadness_; // DR of the cone containing 75% of the jet charged energy |
405 |
> |
Float_t chargedBroadnessDR01_; // charged energy in a cone DR=0.1 / jet charged energy |
406 |
> |
Float_t chargedBroadnessDR02_; // charged energy in a cone DR=0.2 / jet charged energy |
407 |
> |
Float_t chargedBroadnessDR03_; // charged energy in a cone DR=0.3 / jet charged energy |
408 |
> |
Float_t chargedBroadnessDR04_; // charged energy in a cone DR=0.4 / jet charged energy |
409 |
> |
Float_t chargedBroadnessDR05_; // charged energy in a cone DR=0.5 / jet charged energy |
410 |
> |
Float_t btag_trackCountingHighEff_; // b-tagging ; Track counting High Efficiency |
411 |
> |
Float_t btag_trackCountingHighPur_; // b-tagging ; Track counting High Purity |
412 |
> |
Float_t btag_jetProbability_; // b-tagging ; Jet probability |
413 |
> |
Float_t bCorrection_; // correction factor for b hypothesis |
414 |
> |
Float_t cCorrection_; // correction factor for c hypothesis |
415 |
> |
Float_t udsCorrection_; // correction factor for uds hypothesis |
416 |
> |
Float_t gCorrection_; // correction factor for gluon hypothesis |
417 |
> |
|
418 |
> |
|
419 |
> |
// Matched parton and genJet |
420 |
> |
TLorentzVector momentumMCParton_; |
421 |
> |
TVector3 vertexMCParton_; |
422 |
> |
Int_t pdgIdMCParton_; |
423 |
> |
TLorentzVector momentumMCJet_; |
424 |
> |
TVector3 vertexMCJet_; |
425 |
> |
Int_t pdgIdMCJet_; |
426 |
> |
|
427 |
> |
|
428 |
> |
ClassDef (TRootJet,1); |
429 |
|
}; |
430 |
|
|
431 |
|
#endif |