ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Anghel/macros/myGenParticle.h
Revision: 1.1
Committed: Fri Jan 29 23:16:04 2010 UTC (15 years, 3 months ago) by anghel
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
Revision 29Jan2010

File Contents

# Content
1 #ifndef myGenParticle_GUARD
2 #define myGenParticle_GUARD
3 #include "Rtypes.h"
4 #include "TLorentzVector.h"
5 #include <vector>
6
7 class myGenParticle {
8 public:
9 myGenParticle() {}
10 myGenParticle(TLorentzVector &p4, int id) { p4_ = p4; id_ = id; }
11 virtual ~myGenParticle() {}
12 const TLorentzVector& p4() const { return p4_; }
13 const int id() const { return id_; }
14 protected:
15 TLorentzVector p4_;
16 int id_;
17 ClassDef(myGenParticle,1)
18 };
19
20 #endif