![]() |
![]() |
00001 #ifndef SimG4Core_HepMCParticle_h 00002 #define SimG4Core_HepMCParticle_h 00003 00004 #include "G4PrimaryParticle.hh" 00005 00006 class HepMCParticle 00007 { 00008 public: 00009 HepMCParticle(); 00010 HepMCParticle(G4PrimaryParticle * pp, int status); 00011 ~HepMCParticle(); 00012 const HepMCParticle & operator=(const HepMCParticle &right); 00013 int operator==(const HepMCParticle &right) const; 00014 int operator!=(const HepMCParticle &right) const; 00015 private: 00016 G4PrimaryParticle * theParticle; 00019 int status_code; 00020 public: 00021 G4PrimaryParticle * getTheParticle(); 00022 void done(); 00023 const int getStatus(); 00024 }; 00025 00026 #endif