Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MCParticle.h

Go to the documentation of this file.
00001 #ifndef MCPARTICLE_H
00002 #define MCPARTICLE_H
00003 
00004 #include "TParticle.h"
00005 
00006 class TParticle;
00007 
00008 namespace novamc {
00009   
00010   class MCParticle {
00011     
00012   public:
00013     MCParticle() {};
00014     MCParticle(TParticle particle, int id) {fParticle = particle; fID = id;}
00015     ~MCParticle() {};
00016 
00017     TParticle fParticle;
00018     int       fID;
00019 
00020   public:
00021     void SetParticle(TParticle particle) {fParticle = particle;}
00022     void SetID(int i) {fID = i;}
00023 
00024     TParticle* GetParticle() {return &fParticle;}
00025     int GetID() {return fID;}
00026   };
00027 };
00028 
00029 #endif // MCPARTICLE_H

Generated on Mon Dec 1 02:35:18 2008 for NOvA Offline by  doxygen 1.3.9.1