Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:03:43

0001 
0002 #include <TObject.h>
0003 
0004 #ifndef _TRANSIENT_PARTICLE_
0005 #define _TRANSIENT_PARTICLE_
0006 
0007 // Need a separate class because do not want to deal with G4VUserTrackInformation serialization;
0008 class TransientParticle: public TObject {
0009  public:
0010  TransientParticle(int pdg): m_PDG(pdg) {};
0011   ~TransientParticle() {};
0012 
0013   virtual bool IsCharged( void ) const = 0;
0014   int GetPDG( void ) const { return m_PDG; };
0015 
0016  private:
0017   int m_PDG;
0018 
0019 #ifndef DISABLE_ROOT_IO
0020   ClassDef(TransientParticle, 1);
0021 #endif
0022 };
0023 
0024 #endif