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

#include <G4DynamicParticle.hh>

Public Member Functions

 G4DynamicParticle ()
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aMomentumDirection, G4double aKineticEnergy)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4LorentzVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, G4double aTotalEnergy, const G4ThreeVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aMomentumDirection, G4double aKineticEnergy, const G4double dynamicalMass)
 
 G4DynamicParticle (const G4DynamicParticle &right)
 
 ~G4DynamicParticle ()
 
G4DynamicParticleoperator= (const G4DynamicParticle &right)
 
G4bool operator== (const G4DynamicParticle &right) const
 
G4bool operator!= (const G4DynamicParticle &right) const
 
 G4DynamicParticle (G4DynamicParticle &&from)
 
G4DynamicParticleoperator= (G4DynamicParticle &&from)
 
void * operator new (size_t)
 
void operator delete (void *aDynamicParticle)
 
const G4ThreeVectorGetMomentumDirection () const
 
void SetMomentumDirection (const G4ThreeVector &aDirection)
 
void SetMomentumDirection (G4double px, G4double py, G4double pz)
 
G4ThreeVector GetMomentum () const
 
void SetMomentum (const G4ThreeVector &momentum)
 
G4LorentzVector Get4Momentum () const
 
void Set4Momentum (const G4LorentzVector &momentum)
 
G4double GetTotalMomentum () const
 
G4double GetTotalEnergy () const
 
G4double GetKineticEnergy () const
 
G4double GetLogKineticEnergy () const
 
void SetKineticEnergy (G4double aEnergy)
 
G4double GetBeta () const
 
G4double GetProperTime () const
 
void SetProperTime (G4double)
 
const G4ThreeVectorGetPolarization () const
 
void SetPolarization (const G4ThreeVector &)
 
void SetPolarization (G4double polX, G4double polY, G4double polZ)
 
G4double GetMass () const
 
void SetMass (G4double mass)
 
G4double GetCharge () const
 
void SetCharge (G4double charge)
 
void SetCharge (G4int chargeInUnitOfEplus)
 
G4double GetSpin () const
 
void SetSpin (G4double spin)
 
void SetSpin (G4int spinInUnitOfHalfInteger)
 
G4double GetMagneticMoment () const
 
void SetMagneticMoment (G4double magneticMoment)
 
const G4ElectronOccupancyGetElectronOccupancy () const
 
G4int GetTotalOccupancy () const
 
G4int GetOccupancy (G4int orbit) const
 
void AddElectron (G4int orbit, G4int number=1)
 
void RemoveElectron (G4int orbit, G4int number=1)
 
const G4ParticleDefinitionGetParticleDefinition () const
 
void SetDefinition (const G4ParticleDefinition *aParticleDefinition)
 
G4ParticleDefinitionGetDefinition () const
 
const G4DecayProductsGetPreAssignedDecayProducts () const
 
void SetPreAssignedDecayProducts (G4DecayProducts *aDecayProducts)
 
G4double GetPreAssignedDecayProperTime () const
 
void SetPreAssignedDecayProperTime (G4double)
 
void DumpInfo (G4int mode=0) const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetPrimaryParticle (G4PrimaryParticle *p)
 
void SetPDGcode (G4int c)
 
G4PrimaryParticleGetPrimaryParticle () const
 
G4int GetPDGcode () const
 

Protected Member Functions

void AllocateElectronOccupancy ()
 
G4double GetElectronMass () const
 

Detailed Description

Definition at line 62 of file G4DynamicParticle.hh.

Constructor & Destructor Documentation

◆ G4DynamicParticle() [1/8]

G4DynamicParticle::G4DynamicParticle ( )

Definition at line 54 of file G4DynamicParticle.cc.

55 : theMomentumDirection(0.0, 0.0, 1.0), thePolarization(0.0, 0.0, 0.0)
56{}

◆ G4DynamicParticle() [2/8]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition * aParticleDefinition,
const G4ThreeVector & aMomentumDirection,
G4double aKineticEnergy )

Definition at line 58 of file G4DynamicParticle.cc.

61 : theMomentumDirection(aMomentumDirection),
62 thePolarization(0.0, 0.0, 0.0),
63 theParticleDefinition(aParticleDefinition),
64 theKineticEnergy(aKineticEnergy),
65 theDynamicalMass(aParticleDefinition->GetPDGMass()),
66 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
67 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
68 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
69{}
G4double GetPDGMagneticMoment() const

◆ G4DynamicParticle() [3/8]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition * aParticleDefinition,
const G4ThreeVector & aParticleMomentum )

Definition at line 91 of file G4DynamicParticle.cc.

93 : thePolarization(0.0, 0.0, 0.0),
94 theParticleDefinition(aParticleDefinition),
95 theDynamicalMass(aParticleDefinition->GetPDGMass()),
96 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
97 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
98 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
99{
100 SetMomentum(aParticleMomentum); // 3-dim momentum is given
101}
void SetMomentum(const G4ThreeVector &momentum)

