Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Electron Class Reference

#include <G4Electron.hh>

+ Inheritance diagram for G4Electron:

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from G4ParticleDefinition
 G4ParticleDefinition (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospinZ, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived=false, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0)
 
virtual ~G4ParticleDefinition ()
 
const G4StringGetParticleName () const
 
G4double GetPDGMass () const
 
G4double GetPDGWidth () const
 
G4double GetPDGCharge () const
 
G4double GetPDGSpin () const
 
G4int GetPDGiSpin () const
 
G4int GetPDGiParity () const
 
G4int GetPDGiConjugation () const
 
G4double GetPDGIsospin () const
 
G4double GetPDGIsospin3 () const
 
G4int GetPDGiIsospin () const
 
G4int GetPDGiIsospin3 () const
 
G4int GetPDGiGParity () const
 
G4double GetPDGMagneticMoment () const
 
void SetPDGMagneticMoment (G4double mageticMoment)
 
G4double CalculateAnomaly () const
 
const G4StringGetParticleType () const
 
const G4StringGetParticleSubType () const
 
G4int GetLeptonNumber () const
 
G4int GetBaryonNumber () const
 
G4int GetPDGEncoding () const
 
G4int GetAntiPDGEncoding () const
 
void SetAntiPDGEncoding (G4int aEncoding)
 
G4int GetQuarkContent (G4int flavor) const
 
G4int GetAntiQuarkContent (G4int flavor) const
 
G4bool IsShortLived () const
 
G4bool GetPDGStable () const
 
void SetPDGStable (const G4bool aFlag)
 
G4double GetPDGLifeTime () const
 
void SetPDGLifeTime (G4double aLifeTime)
 
G4DecayTableGetDecayTable () const
 
void SetDecayTable (G4DecayTable *aDecayTable)
 
G4ProcessManagerGetProcessManager () const
 
void SetProcessManager (G4ProcessManager *aProcessManager)
 
G4ParticleTableGetParticleTable () const
 
void DumpTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int operator== (const G4ParticleDefinition &right) const
 
G4int operator!= (const G4ParticleDefinition &right) const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 
- Protected Types inherited from G4ParticleDefinition
enum  { NumberOfQuarkFlavor = 6 }
 
- Protected Member Functions inherited from G4ParticleDefinition
G4int FillQuarkContents ()
 
void SetParticleSubType (const G4String &subtype)
 
void SetAtomicNumber (G4int)
 
void SetAtomicMass (G4int)
 
 G4ParticleDefinition (const G4ParticleDefinition &right)
 
 G4ParticleDefinition ()
 
- Protected Attributes inherited from G4ParticleDefinition
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 

Detailed Description

Definition at line 50 of file G4Electron.hh.

Member Function Documentation

◆ Definition()

G4Electron * G4Electron::Definition ( )
static

Definition at line 49 of file G4Electron.cc.

50{
51 if (theInstance !=0) return theInstance;
52 const G4String name = "e-";
53 // search in particle table]
55 G4ParticleDefinition* anInstance = pTable->FindParticle(name);
56 if (anInstance ==0)
57 {
58 // create particle
59 //
60 // Arguments for constructor are as follows
61 // name mass width charge
62 // 2*spin parity C-conjugation
63 // 2*Isospin 2*Isospin3 G-parity
64 // type lepton number baryon number PDG encoding
65 // stable lifetime decay table
66 // shortlived subType anti_encoding
67
68 // use constants in CLHEP
69 // static const double electron_mass_c2 = 0.51099906 * MeV;
70
71 anInstance = new G4ParticleDefinition(
72 name, electron_mass_c2, 0.0*MeV, -1.*eplus,
73 1, 0, 0,
74 0, 0, 0,
75 "lepton", 1, 0, 11,
76 true, -1.0, NULL,
77 false, "e"
78 );
79 // Bohr Magnetron
80 G4double muB = -0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ;
81
82 anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
83
84 }
85 theInstance = reinterpret_cast<G4Electron*>(anInstance);
86 return theInstance;
87}
double G4double
Definition: G4Types.hh:64
void SetPDGMagneticMoment(G4double mageticMoment)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()

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

◆ Electron()

G4Electron * G4Electron::Electron ( )
static

Definition at line 94 of file G4Electron.cc.

95{
96 return Definition();
97}
static G4Electron * Definition()
Definition: G4Electron.cc:49

Referenced by G4VEmProcess::ActivateSecondaryBiasing(), G4VEnergyLossProcess::ActivateSecondaryBiasing(), G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4ElectroNuclearReaction::ApplyYourself(), G4MuonMinusBoundDecay::ApplyYourself(), G4BertiniElectroNuclearBuilder::Build(), G4ElectroNuclearBuilder::Build(), G4EmDNAPhysics::ConstructParticle(), G4EmDNAPhysicsChemistry::ConstructParticle(), G4EmExtraPhysics::ConstructParticle(), G4EmLivermorePhysics::ConstructParticle(), G4EmLivermorePolarizedPhysics::ConstructParticle(), G4EmLowEPPhysics::ConstructParticle(), G4EmPenelopePhysics::ConstructParticle(), G4EmQExtraPhysics::ConstructParticle(), G4EmStandardPhysics::ConstructParticle(), G4EmStandardPhysics_option1::ConstructParticle(), G4EmStandardPhysics_option2::ConstructParticle(), G4EmStandardPhysics_option3::ConstructParticle(), G4EmStandardPhysics_option4::ConstructParticle(), G4QAtomicPhysics::ConstructParticle(), G4QPhotoNuclearPhysics::ConstructParticle(), G4QCaptureAtRestPhysics::ConstructProcess(), G4QEmExtraPhysics::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(), G4QAtomicElectronScattering::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QPDGToG4Particle::GetParticleDefinition(), G4NeutronHPPhotonDist::GetPhotons(), G4LivermoreBremsstrahlungModel::Initialise(), G4LivermoreIonisationModel::Initialise(), G4hhIonisation::InitialiseEnergyLossProcess(), G4alphaIonisation::InitialiseEnergyLossProcess(), G4PolarizedCompton::InitialiseProcess(), G4PolarizedGammaConversion::InitialiseProcess(), G4PolarizedPhotoElectricEffect::InitialiseProcess(), G4DNAAttachment::IsApplicable(), G4DNAElastic::IsApplicable(), G4DNAElectronSolvatation::IsApplicable(), G4DNAExcitation::IsApplicable(), G4DNAIonisation::IsApplicable(), G4DNAVibExcitation::IsApplicable(), G4MuElecElastic::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4ePolarizedIonisation::IsApplicable(), G4eBremsstrahlung::IsApplicable(), G4QAtomicElectronScattering::IsApplicable(), G4QElastic::IsApplicable(), G4QInelastic::IsApplicable(), G4QAtomicElectronScattering::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4VMultipleScattering::PreparePhysicsTable(), G4NeutronHPDiscreteTwoBody::Sample(), G4NeutronHPIsotropic::Sample(), G4NeutronHPLabAngularEnergy::Sample(), G4NeutronHPNBodyPhaseSpace::Sample(), G4NeutronHPContAngularPar::Sample(), G4DNABornIonisationModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotonModel::SampleSecondaries(), and G4VEmAdjointModel::SetAdjointEquivalentOfDirectPrimaryParticleDefinition().

◆ ElectronDefinition()

G4Electron * G4Electron::ElectronDefinition ( )
static

The documentation for this class was generated from the following files: