#include <G4Positron.hh>
Inheritance diagram for G4Positron:
Static Public Member Functions | |
static G4Positron * | Definition () |
static G4Positron * | PositronDefinition () |
static G4Positron * | Positron () |
Definition at line 51 of file G4Positron.hh.
G4Positron * G4Positron::Definition | ( | ) | [static] |
Definition at line 49 of file G4Positron.cc.
References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), and G4ParticleDefinition::SetPDGMagneticMoment().
Referenced by G4RadioactiveDecay::CollimateDecay(), Positron(), and PositronDefinition().
00050 { 00051 if (theInstance !=0) return theInstance; 00052 const G4String name = "e+"; 00053 // search in particle table] 00054 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable(); 00055 G4ParticleDefinition* anInstance = pTable->FindParticle(name); 00056 if (anInstance ==0) 00057 { 00058 // create particle 00059 // 00060 // Arguments for constructor are as follows 00061 // name mass width charge 00062 // 2*spin parity C-conjugation 00063 // 2*Isospin 2*Isospin3 G-parity 00064 // type lepton number baryon number PDG encoding 00065 // stable lifetime decay table 00066 // shortlived subType anti_encoding 00067 // use constants in CLHEP 00068 // static const double electron_mass_c2 = 0.51099906 * MeV; 00069 00070 anInstance = new G4ParticleDefinition( 00071 name, electron_mass_c2, 0.0*MeV, +1.*eplus, 00072 1, 0, 0, 00073 0, 0, 0, 00074 "lepton", -1, 0, -11, 00075 true, -1.0, NULL, 00076 false, "e" 00077 ); 00078 00079 // Bohr Magnetron 00080 G4double muB = 0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ; 00081 00082 anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 ); 00083 00084 } 00085 theInstance = reinterpret_cast<G4Positron*>(anInstance); 00086 return theInstance; 00087 }
G4Positron * G4Positron::Positron | ( | ) | [static] |
Definition at line 94 of file G4Positron.cc.
References Definition().
Referenced by G4ElectroNuclearBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4QPhotoNuclearPhysics::ConstructParticle(), G4QAtomicPhysics::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmQExtraPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmExtraPhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), G4EmDNAPhysics::ConstructParticle(), G4QEmExtraPhysics::ConstructProcess(), G4HadronicProcessStore::DumpHtml(), G4RangeTest::Escape(), G4BetheHeitlerModel::G4BetheHeitlerModel(), G4hPairProduction::G4hPairProduction(), G4MuPairProduction::G4MuPairProduction(), G4MuPairProductionModel::G4MuPairProductionModel(), G4PAIModel::G4PAIModel(), G4PAIPhotonModel::G4PAIPhotonModel(), G4PairProductionRelModel::G4PairProductionRelModel(), G4UAtomicDeexcitation::G4UAtomicDeexcitation(), G4VEmProcess::G4VEmProcess(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4WentzelOKandVIxSection::G4WentzelOKandVIxSection(), G4WentzelVIRelXSection::G4WentzelVIRelXSection(), G4PenelopeIonisationXSHandler::GetCrossSectionTableForCouple(), G4QInelastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4EmModelManager::Initialise(), G4ePolarizedIonisation::InitialiseEnergyLossProcess(), G4eeToHadrons::InitialiseProcess(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4ePolarizedIonisation::IsApplicable(), G4eplusPolarizedAnnihilation::IsApplicable(), G4eplusAnnihilation::IsApplicable(), G4eIonisation::IsApplicable(), G4eeToHadrons::IsApplicable(), G4eBremsstrahlung::IsApplicable(), G4AnnihiToMuPair::IsApplicable(), G4QInelastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPContAngularPar::Sample(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), and G4BoldyshevTripletModel::SampleSecondaries().
00095 { 00096 return Definition(); 00097 }
G4Positron * G4Positron::PositronDefinition | ( | ) | [static] |
Definition at line 89 of file G4Positron.cc.
References Definition().
Referenced by G4ElectroNuclearReaction::ApplyYourself(), G4LeptonConstructor::ConstructELeptons(), G4ErrorPhysicsList::ConstructParticle(), G4QPDGToG4Particle::DefineAllParticles(), GFlashShowerModel::DoIt(), GFlashParticleBounds::GetEneToKill(), GFlashParticleBounds::GetMaxEneToParametrise(), GFlashParticleBounds::GetMinEneToParametrise(), GFlashShowerModel::IsApplicable(), G4ElectroNuclearCrossSection::IsIsoApplicable(), GFlashParticleBounds::SetEneToKill(), GFlashParticleBounds::SetMaxEneToParametrise(), and GFlashParticleBounds::SetMinEneToParametrise().
00090 { 00091 return Definition(); 00092 }