1 |
naodell |
1.1 |
/*
|
2 |
|
|
* File: TCGenJet.h
|
3 |
|
|
* Author: Nate 0.
|
4 |
|
|
*
|
5 |
|
|
* Created on Nov 29, 2010, 1_39 PM
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#ifndef _TCGENJET_H
|
9 |
|
|
#define _TCGENJET_H
|
10 |
|
|
|
11 |
|
|
#include "TObject.h"
|
12 |
|
|
#include "TLorentzVector.h"
|
13 |
|
|
#include "TVector2.h"
|
14 |
|
|
|
15 |
|
|
class TCGenJet : public TObject {
|
16 |
|
|
private:
|
17 |
|
|
TLorentzVector _p4;
|
18 |
|
|
TLorentzVector _progenitorP4;
|
19 |
|
|
TVector3 _vtx;
|
20 |
|
|
// TVector3 _assocPV;
|
21 |
|
|
|
22 |
|
|
float _hadEnergy;
|
23 |
|
|
float _emEnergy;
|
24 |
|
|
float _invEnergy;
|
25 |
|
|
float _auxEnergy;
|
26 |
|
|
|
27 |
|
|
unsigned int _numConstit;
|
28 |
|
|
unsigned int _numChPart;
|
29 |
|
|
int _jetFlavor;
|
30 |
|
|
|
31 |
|
|
public:
|
32 |
|
|
TCGenJet();
|
33 |
|
|
TCGenJet(const TCGenJet& orig);
|
34 |
|
|
virtual ~TCGenJet();
|
35 |
|
|
|
36 |
|
|
// "get" methods -----------
|
37 |
|
|
|
38 |
|
|
TLorentzVector P4() const;
|
39 |
|
|
TLorentzVector ProgenitorP4() const;
|
40 |
|
|
TVector2 P2() const;
|
41 |
|
|
float Et() const;
|
42 |
|
|
float Pt() const;
|
43 |
|
|
|
44 |
|
|
float HadEnergy() const;
|
45 |
|
|
float EmEnergy() const;
|
46 |
|
|
float InvEnergy() const;
|
47 |
|
|
float AuxEnergy() const;
|
48 |
|
|
int JetFlavor() const;
|
49 |
|
|
unsigned int NumConstit() const;
|
50 |
|
|
unsigned int NumChPart() const;
|
51 |
|
|
|
52 |
|
|
TVector3 Vtx() const;
|
53 |
|
|
// TVector3 AssocVtx() const;
|
54 |
|
|
|
55 |
|
|
// "set" methods ---------
|
56 |
|
|
void SetP4(TLorentzVector p4);
|
57 |
|
|
void SetP4(float px, float py, float pz, float e);
|
58 |
|
|
void SetProgenitorP4(TLorentzVector p4);
|
59 |
|
|
void SetVtx(float vx, float vy, float vz);
|
60 |
|
|
// void SetAssocVtx(float vx, float vy, float vz);
|
61 |
|
|
|
62 |
|
|
void SetHadEnergy(float h);
|
63 |
|
|
void SetEmEnergy(float e);
|
64 |
|
|
void SetInvEnergy(float i);
|
65 |
|
|
void SetAuxEnergy(float a);
|
66 |
|
|
void SetNumConstit(unsigned int n);
|
67 |
|
|
void SetNumChPart(unsigned int n);
|
68 |
|
|
void SetJetFlavor(int f);
|
69 |
|
|
|
70 |
|
|
ClassDef(TCGenJet, 1);
|
71 |
|
|
|
72 |
|
|
};
|
73 |
|
|
|
74 |
|
|
#endif /* _TCGENJET_H */
|
75 |
|
|
|