◆ G4DynamicParticle() [4/8]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition * aParticleDefinition,
const G4LorentzVector & aParticleMomentum )

Definition at line 103 of file G4DynamicParticle.cc.

105 : thePolarization(0.0, 0.0, 0.0),
106 theParticleDefinition(aParticleDefinition),
107 theDynamicalMass(aParticleDefinition->GetPDGMass()),
108 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
109 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
110 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
111{
112 Set4Momentum(aParticleMomentum); // 4-momentum vector (Lorentz vector)
113}
void Set4Momentum(const G4LorentzVector &momentum)

◆ G4DynamicParticle() [5/8]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition * aParticleDefinition,
G4double aTotalEnergy,
const G4ThreeVector & aParticleMomentum )

Definition at line 115 of file G4DynamicParticle.cc.

117 : thePolarization(0.0, 0.0, 0.0),
118 theParticleDefinition(aParticleDefinition),
119 theDynamicalMass(aParticleDefinition->GetPDGMass()),
120 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
121 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
122 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
123{
124 // total energy and 3-dim momentum are given
125 G4double pModule2 = aParticleMomentum.mag2();
126 if (pModule2 > 0.0) {
127 G4double mass2 = totalEnergy * totalEnergy - pModule2;
128 G4double PDGmass2 = (aParticleDefinition->GetPDGMass()) * (aParticleDefinition->GetPDGMass());
129 SetMomentumDirection(aParticleMomentum.unit());
130 if (mass2 < EnergyMRA2) {
131 theDynamicalMass = 0.;
132 SetKineticEnergy(totalEnergy);
133 }
134 else {
135 if (std::abs(PDGmass2 - mass2) > EnergyMRA2) {
136 theDynamicalMass = std::sqrt(mass2);
137 SetKineticEnergy(totalEnergy - theDynamicalMass);
138 }
139 else {
140 SetKineticEnergy(totalEnergy - theDynamicalMass);
141 }
142 }
143 }
144 else {
145 SetMomentumDirection(1.0, 0.0, 0.0);
146 SetKineticEnergy(0.0);
147 }
148}
double G4double
Definition G4Types.hh:83
Hep3Vector unit() const
double mag2() const
void SetMomentumDirection(const G4ThreeVector &aDirection)
void SetKineticEnergy(G4double aEnergy)

◆ G4DynamicParticle() [6/8]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition * aParticleDefinition,
const G4ThreeVector & aMomentumDirection,
G4double aKineticEnergy,
const G4double dynamicalMass )

Definition at line 71 of file G4DynamicParticle.cc.

74 : theMomentumDirection(aMomentumDirection),
75 thePolarization(0.0, 0.0, 0.0),
76 theParticleDefinition(aParticleDefinition),
77 theKineticEnergy(aKineticEnergy),
78 theDynamicalMass(aParticleDefinition->GetPDGMass()),
79 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
80 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
81 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
82{
83 if (std::abs(theDynamicalMass - dynamicalMass) > EnergyMomentumRelationAllowance) {
84 if (dynamicalMass > EnergyMomentumRelationAllowance)
85 theDynamicalMass = dynamicalMass;
86 else
87 theDynamicalMass = 0.0;
88 }
89}

◆ G4DynamicParticle() [7/8]

G4DynamicParticle::G4DynamicParticle ( const G4DynamicParticle & right)

Definition at line 150 of file G4DynamicParticle.cc.

151 : theMomentumDirection(right.theMomentumDirection),
152 thePolarization(right.thePolarization),
153 theParticleDefinition(right.theParticleDefinition),
154 // Don't copy preassignedDecayProducts
155 primaryParticle(right.primaryParticle),
156 theKineticEnergy(right.theKineticEnergy),
157 theLogKineticEnergy(right.theLogKineticEnergy),
158 theBeta(right.theBeta),
159 theProperTime(right.theProperTime),
160 theDynamicalMass(right.theDynamicalMass),
161 theDynamicalCharge(right.theDynamicalCharge),
162 theDynamicalSpin(right.theDynamicalSpin),
163 theDynamicalMagneticMoment(right.theDynamicalMagneticMoment),
164
165 verboseLevel(right.verboseLevel),
166 thePDGcode(right.thePDGcode)
167{
168 if (right.theElectronOccupancy != nullptr) {
169 theElectronOccupancy = new G4ElectronOccupancy(*right.theElectronOccupancy);
170 }
171}

◆ ~G4DynamicParticle()

G4DynamicParticle::~G4DynamicParticle ( )

Definition at line 199 of file G4DynamicParticle.cc.

200{
201 delete thePreAssignedDecayProducts;
202 thePreAssignedDecayProducts = nullptr;
203
204 delete theElectronOccupancy;
205 theElectronOccupancy = nullptr;
206}

