Geant4 10.7.0
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 64 of file G4DynamicParticle.hh.

Constructor & Destructor Documentation

◆ G4DynamicParticle() [1/8]

G4DynamicParticle::G4DynamicParticle ( )

Definition at line 56 of file G4DynamicParticle.cc.

57 : theMomentumDirection(0.0,0.0,1.0),
58 thePolarization(0.0,0.0,0.0)
59{
60}

◆ G4DynamicParticle() [2/8]

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

Definition at line 63 of file G4DynamicParticle.cc.

67 : theMomentumDirection(aMomentumDirection),
68 thePolarization(0.0,0.0,0.0),
69 theParticleDefinition(aParticleDefinition),
70 theKineticEnergy(aKineticEnergy),
71 theDynamicalMass(aParticleDefinition->GetPDGMass()),
72 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
73 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
74 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
75{
76}
G4double GetPDGMagneticMoment() const
G4double GetPDGCharge() const

◆ G4DynamicParticle() [3/8]

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

Definition at line 104 of file G4DynamicParticle.cc.

107 : thePolarization(0.0,0.0,0.0),
108 theParticleDefinition(aParticleDefinition),
109 theDynamicalMass(aParticleDefinition->GetPDGMass()),
110 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
111 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
112 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
113{
114 SetMomentum(aParticleMomentum); // 3-dim momentum is given
115}
void SetMomentum(const G4ThreeVector &momentum)

◆ G4DynamicParticle() [4/8]

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

Definition at line 118 of file G4DynamicParticle.cc.

121 : thePolarization(0.0,0.0,0.0),
122 theParticleDefinition(aParticleDefinition),
123 theDynamicalMass(aParticleDefinition->GetPDGMass()),
124 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
125 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
126 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
127{
128 Set4Momentum(aParticleMomentum); // 4-momentum vector (Lorentz vector)
129}
void Set4Momentum(const G4LorentzVector &momentum)

◆ G4DynamicParticle() [5/8]

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

Definition at line 132 of file G4DynamicParticle.cc.

136 : thePolarization(0.0,0.0,0.0),
137 theParticleDefinition(aParticleDefinition),
138 theDynamicalMass(aParticleDefinition->GetPDGMass()),
139 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
140 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
141 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
142{
143 // total energy and 3-dim momentum are given
144 G4double pModule2 = aParticleMomentum.mag2();
145 if (pModule2 > 0.0)
146 {
147 G4double mass2 = totalEnergy*totalEnergy - pModule2;
148 G4double PDGmass2 = (aParticleDefinition->GetPDGMass())
149 * (aParticleDefinition->GetPDGMass());
150 SetMomentumDirection(aParticleMomentum.unit());
151 if (mass2 < EnergyMRA2)
152 {
153 theDynamicalMass = 0.;
154 SetKineticEnergy(totalEnergy);
155 }
156 else
157 {
158 if (std::abs(PDGmass2-mass2)>EnergyMRA2)
159 {
160 theDynamicalMass = std::sqrt(mass2);
161 SetKineticEnergy(totalEnergy-theDynamicalMass);
162 }
163 else
164 {
165 SetKineticEnergy(totalEnergy-theDynamicalMass);
166 }
167 }
168 }
169 else
170 {
171 SetMomentumDirection(1.0,0.0,0.0);
172 SetKineticEnergy(0.0);
173 }
174}
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 79 of file G4DynamicParticle.cc.

84 : theMomentumDirection(aMomentumDirection),
85 thePolarization(0.0,0.0,0.0),
86 theParticleDefinition(aParticleDefinition),
87 theKineticEnergy(aKineticEnergy),
88 theDynamicalMass(aParticleDefinition->GetPDGMass()),
89 theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
90 theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
91 theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment())
92{
93 if (std::abs(theDynamicalMass-dynamicalMass)
94 > EnergyMomentumRelationAllowance)
95 {
96 if (dynamicalMass>EnergyMomentumRelationAllowance)
97 theDynamicalMass= dynamicalMass;
98 else
99 theDynamicalMass= 0.0;
100 }
101}

