G4Electron Class Reference

#include <G4Electron.hh>

Inheritance diagram for G4Electron:

G4ParticleDefinition

Static Public Member Functions

static G4ElectronDefinition ()
static G4ElectronElectronDefinition ()
static G4ElectronElectron ()

Detailed Description

Definition at line 50 of file G4Electron.hh.


Member Function Documentation

G4Electron * G4Electron::Definition (  )  [static]

Definition at line 49 of file G4Electron.cc.

References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::GetParticleTable(), and G4ParticleDefinition::SetPDGMagneticMoment().

Referenced by G4RadioactiveDecay::CollimateDecay(), Electron(), ElectronDefinition(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), and G4IonParametrisedLossModel::SampleSecondaries().

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 
00068   // use constants in CLHEP
00069   //  static const double electron_mass_c2 = 0.51099906 * MeV;
00070 
00071     anInstance = new G4ParticleDefinition(
00072                  name,  electron_mass_c2,       0.0*MeV,    -1.*eplus, 
00073                     1,                 0,             0,          
00074                     0,                 0,             0,             
00075              "lepton",                 1,             0,          11,
00076                  true,              -1.0,          NULL,
00077              false,                  "e"
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<G4Electron*>(anInstance);
00086   return theInstance;
00087 }

G4Electron * G4Electron::Electron (  )  [static]

Definition at line 94 of file G4Electron.cc.

References Definition().

Referenced by G4VEnergyLossProcess::ActivateSecondaryBiasing(), G4VEmProcess::ActivateSecondaryBiasing(), G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4MuonMinusBoundDecay::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), 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(), G4QCaptureAtRestPhysics::ConstructProcess(), G4PenelopeIonisationCrossSection::CrossSection(), G4AdjointBremsstrahlungModel::DiffCrossSectionPerVolumePrimToSecond(), G4HadronicProcessStore::DumpHtml(), G4RangeTest::Escape(), G4AdjointBremsstrahlungModel::G4AdjointBremsstrahlungModel(), G4AdjointeIonisationModel::G4AdjointeIonisationModel(), G4BetheBlochModel::G4BetheBlochModel(), G4BetheHeitlerModel::G4BetheHeitlerModel(), G4BraggIonModel::G4BraggIonModel(), G4BraggModel::G4BraggModel(), G4ComptonScattering::G4ComptonScattering(), G4EmBiasingManager::G4EmBiasingManager(), G4EmCaptureCascade::G4EmCaptureCascade(), G4Fragment::G4Fragment(), G4GammaConversion::G4GammaConversion(), G4HeatedKleinNishinaCompton::G4HeatedKleinNishinaCompton(), G4hIonisation::G4hIonisation(), G4ICRU73QOModel::G4ICRU73QOModel(), G4ionIonisation::G4ionIonisation(), G4KleinNishinaCompton::G4KleinNishinaCompton(), G4KleinNishinaModel::G4KleinNishinaModel(), G4LivermorePhotoElectricModel::G4LivermorePhotoElectricModel(), G4LivermorePolarizedPhotoElectricModel::G4LivermorePolarizedPhotoElectricModel(), G4MollerBhabhaModel::G4MollerBhabhaModel(), G4mplIonisation::G4mplIonisation(), G4mplIonisationWithDeltaModel::G4mplIonisationWithDeltaModel(), G4MuBetheBlochModel::G4MuBetheBlochModel(), G4MuIonisation::G4MuIonisation(), G4MuMinusCaptureCascade::G4MuMinusCaptureCascade(), G4MuPairProductionModel::G4MuPairProductionModel(), G4PAIModel::G4PAIModel(), G4PAIPhotonModel::G4PAIPhotonModel(), G4PairProductionRelModel::G4PairProductionRelModel(), G4PEEffectFluoModel::G4PEEffectFluoModel(), G4PEEffectModel::G4PEEffectModel(), G4PhotoElectricEffect::G4PhotoElectricEffect(), G4UAtomicDeexcitation::G4UAtomicDeexcitation(), G4VEmProcess::G4VEmProcess(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4WentzelOKandVIxSection::G4WentzelOKandVIxSection(), G4WentzelVIRelXSection::G4WentzelVIRelXSection(), G4VGammaDeexcitation::GenerateGamma(), G4PenelopeIonisationXSHandler::GetCrossSectionTableForCouple(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4QInelastic::GetMeanFreePath(), G4QAtomicElectronScattering::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4NeutronHPPhotonDist::GetPhotons(), G4LivermoreIonisationModel::Initialise(), G4LivermoreBremsstrahlungModel::Initialise(), G4hhIonisation::InitialiseEnergyLossProcess(), G4alphaIonisation::InitialiseEnergyLossProcess(), G4PolarizedPhotoElectricEffect::InitialiseProcess(), G4PolarizedGammaConversion::InitialiseProcess(), G4PolarizedCompton::InitialiseProcess(), G4QInelastic::IsApplicable(), G4QElastic::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4MuElecElastic::IsApplicable(), G4ePolarizedIonisation::IsApplicable(), G4eBremsstrahlung::IsApplicable(), G4DNAVibExcitation::IsApplicable(), G4DNAIonisation::IsApplicable(), G4DNAExcitation::IsApplicable(), G4DNAElectronSolvatation::IsApplicable(), G4DNAElastic::IsApplicable(), G4DNAAttachment::IsApplicable(), G4QInelastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4VMultipleScattering::PreparePhysicsTable(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPContAngularPar::Sample(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), and G4VEmAdjointModel::SetAdjointEquivalentOfDirectPrimaryParticleDefinition().

00095 {
00096   return Definition();
00097 }

G4Electron * G4Electron::ElectronDefinition (  )  [static]

Definition at line 89 of file G4Electron.cc.

References Definition().

Referenced by G4ElectroNuclearReaction::ApplyYourself(), G4LFission::Atomas(), G4LeptonConstructor::ConstructELeptons(), G4ErrorPhysicsList::ConstructParticle(), G4DNASancheExcitationModel::CrossSectionPerVolume(), G4DNAEmfietzoglouExcitationModel::CrossSectionPerVolume(), G4DNABornIonisationModel::CrossSectionPerVolume(), G4DNABornExcitationModel::CrossSectionPerVolume(), G4QPDGToG4Particle::DefineAllParticles(), G4MuElecInelasticModel::DifferentialCrossSection(), G4DNABornIonisationModel::DifferentialCrossSection(), GFlashShowerModel::DoIt(), GFlashShowerModelMessenger::GetCurrentValue(), GFlashParticleBounds::GetEneToKill(), GFlashParticleBounds::GetMaxEneToParametrise(), GFlashParticleBounds::GetMinEneToParametrise(), G4MuElecInelasticModel::Initialise(), G4MuElecElasticModel::Initialise(), G4DNATransformElectronModel::Initialise(), G4DNASancheSolvatationModel::Initialise(), G4DNAMeltonAttachmentModel::Initialise(), G4DNAChampionElasticModel::Initialise(), G4DNABornIonisationModel::Initialise(), G4DNABornExcitationModel::Initialise(), GFlashShowerModel::IsApplicable(), G4ElectroNuclearCrossSection::IsIsoApplicable(), G4Scintillation::PostStepDoIt(), G4DNABornIonisationModel::SampleSecondaries(), GFlashParticleBounds::SetEneToKill(), GFlashParticleBounds::SetMaxEneToParametrise(), GFlashParticleBounds::SetMinEneToParametrise(), and GFlashShowerModelMessenger::SetNewValue().

00090 {
00091   return Definition();
00092 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:51 2013 for Geant4 by  doxygen 1.4.7