1 |
|
/* |
2 |
|
* File: TCGenJet.h |
3 |
< |
* Author: Nate 0. |
3 |
> |
* Author: Nate 0oooo). |
4 |
|
* |
5 |
|
* Created on Nov 29, 2010, 1_39 PM |
6 |
|
*/ |
8 |
|
#ifndef _TCGENJET_H |
9 |
|
#define _TCGENJET_H |
10 |
|
|
11 |
+ |
#include <iostream> |
12 |
|
#include "TObject.h" |
13 |
|
#include "TLorentzVector.h" |
14 |
< |
#include "TVector2.h" |
14 |
> |
#include "TCPhysObject.h" |
15 |
|
|
16 |
< |
class TCGenJet : public TLorentzVector { |
16 |
> |
class TCGenJet : public TCPhysObject { |
17 |
|
private: |
18 |
|
TLorentzVector _progenitorP4; |
18 |
– |
TVector3 _vtx; |
19 |
– |
// TVector3 _assocPV; |
19 |
|
|
20 |
|
float _hadEnergy; |
21 |
|
float _emEnergy; |
33 |
|
// "get" methods ----------- |
34 |
|
|
35 |
|
TLorentzVector ProgenitorP4() const; |
37 |
– |
TVector2 P2() const; |
36 |
|
|
37 |
|
float HadEnergy() const; |
38 |
|
float EmEnergy() const; |
42 |
|
unsigned int NumConstit() const; |
43 |
|
unsigned int NumChPart() const; |
44 |
|
|
47 |
– |
TVector3 Vtx() const; |
48 |
– |
// TVector3 AssocVtx() const; |
49 |
– |
|
45 |
|
// "set" methods --------- |
46 |
+ |
|
47 |
|
void SetProgenitorP4(TLorentzVector p4); |
52 |
– |
void SetVtx(float vx, float vy, float vz); |
53 |
– |
// void SetAssocVtx(float vx, float vy, float vz); |
48 |
|
|
49 |
|
void SetHadEnergy(float h); |
50 |
|
void SetEmEnergy(float e); |
55 |
|
void SetJetFlavor(int f); |
56 |
|
|
57 |
|
ClassDef(TCGenJet, 1); |
64 |
– |
|
58 |
|
}; |
59 |
|
|
60 |
|
#endif /* _TCGENJET_H */ |