◆ G4DynamicParticle() [7/8]

G4DynamicParticle::G4DynamicParticle ( const G4DynamicParticle right)

Definition at line 177 of file G4DynamicParticle.cc.

178 : theMomentumDirection(right.theMomentumDirection),
179 thePolarization(right.thePolarization),
180 theParticleDefinition(right.theParticleDefinition),
181 theElectronOccupancy(nullptr),
182 thePreAssignedDecayProducts(nullptr), // Don't copy preassignedDecayProducts
183 primaryParticle(right.primaryParticle),
184 theKineticEnergy(right.theKineticEnergy),
185 theLogKineticEnergy(right.theLogKineticEnergy),
186 theBeta(right.theBeta),
187 theProperTime(right.theProperTime),
188 theDynamicalMass(right.theDynamicalMass),
189 theDynamicalCharge(right.theDynamicalCharge),
190 theDynamicalSpin(right.theDynamicalSpin),
191 theDynamicalMagneticMoment(right.theDynamicalMagneticMoment),
192 thePreAssignedDecayTime(-1.0),
193 verboseLevel(right.verboseLevel),
194 thePDGcode(right.thePDGcode)
195{
196 if (right.theElectronOccupancy != nullptr)
197 {
198 theElectronOccupancy = new G4ElectronOccupancy(*right.theElectronOccupancy);
199 }
200}

◆ ~G4DynamicParticle()

G4DynamicParticle::~G4DynamicParticle ( )

Definition at line 232 of file G4DynamicParticle.cc.

233{
234 if (thePreAssignedDecayProducts != nullptr)
235 delete thePreAssignedDecayProducts;
236 thePreAssignedDecayProducts = nullptr;
237
238 if (theElectronOccupancy != nullptr)
239 delete theElectronOccupancy;
240 theElectronOccupancy = nullptr;
241}

◆ G4DynamicParticle() [8/8]

G4DynamicParticle::G4DynamicParticle ( G4DynamicParticle &&  from)

Definition at line 203 of file G4DynamicParticle.cc.

204 : theMomentumDirection(from.theMomentumDirection),
205 thePolarization(from.thePolarization),
206 theParticleDefinition(from.theParticleDefinition),
207 theElectronOccupancy(from.theElectronOccupancy),
208 thePreAssignedDecayProducts(nullptr), // Don't move preassignedDecayProducts
209 primaryParticle(from.primaryParticle),
210 theKineticEnergy(from.theKineticEnergy),
211 theLogKineticEnergy(from.theLogKineticEnergy),
212 theBeta(from.theBeta),
213 theProperTime(from.theProperTime),
214 theDynamicalMass(from.theDynamicalMass),
215 theDynamicalCharge(from.theDynamicalCharge),
216 theDynamicalSpin(from.theDynamicalSpin),
217 theDynamicalMagneticMoment(from.theDynamicalMagneticMoment),
218 thePreAssignedDecayTime(-1.0),
219 verboseLevel(from.verboseLevel),
220 thePDGcode(from.thePDGcode)
221{
222 // Release the data from the source object
223 from.theParticleDefinition = nullptr;
224 from.theElectronOccupancy = nullptr;
225 from.thePreAssignedDecayProducts = nullptr;
226 from.primaryParticle = nullptr;
227}

Member Function Documentation

◆ AddElectron()

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

◆ AllocateElectronOccupancy()

void G4DynamicParticle::AllocateElectronOccupancy ( )
protected

Definition at line 376 of file G4DynamicParticle.cc.

377{
378 if (G4IonTable::IsIon(theParticleDefinition))
379 {
380 // Only ions can have ElectronOccupancy
381 theElectronOccupancy = new G4ElectronOccupancy();
382
383 }
384 else
385 {
386 theElectronOccupancy = nullptr;
387 }
388}
static G4bool IsIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1302

◆ DumpInfo()

◆ Get4Momentum()

◆ GetBeta()

G4double G4DynamicParticle::GetBeta ( ) const
inline

◆ GetCharge()

◆ GetDefinition()