◆ G4DynamicParticle() [8/8]

G4DynamicParticle::G4DynamicParticle ( G4DynamicParticle && from)

Definition at line 173 of file G4DynamicParticle.cc.

174 : theMomentumDirection(from.theMomentumDirection),
175 thePolarization(from.thePolarization),
176 theParticleDefinition(from.theParticleDefinition),
177 theElectronOccupancy(from.theElectronOccupancy),
178 // Don't move preassignedDecayProducts
179 primaryParticle(from.primaryParticle),
180 theKineticEnergy(from.theKineticEnergy),
181 theLogKineticEnergy(from.theLogKineticEnergy),
182 theBeta(from.theBeta),
183 theProperTime(from.theProperTime),
184 theDynamicalMass(from.theDynamicalMass),
185 theDynamicalCharge(from.theDynamicalCharge),
186 theDynamicalSpin(from.theDynamicalSpin),
187 theDynamicalMagneticMoment(from.theDynamicalMagneticMoment),
188
189 verboseLevel(from.verboseLevel),
190 thePDGcode(from.thePDGcode)
191{
192 // Release the data from the source object
193 from.theParticleDefinition = nullptr;
194 from.theElectronOccupancy = nullptr;
195 from.thePreAssignedDecayProducts = nullptr;
196 from.primaryParticle = nullptr;
197}

Member Function Documentation

◆ AddElectron()

void G4DynamicParticle::AddElectron ( G4int orbit,
G4int number = 1 )
inline

◆ AllocateElectronOccupancy()

void G4DynamicParticle::AllocateElectronOccupancy ( )
protected

Definition at line 321 of file G4DynamicParticle.cc.

322{
323 if (G4IonTable::IsIon(theParticleDefinition)) {
324 // Only ions can have ElectronOccupancy
325 theElectronOccupancy = new G4ElectronOccupancy();
326 }
327 else {
328 theElectronOccupancy = nullptr;
329 }
330}
static G4bool IsIon(const G4ParticleDefinition *)

◆ DumpInfo()

◆ Get4Momentum()

◆ GetBeta()

◆ GetCharge()

◆ GetDefinition()

G4ParticleDefinition * G4DynamicParticle::GetDefinition ( ) const
inline

