Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lightions Namespace Reference

Functions

void Init ()
 

Function Documentation

◆ Init()

void lightions::Init ( )

Definition at line 77 of file G4IonTable.cc.

78 {
79 if ( p_proton != nullptr ) return;
80 p_proton = G4ParticleTable::GetParticleTable()->FindParticle("proton");
81 p_deuteron = G4ParticleTable::GetParticleTable()->FindParticle("deuteron");
82 p_triton = G4ParticleTable::GetParticleTable()->FindParticle("triton");
85 }
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()

Referenced by G4IonTable::GetLightIon(), and G4IonTable::InitializeLightIons().