ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCGenJet.h
Revision: 1.1
Committed: Tue Jul 24 20:24:55 2012 UTC (12 years, 9 months ago) by bpollack
Content type: text/plain
Branch: MAIN
Log Message:
adding a cleaned-up analyzer for 2012

File Contents

# User Rev Content
1 bpollack 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 TLorentzVector {
16     private:
17     TLorentzVector _progenitorP4;
18     TVector3 _vtx;
19     // TVector3 _assocPV;
20    
21     float _hadEnergy;
22     float _emEnergy;
23     float _invEnergy;
24     float _auxEnergy;
25    
26     unsigned int _numConstit;
27     unsigned int _numChPart;
28     int _jetFlavor;
29    
30     public:
31     TCGenJet();
32     virtual ~TCGenJet();
33    
34     // "get" methods -----------
35    
36     TLorentzVector ProgenitorP4() const;
37     TVector2 P2() const;
38    
39     float HadEnergy() const;
40     float EmEnergy() const;
41     float InvEnergy() const;
42     float AuxEnergy() const;
43     int JetFlavor() const;
44     unsigned int NumConstit() const;
45     unsigned int NumChPart() const;
46    
47     TVector3 Vtx() const;
48     // TVector3 AssocVtx() const;
49    
50     // "set" methods ---------
51     void SetProgenitorP4(TLorentzVector p4);
52     void SetVtx(float vx, float vy, float vz);
53     // void SetAssocVtx(float vx, float vy, float vz);
54    
55     void SetHadEnergy(float h);
56     void SetEmEnergy(float e);
57     void SetInvEnergy(float i);
58     void SetAuxEnergy(float a);
59     void SetNumConstit(unsigned int n);
60     void SetNumChPart(unsigned int n);
61     void SetJetFlavor(int f);
62    
63     ClassDef(TCGenJet, 1);
64    
65     };
66    
67     #endif /* _TCGENJET_H */
68