Referenced by G4Radioactivation::AddDeexcitationSpectrumForBiasMode(), G4ParticleHPFinalState::adjust_final_state(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4ErrorEnergyLoss::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4DecayWithSpin::AtRestDoIt(), G4MuonMinusAtomicCapture::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4HadLeadBias::Bias(), G4PrimaryTransformer::CheckDynamicParticle(), G4HadronicProcess::CheckResult(), G4CrossSectionDataStore::ComputeCrossSection(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4RadioactiveDecay::DecayAnalog(), G4Decay::DecayIt(), G4Radioactivation::DecayIt(), G4RadioactiveDecay::DecayIt(), G4UnknownDecay::DecayIt(), G4AtimaFluctuations::Dispersion(), G4IonFluctuations::Dispersion(), G4UniversalFluctuation::Dispersion(), G4HadronicProcess::FillResult(), G4Track::G4Track(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4CrossSectionDataStore::GetCrossSection(), G4CrossSectionDataStore::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4InuclParticle::getDefinition(), G4ComponentBarNucleonNucleusXsc::GetElasticCrossSection(), G4NucleonNuclearCrossSection::GetElasticCrossSection(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetElasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetElasticGlauberGribov(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4NeutrinoElectronNcXsc::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4QuasiElasticChannel::GetFraction(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4HadronNucleonXsc::GetHyperonNucleonXscNS(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetInelasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetInelasticGlauberGribov(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4ChargeExchangeXS::GetIsoCrossSection(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ComponentGGHadronNucleusXsc::GetIsoCrossSection(), G4ElNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4MuNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4TauNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4HadronNucleonXsc::GetKaonNucleonXscGG(), G4Decay::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4Decay::GetMeanLifeTime(), G4MuonicAtomDecay::GetMeanLifeTime(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4ComponentGGHadronNucleusXsc::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGHadronNucleusXsc::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4Scintillation::GetScintillationYieldByParticleType(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4ParticleHPThermalScatteringData::IsApplicable(), G4EMDissociationCrossSection::IsElementApplicable(), G4IonsShenCrossSection::IsElementApplicable(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4NeutrinoElectronNcXsc::IsElementApplicable(), G4NeutronElectronElXsc::IsElementApplicable(), G4QAOLowEnergyLoss::IsInCharge(), G4ElNeutrinoNucleusTotXsc::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4MuNeutrinoNucleusTotXsc::IsIsoApplicable(), G4ParticleHPElasticData::IsIsoApplicable(), G4ParticleHPFissionData::IsIsoApplicable(), G4ParticleHPInelasticData::IsIsoApplicable(), G4ParticleHPThermalScatteringData::IsIsoApplicable(), G4TauNeutrinoNucleusTotXsc::IsIsoApplicable(), G4ReactionProduct::operator=(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4DecayWithSpin::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4NuVacOscProcess::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4Decay::PostStepGetPhysicalInteractionLength(), G4ModifiedMephi::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4PAIModel::SampleFluctuations(), G4PAIPhotModel::SampleFluctuations(), G4UniversalFluctuation::SampleFluctuations(), G4ModifiedMephi::SamplePairDirections(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADiracRMatrixExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNAQuinnPlasmonExcitationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARPWBAIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4QuasiElasticChannel::Scatter(), G4VPartonStringModel::Scatter(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), G4GoudsmitSaundersonMscModel::StartTracking(), G4UrbanAdjointMscModel::StartTracking(), G4UrbanMscModel::StartTracking(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElasticV2::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElasticV2::ThetaLabToThetaCMS(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), and G4hIonEffChargeSquare::TheValue().

◆ GetElectronMass()

G4double G4DynamicParticle::GetElectronMass ( ) const
protected

Definition at line 404 of file G4DynamicParticle.cc.

405{
406 return CLHEP::electron_mass_c2;
407}

◆ GetElectronOccupancy()

const G4ElectronOccupancy * G4DynamicParticle::GetElectronOccupancy ( ) const
inline

◆ GetKineticEnergy()

G4double G4DynamicParticle::GetKineticEnergy ( ) const
inline

Referenced by G4ParticleHPFinalState::adjust_final_state(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4eplusAnnihilation::AtRestDoIt(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadLeadBias::Bias(), G4ParticleHPInelasticCompFS::CompositeApply(), G4CrossSectionDataStore::ComputeCrossSection(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4RadioactiveDecay::DecayAnalog(), G4Decay::DecayIt(), G4AtimaFluctuations::Dispersion(), G4IonFluctuations::Dispersion(), G4mplIonisationModel::Dispersion(), G4mplIonisationWithDeltaModel::Dispersion(), G4PAIModel::Dispersion(), G4PAIPhotModel::Dispersion(), G4HadronicProcess::FillResult(), G4HadSecondary::G4HadSecondary(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4CrossSectionDataStore::GetCrossSection(), G4CrossSectionDataStore::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4ParticleHPJENDLHEData::GetCrossSection(), G4GammaConversionToMuons::GetCrossSectionPerAtom(), G4VEnergyLossProcess::GetDEDXDispersion(), G4ComponentBarNucleonNucleusXsc::GetElasticCrossSection(), G4NucleonNuclearCrossSection::GetElasticCrossSection(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetElasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetElasticGlauberGribov(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4ElectroNuclearCrossSection::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4GammaNuclearXS::GetElementCrossSection(), G4KokoulinMuonNuclearXS::GetElementCrossSection(), G4NeutronCaptureXS::GetElementCrossSection(), G4NeutronElasticXS::GetElementCrossSection(), G4NeutronElectronElXsc::GetElementCrossSection(), G4NeutronInelasticXS::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4ParticleInelasticXS::GetElementCrossSection(), G4PhotoNuclearCrossSection::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4NeutronElectronElXsc::GetElementNonRelXsc(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4HadronNucleonXsc::GetHyperonNucleonXscNS(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetInelasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetInelasticGlauberGribov(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4ComponentGGHadronNucleusXsc::GetIsoCrossSection(), G4CrossSectionHP::GetIsoCrossSection(), G4GammaNuclearXS::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4LENDCrossSection::GetIsoCrossSection(), G4NeutronCaptureXS::GetIsoCrossSection(), G4NeutronElasticXS::GetIsoCrossSection(), G4NeutronHPCaptureData::GetIsoCrossSection(), G4NeutronInelasticXS::GetIsoCrossSection(), G4ParticleHPElasticData::GetIsoCrossSection(), G4ParticleHPFissionData::GetIsoCrossSection(), G4ParticleHPInelasticData::GetIsoCrossSection(), G4ParticleHPThermalScatteringData::GetIsoCrossSection(), G4ParticleInelasticXS::GetIsoCrossSection(), G4PhotoNuclearCrossSection::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4HadronNucleonXsc::GetKaonNucleonXscGG(), G4InuclParticle::getKineticEnergy(), G4Decay::GetMeanFreePath(), G4GammaConversionToMuons::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4ComponentGGHadronNucleusXsc::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGHadronNucleusXsc::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4FastStep::Initialize(), G4ParticleChange::Initialize(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4ParticleHPJENDLHEData::IsApplicable(), G4ParticleHPThermalScatteringData::IsApplicable(), G4CrossSectionElastic::IsElementApplicable(), G4CrossSectionInelastic::IsElementApplicable(), G4ElNucleusSFcs::IsElementApplicable(), G4NeutronElectronElXsc::IsElementApplicable(), G4NeutronHPCaptureXS::IsElementApplicable(), G4NeutronHPFissionXS::IsElementApplicable(), G4ParticleHPBGGNucleonInelasticXS::IsElementApplicable(), G4CrossSectionHP::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4MuNeutrinoNucleusTotXsc::IsIsoApplicable(), G4ParticleHPBGGNucleonInelasticXS::IsIsoApplicable(), G4ParticleHPElasticData::IsIsoApplicable(), G4ParticleHPFissionData::IsIsoApplicable(), G4ParticleHPInelasticData::IsIsoApplicable(), G4ParticleHPThermalScatteringData::IsIsoApplicable(), G4TauNeutrinoNucleusTotXsc::IsIsoApplicable(), G4VEmModel::MaxSecondaryKinEnergy(), G4ReactionProduct::operator=(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4OpWLS2::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4MinEkineCuts::PostStepGetPhysicalInteractionLength(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4DipBustGenerator::SampleDirection(), G4Generator2BN::SampleDirection(), G4ModifiedMephi::SampleDirection(), G4ModifiedTsai::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4IonFluctuations::SampleFluctuations(), G4PAIModel::SampleFluctuations(), G4PAIPhotModel::SampleFluctuations(), G4UniversalFluctuation::SampleFluctuations(), G4ModifiedMephi::SamplePairDirections(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointPhotoElectricModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4DNABornExcitationModel1::SampleSecondaries(), G4DNABornExcitationModel2::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNACPA100ElasticModel::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADiracRMatrixExcitationModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMeltonAttachmentModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNAModelInterface::SampleSecondaries(), G4DNAPTBElasticModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNAQuinnPlasmonExcitationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARPWBAExcitationModel::SampleSecondaries(), G4DNARPWBAIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNATransformElectronModel::SampleSecondaries(), G4DNAUeharaScreenedRutherfordElasticModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4eeToHadronsMultiModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4EmMultiModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LEPTSAttachmentModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecElasticModel::SampleSecondaries(), G4MicroElecElasticModel_new::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4MicroElecLOPhononModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MuonToMuonPairProductionModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), G4PolarizedPhotoElectricModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4TDNAOneStepThermalizationModel< MODEL >::SampleSecondaries(), G4XrayRayleighModel::SampleSecondaries(), G4CrossSectionDataStore::SampleZandA(), G4hBetheBlochModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4IonYangFluctuationModel::TheValue(), and G4QAOLowEnergyLoss::TheValue().

◆ GetLogKineticEnergy()

G4double G4DynamicParticle::GetLogKineticEnergy ( ) const
inline

Referenced by G4TransportationWithMsc::AlongStepGetPhysicalInteractionLength(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4KokoulinMuonNuclearXS::GetElementCrossSection(), G4NeutronCaptureXS::GetElementCrossSection(), G4NeutronElasticXS::GetElementCrossSection(), G4NeutronInelasticXS::GetElementCrossSection(), G4ParticleInelasticXS::GetElementCrossSection(), G4CrossSectionHP::GetIsoCrossSection(), G4NeutronCaptureXS::GetIsoCrossSection(), G4NeutronElasticXS::GetIsoCrossSection(), G4NeutronInelasticXS::GetIsoCrossSection(), G4ParticleInelasticXS::GetIsoCrossSection(), G4VEmProcess::MeanFreePath(), G4VEnergyLossProcess::MeanFreePath(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), G4GammaGeneralProcess::PostStepGetPhysicalInteractionLength(), G4BetheHeitler5DModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4XrayRayleighModel::SampleSecondaries(), and G4CrossSectionDataStore::SampleZandA().

◆ GetMagneticMoment()

◆ GetMass()

◆ GetMomentum()

◆ GetMomentumDirection()

const G4ThreeVector & G4DynamicParticle::GetMomentumDirection ( ) const
inline

Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4ITTransportation::AlongStepGetPhysicalInteractionLength(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4DecayProducts::Boost(), G4ITTransportation::ComputeStep(), G4RadioactiveDecay::DecayAnalog(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4HadronicProcess::FillResult(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4XrayReflection::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4FastStep::Initialize(), G4ParticleChange::Initialize(), G4DecayProducts::IsChecked(), G4AnnihiToMuPair::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4MicroElecSurface::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpMieHG::PostStepDoIt(), G4OpRayleigh::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4UCNBoundaryProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4XrayReflection::PostStepDoIt(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4AngleDirect::SampleDirection(), G4DeltaAngle::SampleDirection(), G4DeltaAngleFreeScat::SampleDirection(), G4DipBustGenerator::SampleDirection(), G4Generator2BN::SampleDirection(), G4Generator2BS::SampleDirection(), G4ModifiedMephi::SampleDirection(), G4ModifiedTsai::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4PhotoElectricAngularGeneratorPolarized::SampleDirection(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4DipBustGenerator::SamplePairDirections(), G4ModifiedMephi::SamplePairDirections(), G4ModifiedTsai::SamplePairDirections(), G4VEmAngularDistribution::SamplePairDirections(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointPhotoElectricModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4DNABornExcitationModel1::SampleSecondaries(), G4DNABornExcitationModel2::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNACPA100ElasticModel::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADiracRMatrixExcitationModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNAPTBElasticModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNAQuinnPlasmonExcitationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARPWBAExcitationModel::SampleSecondaries(), G4DNARPWBAIonisationModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNAUeharaScreenedRutherfordElasticModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4IonParametrisedLossModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecElasticModel::SampleSecondaries(), G4MicroElecElasticModel_new::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4MicroElecLOPhononModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MuonToMuonPairProductionModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), G4PolarizedPhotoElectricModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), and G4XrayRayleighModel::SampleSecondaries().

◆ GetOccupancy()

G4int G4DynamicParticle::GetOccupancy ( G4int orbit) const
inline

◆ GetParticleDefinition()

◆ GetPDGcode()

G4int G4DynamicParticle::GetPDGcode ( ) const
inline

◆ GetPolarization()

◆ GetPreAssignedDecayProducts()

◆ GetPreAssignedDecayProperTime()

◆ GetPrimaryParticle()

G4PrimaryParticle * G4DynamicParticle::GetPrimaryParticle ( ) const
inline

◆ GetProperTime()

G4double G4DynamicParticle::GetProperTime ( ) const
inline

◆ GetSpin()

G4double G4DynamicParticle::GetSpin ( ) const
inline

◆ GetTotalEnergy()

G4double G4DynamicParticle::GetTotalEnergy ( ) const
inline

Referenced by G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4DecayProducts::Boost(), G4HadronicProcess::CheckResult(), G4PionDecayMakeSpin::DaughterPolarization(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4NeutrinoElectronNcXsc::GetElementCrossSection(), G4InuclParticle::getEnergy(), G4ChargeExchangeXS::GetIsoCrossSection(), G4ElNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4MuNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4TauNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4AnnihiToMuPair::GetMeanFreePath(), G4OpMieHG::GetMeanFreePath(), G4OpWLS2::GetMeanFreePath(), G4OpWLS::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4XrayReflection::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4NeutronElectronElXsc::GetRosenbluthXsc(), G4DecayProducts::IsChecked(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4NeutrinoElectronNcXsc::IsElementApplicable(), G4ReactionProduct::operator=(), G4SmartTrackStack::PopFromStack(), G4AnnihiToMuPair::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4XrayReflection::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4MaxTimeCuts::PostStepGetPhysicalInteractionLength(), G4SmartTrackStack::PushToStack(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4DeltaAngle::SampleDirection(), G4DeltaAngleFreeScat::SampleDirection(), G4Generator2BN::SampleDirection(), G4Generator2BS::SampleDirection(), and G4AdjointBremsstrahlungModel::SampleSecondaries().

◆ GetTotalMomentum()

G4double G4DynamicParticle::GetTotalMomentum ( ) const
inline

Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4FissionLibrary::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4DecayProducts::Boost(), G4Track::CalculateVelocityForOpticalPhoton(), G4ChargeExchangeProcess::GetElementCrossSection(), G4QuasiElasticChannel::GetFraction(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ChipsKaonMinusElasticXS::GetIsoCrossSection(), G4ChipsKaonMinusInelasticXS::GetIsoCrossSection(), G4ChipsKaonPlusElasticXS::GetIsoCrossSection(), G4ChipsKaonPlusInelasticXS::GetIsoCrossSection(), G4ChipsKaonZeroElasticXS::GetIsoCrossSection(), G4ChipsKaonZeroInelasticXS::GetIsoCrossSection(), G4ChipsNeutronElasticXS::GetIsoCrossSection(), G4ChipsNeutronInelasticXS::GetIsoCrossSection(), G4ChipsPionMinusElasticXS::GetIsoCrossSection(), G4ChipsPionMinusInelasticXS::GetIsoCrossSection(), G4ChipsPionPlusElasticXS::GetIsoCrossSection(), G4ChipsPionPlusInelasticXS::GetIsoCrossSection(), G4ChipsProtonElasticXS::GetIsoCrossSection(), G4ChipsProtonInelasticXS::GetIsoCrossSection(), G4Decay::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanFreePath(), G4OpAbsorption::GetMeanFreePath(), G4OpRayleigh::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4InuclParticle::getMomModule(), G4DecayProducts::IsChecked(), G4MicroElecSurface::PostStepDoIt(), G4OpAbsorption::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4Decay::PostStepGetPhysicalInteractionLength(), G4MaxTimeCuts::PostStepGetPhysicalInteractionLength(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4DeltaAngle::SampleDirection(), G4DeltaAngleFreeScat::SampleDirection(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4DiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElasticV2::ThetaLabToThetaCMS(), and G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS().

◆ GetTotalOccupancy()

G4int G4DynamicParticle::GetTotalOccupancy ( ) const
inline

◆ GetVerboseLevel()

G4int G4DynamicParticle::GetVerboseLevel ( ) const
inline

◆ operator delete()

void G4DynamicParticle::operator delete ( void * aDynamicParticle)
inline

◆ operator new()

void * G4DynamicParticle::operator new ( size_t )
inline

◆ operator!=()

G4bool G4DynamicParticle::operator!= ( const G4DynamicParticle & right) const

Definition at line 316 of file G4DynamicParticle.cc.

317{
318 return (this != (G4DynamicParticle*)&right);
319}

◆ operator=() [1/2]

G4DynamicParticle & G4DynamicParticle::operator= ( const G4DynamicParticle & right)

Definition at line 208 of file G4DynamicParticle.cc.

209{
210 if (this != &right) {
211 theMomentumDirection = right.theMomentumDirection;
212 theParticleDefinition = right.theParticleDefinition;
213 thePolarization = right.thePolarization;
214 theKineticEnergy = right.theKineticEnergy;
215 theProperTime = right.theProperTime;
216
217 theDynamicalMass = right.theDynamicalMass;
218 theDynamicalCharge = right.theDynamicalCharge;
219 theDynamicalSpin = right.theDynamicalSpin;
220 theDynamicalMagneticMoment = right.theDynamicalMagneticMoment;
221
222 delete theElectronOccupancy;
223 if (right.theElectronOccupancy != nullptr) {
224 theElectronOccupancy = new G4ElectronOccupancy(*right.theElectronOccupancy);
225 }
226 else {
227 theElectronOccupancy = nullptr;
228 }
229
230 // thePreAssignedDecayProducts must not be copied.
231 thePreAssignedDecayProducts = nullptr;
232 thePreAssignedDecayTime = -1.0;
233
234 verboseLevel = right.verboseLevel;
235
236 // Primary particle information must be preserved
237 //*** primaryParticle = right.primaryParticle;
238
239 thePDGcode = right.thePDGcode;
240 }
241 return *this;
242}

◆ operator=() [2/2]

G4DynamicParticle & G4DynamicParticle::operator= ( G4DynamicParticle && from)

Definition at line 244 of file G4DynamicParticle.cc.

245{
246 if (this != &from) {
247 theMomentumDirection = from.theMomentumDirection;
248 thePolarization = from.thePolarization;
249 theKineticEnergy = from.theKineticEnergy;
250 theProperTime = from.theProperTime;
251
252 theDynamicalMass = from.theDynamicalMass;
253 theDynamicalCharge = from.theDynamicalCharge;
254 theDynamicalSpin = from.theDynamicalSpin;
255 theDynamicalMagneticMoment = from.theDynamicalMagneticMoment;
256
257 delete theElectronOccupancy;
258 theElectronOccupancy = from.theElectronOccupancy;
259 from.theElectronOccupancy = nullptr;
260
261 // thePreAssignedDecayProducts must not be moved.
262 thePreAssignedDecayProducts = nullptr;
263 from.thePreAssignedDecayProducts = nullptr;
264 thePreAssignedDecayTime = -1.0;
265
266 theParticleDefinition = from.theParticleDefinition;
267 from.theParticleDefinition = nullptr;
268
269 verboseLevel = from.verboseLevel;
270
271 primaryParticle = from.primaryParticle;
272 from.primaryParticle = nullptr;
273
274 thePDGcode = from.thePDGcode;
275 }
276 return *this;
277}

◆ operator==()

G4bool G4DynamicParticle::operator== ( const G4DynamicParticle & right) const

Definition at line 311 of file G4DynamicParticle.cc.

312{
313 return (this == (G4DynamicParticle*)&right);
314}

◆ RemoveElectron()

void G4DynamicParticle::RemoveElectron ( G4int orbit,
G4int number = 1 )
inline

◆ Set4Momentum()

void G4DynamicParticle::Set4Momentum ( const G4LorentzVector & momentum)

Definition at line 346 of file G4DynamicParticle.cc.

347{
348 G4double pModule2 = momentum.vect().mag2();
349 if (pModule2 > 0.0) {
350 SetMomentumDirection(momentum.vect().unit());
351 const G4double totalenergy = momentum.t();
352 const G4double mass2 = totalenergy * totalenergy - pModule2;
353 const G4double PDGmass2 =
354 (theParticleDefinition->GetPDGMass()) * (theParticleDefinition->GetPDGMass());
355 if (mass2 < EnergyMRA2) {
356 theDynamicalMass = 0.;
357 }
358 else if (std::abs(PDGmass2 - mass2) > EnergyMRA2) {
359 theDynamicalMass = std::sqrt(mass2);
360 }
361 SetKineticEnergy(totalenergy - theDynamicalMass);
362 }
363 else {
364 SetMomentumDirection(1.0, 0.0, 0.0);
365 SetKineticEnergy(0.0);
366 }
367}
Hep3Vector vect() const

Referenced by G4BinaryLightIonReaction::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4DecayProducts::Boost(), G4ECDecay::DecayIt(), G4ITDecay::DecayIt(), G4DynamicParticle(), G4InuclParticle::G4InuclParticle(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4eeToHadronsModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), and G4InuclParticle::setMomentum().

◆ SetCharge() [1/2]

void G4DynamicParticle::SetCharge ( G4double charge)
inline

◆ SetCharge() [2/2]

void G4DynamicParticle::SetCharge ( G4int chargeInUnitOfEplus)
inline

◆ SetDefinition()

void G4DynamicParticle::SetDefinition ( const G4ParticleDefinition * aParticleDefinition)

Definition at line 279 of file G4DynamicParticle.cc.

280{
281 // remove preassigned decay
282 if (thePreAssignedDecayProducts != nullptr) {
283#ifdef G4VERBOSE
284 if (verboseLevel > 0) {
285 G4cout << " G4DynamicParticle::SetDefinition()::"
286 << "!!! Pre-assigned decay products is attached !!!! " << G4endl;
287 G4cout << "!!! New Definition is " << aParticleDefinition->GetParticleName() << " !!! "
288 << G4endl;
289 G4cout << "!!! Pre-assigned decay products will be deleted !!!! " << G4endl;
290 }
291#endif
292 delete thePreAssignedDecayProducts;
293 }
294 thePreAssignedDecayProducts = nullptr;
295
296 theParticleDefinition = aParticleDefinition;
297
298 // set Dynamic mass/charge
299 SetMass(theParticleDefinition->GetPDGMass());
300 theDynamicalCharge = theParticleDefinition->GetPDGCharge();
301 theDynamicalSpin = theParticleDefinition->GetPDGSpin();
302 theDynamicalMagneticMoment = theParticleDefinition->GetPDGMagneticMoment();
303
304 // Set electron orbits
305 if (theElectronOccupancy != nullptr) {
306 delete theElectronOccupancy;
307 theElectronOccupancy = nullptr;
308 }
309}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
void SetMass(G4double mass)
const G4String & GetParticleName() const

Referenced by G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4FissionLibrary::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4ParticleHPElasticFS::ApplyYourself(), G4ParticleHPFissionBaseFS::ApplyYourself(), G4ParticleHPFSFissionFS::ApplyYourself(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4ParticleHPInelasticBaseFS::BaseApply(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4ParticleHPInelasticCompFS::CompositeApply(), G4HadronicProcessStore::FindProcess(), G4ParticleHPFSFissionFS::GetPhotons(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4Nucleus::ReturnTargetParticle(), G4PAIPhotModel::SampleSecondaries(), G4InuclParticle::setDefinition(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), and G4TransportationWithMsc::StartTracking().

◆ SetKineticEnergy()

◆ SetMagneticMoment()

void G4DynamicParticle::SetMagneticMoment ( G4double magneticMoment)
inline

◆ SetMass()

void G4DynamicParticle::SetMass ( G4double mass)
inline

◆ SetMomentum()

◆ SetMomentumDirection() [1/2]

◆ SetMomentumDirection() [2/2]

void G4DynamicParticle::SetMomentumDirection ( G4double px,
G4double py,
G4double pz )
inline

◆ SetPDGcode()

void G4DynamicParticle::SetPDGcode ( G4int c)
inline

◆ SetPolarization() [1/2]

◆ SetPolarization() [2/2]

void G4DynamicParticle::SetPolarization ( G4double polX,
G4double polY,
G4double polZ )
inline

◆ SetPreAssignedDecayProducts()

◆ SetPreAssignedDecayProperTime()

void G4DynamicParticle::SetPreAssignedDecayProperTime ( G4double )
inline

◆ SetPrimaryParticle()

void G4DynamicParticle::SetPrimaryParticle ( G4PrimaryParticle * p)
inline

◆ SetProperTime()

void G4DynamicParticle::SetProperTime ( G4double )
inline

Referenced by G4ITDecay::DecayIt().

◆ SetSpin() [1/2]

void G4DynamicParticle::SetSpin ( G4double spin)
inline

◆ SetSpin() [2/2]

void G4DynamicParticle::SetSpin ( G4int spinInUnitOfHalfInteger)
inline

◆ SetVerboseLevel()

void G4DynamicParticle::SetVerboseLevel ( G4int value)
inline

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