Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
lightions Namespace Reference

Functions

void Init ()
 

Function Documentation

◆ Init()

void lightions::Init ( )

Definition at line 75 of file G4IonTable.cc.

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

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