G4ParticleDefinition * G4DynamicParticle::GetDefinition ( ) const
inline

Referenced by G4Radioactivation::AddDeexcitationSpectrumForBiasMode(), G4RadioactiveDecay::AddDeexcitationSpectrumForBiasMode(), G4ParticleHPFinalState::adjust_final_state(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4ErrorEnergyLoss::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiNeutronExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4WilsonAbrasionModel::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LFission::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4RPGAntiKZeroInelastic::ApplyYourself(), G4RPGAntiLambdaInelastic::ApplyYourself(), G4RPGAntiNeutronInelastic::ApplyYourself(), G4RPGAntiOmegaMinusInelastic::ApplyYourself(), G4RPGAntiProtonInelastic::ApplyYourself(), G4RPGAntiSigmaMinusInelastic::ApplyYourself(), G4RPGAntiSigmaPlusInelastic::ApplyYourself(), G4RPGAntiXiMinusInelastic::ApplyYourself(), G4RPGAntiXiZeroInelastic::ApplyYourself(), G4RPGKMinusInelastic::ApplyYourself(), G4RPGKPlusInelastic::ApplyYourself(), G4RPGKZeroInelastic::ApplyYourself(), G4RPGLambdaInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4MuonMinusAtomicCapture::AtRestDoIt(), G4DecayWithSpin::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadLeadBias::Bias(), G4RPGInelastic::CalculateMomenta(), G4PrimaryTransformer::CheckDynamicParticle(), G4HadronicProcess::CheckResult(), G4CrossSectionDataStore::ComputeCrossSection(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4RadioactiveDecayBase::DecayAnalog(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4Radioactivation::DecayIt(), G4RadioactiveDecay::DecayIt(), G4RadioactiveDecayBase::DecayIt(), G4AtimaFluctuations::Dispersion(), G4BohrFluctuations::Dispersion(), G4UniversalFluctuation::Dispersion(), G4HadronicProcess::FillResult(), G4Track::G4Track(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4CrossSectionDataStore::GetCrossSection(), G4ParticleHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4InuclParticle::getDefinition(), G4HadronCrossSections::GetElasticCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElasticCrossSection(), G4NucleonNuclearCrossSection::GetElasticCrossSection(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetElasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetElasticGlauberGribov(), G4EMDissociationCrossSection::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4IonsSihverCrossSection::GetElementCrossSection(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4NeutrinoElectronNcXsc::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4CrossSectionPairGG::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4HadronElasticDataSet::GetElementCrossSection(), G4HadronInelasticDataSet::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4PiNuclearCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4RPGReaction::GetFinalStateNucleons(), G4QuasiElasticChannel::GetFraction(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4HadronNucleonXsc::GetHyperonNucleonXscNS(), G4HadronCrossSections::GetInelasticCrossSection(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetInelasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetInelasticGlauberGribov(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4ComponentGGHadronNucleusXsc::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4IonProtonCrossSection::GetIsoCrossSection(), G4MuNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4ElNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4HadronNucleonXsc::GetKaonNucleonXscGG(), G4MuonicAtomDecay::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4RadioactiveDecayBase::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanLifeTime(), G4Decay::GetMeanLifeTime(), G4RadioactiveDecay::GetMeanLifeTime(), G4RadioactiveDecayBase::GetMeanLifeTime(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGHadronNucleusXsc::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4ComponentGGHadronNucleusXsc::GetRatioSD(), G4Scintillation::GetScintillationYieldByParticleType(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4ParticleHPThermalScatteringData::IsApplicable(), G4EMDissociationCrossSection::IsElementApplicable(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4NeutrinoElectronNcXsc::IsElementApplicable(), G4NeutronElectronElXsc::IsElementApplicable(), G4IonsKoxCrossSection::IsElementApplicable(), G4IonsShenCrossSection::IsElementApplicable(), G4IonsSihverCrossSection::IsElementApplicable(), G4ProtonInelasticCrossSection::IsElementApplicable(), G4TripathiCrossSection::IsElementApplicable(), G4GeneralSpaceNNCrossSection::IsElementApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4QAOLowEnergyLoss::IsInCharge(), G4MuNeutrinoNucleusTotXsc::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4ParticleHPCaptureData::IsIsoApplicable(), G4ParticleHPElasticData::IsIsoApplicable(), G4ParticleHPFissionData::IsIsoApplicable(), G4ParticleHPInelasticData::IsIsoApplicable(), G4ParticleHPThermalScatteringData::IsIsoApplicable(), G4LightMedia::KaonPlusExchange(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4LightMedia::NeutronExchange(), G4LightMedia::OmegaMinusExchange(), G4ReactionProduct::operator=(), G4LightMedia::PionPlusExchange(), G4NeutrinoElectronProcess::PostStepDoIt(), G4DecayWithSpin::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4Decay::PostStepGetPhysicalInteractionLength(), G4LightMedia::ProtonExchange(), G4RPGStrangeProduction::ReactionStage(), G4ModifiedMephi::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4PAIModel::SampleFluctuations(), G4PAIPhotModel::SampleFluctuations(), G4UniversalFluctuation::SampleFluctuations(), G4ModifiedMephi::SamplePairDirections(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), G4QuasiElasticChannel::Scatter(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), G4GoudsmitSaundersonMscModel::StartTracking(), G4UrbanAdjointMscModel::StartTracking(), G4UrbanMscModel::StartTracking(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElasticV2::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElasticV2::ThetaLabToThetaCMS(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), G4hIonEffChargeSquare::TheValue(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

◆ GetElectronMass()

G4double G4DynamicParticle::GetElectronMass ( ) const
protected

Definition at line 488 of file G4DynamicParticle.cc.

489{
490 return CLHEP::electron_mass_c2;
491}

◆ 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(), G4WilsonAbrasionModel::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4eplusAnnihilation::AtRestDoIt(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadLeadBias::Bias(), G4ParticleHPInelasticCompFS::CompositeApply(), G4CrossSectionDataStore::ComputeCrossSection(), G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4RadioactiveDecayBase::DecayAnalog(), G4Decay::DecayIt(), G4RadioactiveDecay::DecayIt(), G4mplIonisationModel::Dispersion(), G4mplIonisationWithDeltaModel::Dispersion(), G4AtimaFluctuations::Dispersion(), G4IonFluctuations::Dispersion(), G4PAIModel::Dispersion(), G4PAIPhotModel::Dispersion(), G4BohrFluctuations::Dispersion(), G4HadronicProcess::FillResult(), G4HadSecondary::G4HadSecondary(), G4HadronCrossSections::GetCaptureCrossSection(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4CrossSectionDataStore::GetCrossSection(), G4ParticleHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4ParticleHPJENDLHEData::GetCrossSection(), G4GammaConversionToMuons::GetCrossSectionPerAtom(), G4VEnergyLossProcess::GetDEDXDispersion(), G4HadronCrossSections::GetElasticCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElasticCrossSection(), G4NucleonNuclearCrossSection::GetElasticCrossSection(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetElasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetElasticGlauberGribov(), G4EMDissociationCrossSection::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4NeutronElectronElXsc::GetElementCrossSection(), G4NeutronInelasticCrossSection::GetElementCrossSection(), G4PhotoNuclearCrossSection::GetElementCrossSection(), G4ProtonInelasticCrossSection::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4NeutronCaptureXS::GetElementCrossSection(), G4NeutronElasticXS::GetElementCrossSection(), G4NeutronInelasticXS::GetElementCrossSection(), G4ElectroNuclearCrossSection::GetElementCrossSection(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4GammaNuclearXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4CrossSectionPairGG::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4ParticleInelasticXS::GetElementCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4HadronElasticDataSet::GetElementCrossSection(), G4HadronInelasticDataSet::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4KokoulinMuonNuclearXS::GetElementCrossSection(), G4PiNuclearCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4NeutronElectronElXsc::GetElementNonRelXsc(), G4HadronCrossSections::GetFissionCrossSection(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4HadronNucleonXsc::GetHyperonNucleonXscNS(), G4HadronCrossSections::GetInelasticCrossSection(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4ComponentGGHadronNucleusXsc::GetInelasticGlauberGribov(), G4ComponentGGNuclNuclXsc::GetInelasticGlauberGribov(), G4NeutronCaptureXS::GetIsoCrossSection(), G4NeutronInelasticXS::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4ComponentGGHadronNucleusXsc::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4ParticleInelasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4IonProtonCrossSection::GetIsoCrossSection(), G4LENDCrossSection::GetIsoCrossSection(), G4ParticleHPCaptureData::GetIsoCrossSection(), G4ParticleHPElasticData::GetIsoCrossSection(), G4ParticleHPFissionData::GetIsoCrossSection(), G4ParticleHPInelasticData::GetIsoCrossSection(), G4ParticleHPThermalScatteringData::GetIsoCrossSection(), G4PhotoNuclearCrossSection::GetIsoCrossSection(), G4HadronNucleonXsc::GetKaonNucleonXscGG(), G4InuclParticle::getKineticEnergy(), G4AnnihiToMuPair::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4GammaConversionToMuons::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4RadioactiveDecayBase::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4RadioactiveDecayBase::GetMeanLifeTime(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGHadronNucleusXsc::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4ComponentGGHadronNucleusXsc::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4FastStep::Initialize(), G4ParticleChange::Initialize(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4ParticleHPJENDLHEData::IsApplicable(), G4ParticleHPThermalScatteringData::IsApplicable(), G4NeutronElectronElXsc::IsElementApplicable(), G4CrossSectionElastic::IsElementApplicable(), G4CrossSectionInelastic::IsElementApplicable(), G4CrossSectionPairGG::IsElementApplicable(), G4ParticleHPBGGNucleonInelasticXS::IsElementApplicable(), G4IonsSihverCrossSection::IsElementApplicable(), G4NeutronInelasticCrossSection::IsElementApplicable(), G4TripathiCrossSection::IsElementApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4ParticleHPBGGNucleonInelasticXS::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4ParticleHPCaptureData::IsIsoApplicable(), G4ParticleHPElasticData::IsIsoApplicable(), G4ParticleHPFissionData::IsIsoApplicable(), G4ParticleHPInelasticData::IsIsoApplicable(), G4ParticleHPThermalScatteringData::IsIsoApplicable(), G4VEmModel::MaxSecondaryKinEnergy(), G4ReactionProduct::operator=(), G4VEmProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4AnnihiToMuPair::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4OpWLS2::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4MinEkineCuts::PostStepGetPhysicalInteractionLength(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4ModifiedMephi::SampleDirection(), G4Generator2BN::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4DipBustGenerator::SampleDirection(), G4ModifiedTsai::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(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4DNABornExcitationModel1::SampleSecondaries(), G4DNABornExcitationModel2::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNACPA100ElasticModel::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMeltonAttachmentModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4TDNAOneStepThermalizationModel< MODEL >::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNATransformElectronModel::SampleSecondaries(), G4DNAUeharaScreenedRutherfordElasticModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricGDModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecElasticModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4XrayRayleighModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4HeatedKleinNishinaCompton::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MicroElecElasticModel_new::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4MicroElecLOPhononModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4EmMultiModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4eeToHadronsMultiModel::SampleSecondaries(), G4LEPTSAttachmentModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4DNAPTBElasticModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNAModelInterface::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4CrossSectionDataStore::SampleZandA(), G4hBetheBlochModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4IonYangFluctuationModel::TheValue(), and G4QAOLowEnergyLoss::TheValue().

◆ GetLogKineticEnergy()

G4double G4DynamicParticle::GetLogKineticEnergy ( ) const
inline

◆ GetMagneticMoment()

◆ GetMass()

G4double G4DynamicParticle::GetMass ( ) const
inline

Referenced by G4CoupledTransportation::AlongStepDoIt(), G4Transportation::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4DecayProducts::Boost(), G4HadronicProcess::CheckResult(), G4FieldTrackUpdator::CreateFieldTrack(), G4PionDecayMakeSpin::DaughterPolarization(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4PAIModel::Dispersion(), G4PAIPhotModel::Dispersion(), G4HadronicProcess::FillResult(), G4IonsKoxCrossSection::GetElementCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4InuclParticle::getMass(), G4MuonicAtomDecay::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4RadioactiveDecayBase::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4RadioactiveDecayBase::GetMeanLifeTime(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4ParticleChange::Initialize(), G4DecayProducts::IsChecked(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4Decay::PostStepGetPhysicalInteractionLength(), G4VPartonStringModel::Scatter(), G4SteppingManager::SetInitialStep(), G4hBetheBlochModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4IonYangFluctuationModel::TheValue(), G4FieldTrackUpdator::Update(), and G4ParticleChangeForTransport::UpdateStepForAlongStep().

◆ GetMomentum()

◆ GetMomentumDirection()

const G4ThreeVector & G4DynamicParticle::GetMomentumDirection ( ) const
inline

Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4ITTransportation::AlongStepGetPhysicalInteractionLength(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4DecayProducts::Boost(), G4ITTransportation::ComputeStep(), G4RadioactiveDecayBase::DecayAnalog(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4RadioactiveDecay::DecayIt(), G4HadronicProcess::FillResult(), G4PrimaryTransformer::GenerateSingleTrack(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4FastStep::Initialize(), G4ParticleChange::Initialize(), G4DecayProducts::IsChecked(), G4NeutrinoElectronProcess::PostStepDoIt(), G4UCNBoundaryProcess::PostStepDoIt(), G4AnnihiToMuPair::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4MicroElecSurface::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpMieHG::PostStepDoIt(), G4OpRayleigh::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4PhotoElectricAngularGeneratorSimple::SampleDirection(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4PhotoElectricAngularGeneratorPolarized::SampleDirection(), G4ModifiedMephi::SampleDirection(), G4DeltaAngle::SampleDirection(), G4DeltaAngleFreeScat::SampleDirection(), G4Generator2BN::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4Generator2BS::SampleDirection(), G4DipBustGenerator::SampleDirection(), G4ModifiedTsai::SampleDirection(), G4AngleDirect::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4VEmAngularDistribution::SamplePairDirections(), G4ModifiedMephi::SamplePairDirections(), G4DipBustGenerator::SamplePairDirections(), G4ModifiedTsai::SamplePairDirections(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointPhotoElectricModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4DNABornExcitationModel1::SampleSecondaries(), G4DNABornExcitationModel2::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNACPA100ElasticModel::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAIonElasticModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNAUeharaScreenedRutherfordElasticModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4JAEAElasticScatteringModel::SampleSecondaries(), G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricGDModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecElasticModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4XrayRayleighModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4mplIonisationWithDeltaModel::SampleSecondaries(), G4MicroElecElasticModel_new::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4MicroElecLOPhononModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4IonParametrisedLossModel::SampleSecondaries(), G4DNAPTBElasticModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), and G4BetheHeitler5DModel::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(), G4LFission::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4DecayProducts::Boost(), G4HadronicProcess::CheckResult(), G4PionDecayMakeSpin::DaughterPolarization(), G4Decay::DecayIt(), G4UnknownDecay::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4NeutrinoElectronNcXsc::GetElementCrossSection(), G4InuclParticle::getEnergy(), G4MuNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4ElNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4OpMieHG::GetMeanFreePath(), G4OpWLS::GetMeanFreePath(), G4OpWLS2::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4NeutronElectronElXsc::GetRosenbluthXsc(), G4DecayProducts::IsChecked(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4NeutrinoElectronNcXsc::IsElementApplicable(), G4ReactionProduct::operator=(), G4SmartTrackStack::PopFromStack(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::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(), G4LEHadronProtonElastic::ApplyYourself(), G4LFission::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4DecayProducts::Boost(), G4Track::CalculateVelocityForOpticalPhoton(), G4MuonDecayChannelWithSpin::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4TauLeptonicDecayChannel::DecayIt(), 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(), G4MuonicAtomDecay::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4OpAbsorption::GetMeanFreePath(), G4OpRayleigh::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4RadioactiveDecayBase::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4InuclParticle::getMomModule(), G4DecayProducts::IsChecked(), G4MicroElecSurface::PostStepDoIt(), G4OpAbsorption::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4MaxTimeCuts::PostStepGetPhysicalInteractionLength(), G4UserSpecialCuts::PostStepGetPhysicalInteractionLength(), G4Decay::PostStepGetPhysicalInteractionLength(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4DeltaAngle::SampleDirection(), G4DeltaAngleFreeScat::SampleDirection(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BraggIonModel::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 368 of file G4DynamicParticle.cc.

369{
370 return (this != (G4DynamicParticle *) &right);
371}

◆ operator=() [1/2]

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

Definition at line 246 of file G4DynamicParticle.cc.

247{
248 if (this != &right)
249 {
250 theMomentumDirection = right.theMomentumDirection;
251 theParticleDefinition = right.theParticleDefinition;
252 thePolarization = right.thePolarization;
253 theKineticEnergy = right.theKineticEnergy;
254 theProperTime = right.theProperTime;
255
256 theDynamicalMass = right.theDynamicalMass;
257 theDynamicalCharge = right.theDynamicalCharge;
258 theDynamicalSpin = right.theDynamicalSpin;
259 theDynamicalMagneticMoment = right.theDynamicalMagneticMoment;
260
261 if (theElectronOccupancy != nullptr) { delete theElectronOccupancy; }
262 if (right.theElectronOccupancy != nullptr)
263 {
264 theElectronOccupancy =
265 new G4ElectronOccupancy(*right.theElectronOccupancy);
266 }
267 else
268 {
269 theElectronOccupancy = nullptr;
270 }
271
272 // thePreAssignedDecayProducts must not be copied.
273 thePreAssignedDecayProducts = nullptr;
274 thePreAssignedDecayTime = -1.0;
275
276 verboseLevel = right.verboseLevel;
277
278 // Primary particle information must be preserved
279 //*** primaryParticle = right.primaryParticle;
280
281 thePDGcode = right.thePDGcode;
282 }
283 return *this;
284}

◆ operator=() [2/2]

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

Definition at line 287 of file G4DynamicParticle.cc.

288{
289 if (this != &from)
290 {
291 theMomentumDirection = from.theMomentumDirection;
292 thePolarization = from.thePolarization;
293 theKineticEnergy = from.theKineticEnergy;
294 theProperTime = from.theProperTime;
295
296 theDynamicalMass = from.theDynamicalMass;
297 theDynamicalCharge = from.theDynamicalCharge;
298 theDynamicalSpin = from.theDynamicalSpin;
299 theDynamicalMagneticMoment = from.theDynamicalMagneticMoment;
300
301 if (theElectronOccupancy != nullptr) { delete theElectronOccupancy; }
302 theElectronOccupancy = from.theElectronOccupancy;
303 from.theElectronOccupancy = nullptr;
304
305 // thePreAssignedDecayProducts must not be moved.
306 thePreAssignedDecayProducts = nullptr;
307 from.thePreAssignedDecayProducts = nullptr;
308 thePreAssignedDecayTime = -1.0;
309
310 theParticleDefinition = from.theParticleDefinition;
311 from.theParticleDefinition = nullptr;
312
313 verboseLevel = from.verboseLevel;
314
315 primaryParticle = from.primaryParticle;
316 from.primaryParticle = nullptr;
317
318 thePDGcode = from.thePDGcode;
319 }
320 return *this;
321}

◆ operator==()

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

Definition at line 362 of file G4DynamicParticle.cc.

363{
364 return (this == (G4DynamicParticle *) &right);
365}

◆ RemoveElectron()

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

◆ Set4Momentum()

void G4DynamicParticle::Set4Momentum ( const G4LorentzVector momentum)

Definition at line 410 of file G4DynamicParticle.cc.

411{
412 G4double pModule2 = momentum.vect().mag2();
413 if (pModule2>0.0)
414 {
415 SetMomentumDirection(momentum.vect().unit());
416 const G4double totalenergy = momentum.t();
417 const G4double mass2 = totalenergy*totalenergy - pModule2;
418 const G4double PDGmass2 = (theParticleDefinition->GetPDGMass())
419 * (theParticleDefinition->GetPDGMass());
420 if (mass2 < EnergyMRA2)
421 {
422 theDynamicalMass = 0.;
423 }
424 else if (std::abs(PDGmass2-mass2)>EnergyMRA2)
425 {
426 theDynamicalMass = std::sqrt(mass2);
427 }
428 SetKineticEnergy(totalenergy-theDynamicalMass);
429 }
430 else
431 {
432 SetMomentumDirection(1.0,0.0,0.0);
433 SetKineticEnergy(0.0);
434 }
435}
Hep3Vector vect() const

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

◆ SetCharge() [1/2]

◆ SetCharge() [2/2]

void G4DynamicParticle::SetCharge ( G4int  chargeInUnitOfEplus)
inline

◆ SetDefinition()

void G4DynamicParticle::SetDefinition ( const G4ParticleDefinition aParticleDefinition)

Definition at line 324 of file G4DynamicParticle.cc.

326{
327 // remove preassigned decay
328 if (thePreAssignedDecayProducts != nullptr)
329 {
330#ifdef G4VERBOSE
331 if (verboseLevel>0)
332 {
333 G4cout << " G4DynamicParticle::SetDefinition()::"
334 << "!!! Pre-assigned decay products is attached !!!! " << G4endl;
335 G4cout << "!!! New Definition is "
336 << aParticleDefinition->GetParticleName() << " !!! " << G4endl;
337 G4cout << "!!! Pre-assigned decay products will be deleted !!!! "
338 << G4endl;
339 }
340#endif
341 delete thePreAssignedDecayProducts;
342 }
343 thePreAssignedDecayProducts = nullptr;
344
345 theParticleDefinition = aParticleDefinition;
346
347 // set Dynamic mass/charge
348 SetMass(theParticleDefinition->GetPDGMass());
349 theDynamicalCharge = theParticleDefinition->GetPDGCharge();
350 theDynamicalSpin = theParticleDefinition->GetPDGSpin();
351 theDynamicalMagneticMoment = theParticleDefinition->GetPDGMagneticMoment();
352
353 // Set electron orbits
354 if (theElectronOccupancy != nullptr)
355 {
356 delete theElectronOccupancy;
357 theElectronOccupancy = nullptr;
358 }
359}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void SetMass(G4double mass)
const G4String & GetParticleName() const

Referenced by G4ParticleHPFinalState::adjust_final_state(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiNeutronExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4LENDCapture::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4ParticleHPElasticFS::ApplyYourself(), G4ParticleHPFissionBaseFS::ApplyYourself(), G4ParticleHPFSFissionFS::ApplyYourself(), G4AntiNeutronAnnihilationAtRest::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4ParticleHPInelasticBaseFS::BaseApply(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4ParticleHPInelasticCompFS::CompositeApply(), G4HadronicProcessStore::FindProcess(), G4ParticleHPGamma::GetDecayGammas(), G4ParticleHPFSFissionFS::GetPhotons(), G4LightMedia::KaonPlusExchange(), G4LightMedia::KaonZeroLongExchange(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4LightMedia::NeutronExchange(), G4LightMedia::OmegaMinusExchange(), G4LightMedia::PionPlusExchange(), G4HadronicProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4LightMedia::ProtonExchange(), G4Nucleus::ReturnTargetParticle(), G4PAIPhotModel::SampleSecondaries(), G4InuclParticle::setDefinition(), G4RPGInelastic::SetUpChange(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

◆ SetKineticEnergy()

◆ SetMagneticMoment()

void G4DynamicParticle::SetMagneticMoment ( G4double  magneticMoment)
inline

◆ SetMass()

◆ 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()

◆ 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: