2 #include "G4PhysicalConstants.hh" 3 #include "G4SystemOfUnits.hh" 4 #include "G4ParticleTable.hh" 6 #include "G4MuonDecayChannel.hh" 7 #include "G4DecayTable.hh" 19 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
20 G4ParticleDefinition* anInstance = pTable->FindParticle(name);
23 std::cout <<
"Creating " << name << std::endl;
33 anInstance =
new G4ParticleDefinition(
34 name, 0.1056583715*GeV, 2.99598
e-16*MeV, +1.*eplus,
37 "lepton", -1, 0, 66613,
38 true, 2196.98*ns, NULL,
42 G4double muB = 0.5*eplus*hbar_Planck/(anInstance->GetPDGMass()/c_squared) ;
44 anInstance->SetPDGMagneticMoment( muB * 1.0011659209);
57 std::cout <<
"Returning " <<
theInstance << std::endl;
static G4PseudoLaser * PseudoLaser()
static G4PseudoLaser * theInstance
static G4PseudoLaser * PseudoLaserDefinition()
static G4PseudoLaser * Definition()