Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:18:20

0001 
0002 #include <G4VUserTrackInformation.hh>
0003 
0004 #ifndef _TRANSIENT_TRACK_INFORMATION_
0005 #define _TRANSIENT_TRACK_INFORMATION_
0006 
0007 #include <TransientParticle.h>
0008 
0009 class TransientTrackInformation: public G4VUserTrackInformation
0010 {
0011 public:
0012  TransientTrackInformation(TransientParticle *myself, TransientParticle *parent):
0013   m_Myself(myself), m_Parent(parent) {};
0014   ~TransientTrackInformation() {};
0015 
0016   void Print() const {};
0017 
0018   TransientParticle *Myself( void ) const { return m_Myself; };
0019   TransientParticle *Parent( void ) const { return m_Parent; };
0020   
0021  private:
0022   // NB: no const for the parent, since will modify its information in the stepping call;
0023   TransientParticle *m_Myself, *m_Parent;
0024 };
0025 
0026 #endif