40 #include "Geant4/G4ParticleTable.hh" 50 const G4String name =
"thermalelectron";
52 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
53 G4ParticleDefinition* anInstance = pTable->FindParticle(name);
54 if (anInstance == 0) {
68 anInstance =
new G4ParticleDefinition(name,
69 CLHEP::electron_mass_c2,
89 -0.5 * CLHEP::eplus * CLHEP::hbar_Planck / (CLHEP::electron_mass_c2 / CLHEP::c_squared);
91 anInstance->SetPDGMagneticMoment(muB * 2. * 1.0011596521859);
static G4ThermalElectron * ThermalElectron()
static G4ThermalElectron * ThermalElectronDefinition()
static G4ThermalElectron * theInstance
static G4ThermalElectron * Definition()