ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCGenParticle.h
Revision: 1.2
Committed: Wed Feb 20 21:39:43 2013 UTC (12 years, 2 months ago) by bpollack
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +28 -28 lines
Log Message:
commiting moriond analysis package

File Contents

# User Rev Content
1 bpollack 1.1 #ifndef _TGENPARTICLE_H
2     #define _TGENPARTICLE_H
3    
4     #include "TObject.h"
5 bpollack 1.2 #include "TCPhysObject.h"
6 bpollack 1.1 #include "TLorentzVector.h"
7     #include "TVector2.h"
8     #include "TVector3.h"
9     #include <vector>
10    
11 bpollack 1.2 class TCGenParticle : public TCPhysObject {
12     private:
13     int mother;
14 bpollack 1.1 int grandmother;
15 bpollack 1.2 int PDGID;
16     unsigned status;
17     bool isParton_;
18 bpollack 1.1
19 bpollack 1.2 // std::vector<int> daughters;
20    
21     public:
22     TCGenParticle();
23     virtual ~TCGenParticle();
24    
25     int Mother();
26 bpollack 1.1 int Grandmother();
27 bpollack 1.2 int GetPDGId();
28     unsigned GetStatus();
29    
30     bool IsParton();
31    
32     // std::vector<int> GetDaughters();
33    
34     // "set" methods ---------
35     // void AddDaughter(int d);
36     void SetMother(int m);
37 bpollack 1.1 void SetGrandmother(int g);
38 bpollack 1.2 void SetPDGId(int pdg_id);
39     void SetStatus(unsigned s);
40 bpollack 1.1
41 bpollack 1.2 void SetIsParton(bool a);
42 bpollack 1.1
43 bpollack 1.2 ClassDef(TCGenParticle, 1);
44 bpollack 1.1 };
45    
46     #endif