File indexing completed on 2024-04-06 12:30:22
0001 #ifndef SimG4Core_HepMCParticle_h
0002 #define SimG4Core_HepMCParticle_h
0003
0004 #include "G4PrimaryParticle.hh"
0005
0006 class HepMCParticle {
0007 public:
0008 HepMCParticle();
0009 HepMCParticle(G4PrimaryParticle *pp, int status);
0010 ~HepMCParticle();
0011 const HepMCParticle &operator=(const HepMCParticle &right);
0012 int operator==(const HepMCParticle &right) const;
0013 int operator!=(const HepMCParticle &right) const;
0014
0015 private:
0016 G4PrimaryParticle *theParticle;
0017
0018
0019 int status_code;
0020
0021 public:
0022 G4PrimaryParticle *getTheParticle();
0023 void done();
0024 const int getStatus();
0025 };
0026
0027 #endif