Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -42,6 +42,10 @@
#include "G4ParticleDefinition.hh"
#include "G4Proton.hh"
#include "G4Neutron.hh"
#include "G4AntiProton.hh" // Uzhi Feb. 2011
#include "G4AntiNeutron.hh" // Uzhi Feb. 2011
#include "G4VKineticNucleon.hh"
//#include "G4VSplitableHadron.hh"
@@ -73,6 +77,10 @@ class G4Nucleon : public G4VKineticNucleon
inline void SetParticleType(G4Proton * aProton) {theParticleType = aProton;}
inline void SetParticleType(G4Neutron *aNeutron){theParticleType = aNeutron;}
inline void SetParticleType(G4AntiProton * aAntiProton) {theParticleType =aAntiProton;} //VU
inline void SetParticleType(G4AntiNeutron *aAntiNeutron){theParticleType =aAntiNeutron;}//VU
inline G4ParticleDefinition * GetParticleType() const {return theParticleType;}
virtual G4ParticleDefinition* GetDefinition() const {return theParticleType;}