40 #include "Geant4/G4ParticleTable.hh" 50 const G4String name =
"thermalelectron";
52 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
53 G4ParticleDefinition* anInstance = pTable->FindParticle(name);
69 anInstance =
new G4ParticleDefinition(
70 name, CLHEP::electron_mass_c2, 0.0*CLHEP::MeV, -1.*CLHEP::eplus,
78 G4double muB = -0.5*CLHEP::eplus*CLHEP::hbar_Planck/(CLHEP::electron_mass_c2/CLHEP::c_squared) ;
80 anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
static G4ThermalElectron * ThermalElectron()
static G4ThermalElectron * ThermalElectronDefinition()
static G4ThermalElectron * theInstance
static G4ThermalElectron * Definition()