Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TransportedParticle.h

Go to the documentation of this file.
00001 #ifndef ATLFAST_TRANSPORTEDPARTICLE_H
00002 #define ATLFAST_TRANSPORTEDPARTICLE_H
00003 
00004 #include "HepMC/GenParticle.h"
00005 #include "AtlfastEvent/Phi.h"
00006 
00007 //class HepMC::GenParticle;
00008 namespace Atlfast {
00009   /*
00010    * Data structure comprising of phi and a particle
00011    * the phi allows an extra phi value to represent eg phi after
00012    * passage through the B field
00013    */
00014   class TransportedParticle{
00015   public:
00016     TransportedParticle(double phi, const HepMC::GenParticle* p):
00017       m_phi(phi), m_particle(p){}
00018     ~TransportedParticle() {}
00019     Phi phi()                            const {return m_phi;}
00020     const HepMC::GenParticle* particle() const {return m_particle;};
00021   private:
00022     const Phi m_phi;
00023     const HepMC::GenParticle* m_particle;
00024   };
00025 }
00026 
00027 #endif
00028 
00029 

Generated on Wed May 1 14:11:32 2002 for AtlfastAlgs by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001