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

File Contents

# User Rev Content
1 anghel 1.1 #ifndef myParticle_GUARD
2     #define myParticle_GUARD
3     #include "Rtypes.h"
4     #include "TLorentzVector.h"
5     #include <vector>
6    
7     class myParticle {
8     public:
9     myParticle() {}
10     myParticle(TLorentzVector &p4) { p4_ = p4; }
11     virtual ~myParticle() {}
12     const TLorentzVector& p4() const { return p4_; }
13     protected:
14     TLorentzVector p4_;
15     ClassDef(myParticle,2)
16     };
17    
18     #endif