1 |
bpollack |
1.1 |
/*
|
2 |
|
|
* File: TCGenJet.h
|
3 |
bpollack |
1.2 |
* Author: Nate 0oooo).
|
4 |
bpollack |
1.1 |
*
|
5 |
|
|
* Created on Nov 29, 2010, 1_39 PM
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#ifndef _TCGENJET_H
|
9 |
|
|
#define _TCGENJET_H
|
10 |
|
|
|
11 |
bpollack |
1.2 |
#include <iostream>
|
12 |
bpollack |
1.1 |
#include "TObject.h"
|
13 |
|
|
#include "TLorentzVector.h"
|
14 |
bpollack |
1.2 |
#include "TCPhysObject.h"
|
15 |
bpollack |
1.1 |
|
16 |
bpollack |
1.2 |
class TCGenJet : public TCPhysObject {
|
17 |
bpollack |
1.1 |
private:
|
18 |
|
|
TLorentzVector _progenitorP4;
|
19 |
|
|
|
20 |
|
|
float _hadEnergy;
|
21 |
|
|
float _emEnergy;
|
22 |
|
|
float _invEnergy;
|
23 |
|
|
float _auxEnergy;
|
24 |
|
|
|
25 |
|
|
unsigned int _numConstit;
|
26 |
|
|
unsigned int _numChPart;
|
27 |
|
|
int _jetFlavor;
|
28 |
|
|
|
29 |
|
|
public:
|
30 |
|
|
TCGenJet();
|
31 |
|
|
virtual ~TCGenJet();
|
32 |
|
|
|
33 |
|
|
// "get" methods -----------
|
34 |
|
|
|
35 |
|
|
TLorentzVector ProgenitorP4() const;
|
36 |
|
|
|
37 |
|
|
float HadEnergy() const;
|
38 |
|
|
float EmEnergy() const;
|
39 |
|
|
float InvEnergy() const;
|
40 |
|
|
float AuxEnergy() const;
|
41 |
|
|
int JetFlavor() const;
|
42 |
|
|
unsigned int NumConstit() const;
|
43 |
|
|
unsigned int NumChPart() const;
|
44 |
|
|
|
45 |
bpollack |
1.2 |
// "set" methods ---------
|
46 |
bpollack |
1.1 |
|
47 |
|
|
void SetProgenitorP4(TLorentzVector p4);
|
48 |
|
|
|
49 |
|
|
void SetHadEnergy(float h);
|
50 |
|
|
void SetEmEnergy(float e);
|
51 |
|
|
void SetInvEnergy(float i);
|
52 |
|
|
void SetAuxEnergy(float a);
|
53 |
|
|
void SetNumConstit(unsigned int n);
|
54 |
|
|
void SetNumChPart(unsigned int n);
|
55 |
|
|
void SetJetFlavor(int f);
|
56 |
|
|
|
57 |
|
|
ClassDef(TCGenJet, 1);
|
58 |
|
|
};
|
59 |
|
|
|
60 |
|
|
#endif /* _TCGENJET_H */
|
61 |
|
|
|