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

# Content
1 #ifndef _TGENPARTICLE_H
2 #define _TGENPARTICLE_H
3
4 #include "TObject.h"
5 #include "TCPhysObject.h"
6 #include "TLorentzVector.h"
7 #include "TVector2.h"
8 #include "TVector3.h"
9 #include <vector>
10
11 class TCGenParticle : public TCPhysObject {
12 private:
13 int mother;
14 int grandmother;
15 int PDGID;
16 unsigned status;
17 bool isParton_;
18
19 // std::vector<int> daughters;
20
21 public:
22 TCGenParticle();
23 virtual ~TCGenParticle();
24
25 int Mother();
26 int Grandmother();
27 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 void SetGrandmother(int g);
38 void SetPDGId(int pdg_id);
39 void SetStatus(unsigned s);
40
41 void SetIsParton(bool a);
42
43 ClassDef(TCGenParticle, 1);
44 };
45
46 #endif