Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -42,10 +42,10 @@
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4Proton.hh"
|
||||
#include "G4Neutron.hh"
|
||||
|
||||
#include "G4AntiProton.hh" // Uzhi Feb. 2011
|
||||
#include "G4AntiNeutron.hh" // Uzhi Feb. 2011
|
||||
|
||||
#include "G4Lambda.hh"
|
||||
#include "G4AntiProton.hh"
|
||||
#include "G4AntiNeutron.hh"
|
||||
#include "G4AntiLambda.hh"
|
||||
#include "G4VKineticNucleon.hh"
|
||||
|
||||
//#include "G4VSplitableHadron.hh"
|
||||
@@ -74,11 +74,13 @@ class G4Nucleon : public G4VKineticNucleon
|
||||
inline void SetBindingEnergy(G4double anEnergy) {theBindingE = anEnergy;}
|
||||
inline G4double GetBindingEnergy() const {return theBindingE;}
|
||||
|
||||
inline void SetParticleType(G4Proton * aProton) {theParticleType = aProton;}
|
||||
inline void SetParticleType(G4Neutron *aNeutron){theParticleType = aNeutron;}
|
||||
inline void SetParticleType(G4Proton* aProton) {theParticleType = aProton;}
|
||||
inline void SetParticleType(G4Neutron* aNeutron){theParticleType = aNeutron;}
|
||||
inline void SetParticleType(G4Lambda* aLambda) {theParticleType = aLambda;}
|
||||
|
||||
inline void SetParticleType(G4AntiProton * aAntiProton) {theParticleType =aAntiProton;}
|
||||
inline void SetParticleType(G4AntiNeutron *aAntiNeutron){theParticleType =aAntiNeutron;}
|
||||
inline void SetParticleType(G4AntiProton* aAntiProton) {theParticleType = aAntiProton;}
|
||||
inline void SetParticleType(G4AntiNeutron* aAntiNeutron){theParticleType = aAntiNeutron;}
|
||||
inline void SetParticleType(G4AntiLambda* aAntiLambda) {theParticleType = aAntiLambda;}
|
||||
|
||||
inline const G4ParticleDefinition* GetParticleType() const {return theParticleType;}
|
||||
virtual const G4ParticleDefinition* GetDefinition() const {return theParticleType;}
|
||||
|
||||
Reference in New Issue
Block a user