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 G4DynamicParticle &right)
 ~G4DynamicParticle ()
G4DynamicParticleoperator= (const G4DynamicParticle &right)
G4int operator== (const G4DynamicParticle &right) const
G4int operator!= (const G4DynamicParticle &right) const
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
void SetKineticEnergy (G4double aEnergy)
G4double GetProperTime () const
void SetProperTime (G4double)
const G4ThreeVectorGetPolarization () const
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

Protected Attributes

G4ThreeVector theMomentumDirection
const G4ParticleDefinitiontheParticleDefinition
G4ThreeVector thePolarization
G4double theKineticEnergy
G4double theProperTime
G4double theDynamicalMass
G4double theDynamicalCharge
G4double theDynamicalSpin
G4double theDynamicalMagneticMoment
G4ElectronOccupancytheElectronOccupancy
G4DecayProductsthePreAssignedDecayProducts
G4double thePreAssignedDecayTime
G4int verboseLevel
G4PrimaryParticleprimaryParticle
G4int thePDGcode


Detailed Description

Definition at line 73 of file G4DynamicParticle.hh.


Constructor & Destructor Documentation

G4DynamicParticle::G4DynamicParticle (  ) 

Definition at line 79 of file G4DynamicParticle.cc.

00079                                     :
00080                    theMomentumDirection(0.0,0.0,1.0),
00081                    theParticleDefinition(0),
00082                    theKineticEnergy(0.0),
00083                    theProperTime(0.0),
00084                    theDynamicalMass(0.0),
00085                    theDynamicalCharge(0.0),
00086                    theDynamicalSpin(0.0),
00087                    theDynamicalMagneticMoment(0.0),
00088                    theElectronOccupancy(0),
00089                    thePreAssignedDecayProducts(0),
00090                    thePreAssignedDecayTime(-1.0),
00091                    verboseLevel(1),
00092                    primaryParticle(0),
00093                    thePDGcode(0) {}

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

Definition at line 98 of file G4DynamicParticle.cc.

00100                                                              :
00101                    theMomentumDirection(aMomentumDirection),
00102                    theParticleDefinition(aParticleDefinition),
00103                    theKineticEnergy(aKineticEnergy),
00104                    theProperTime(0.0),
00105                    theDynamicalMass(aParticleDefinition->GetPDGMass()),
00106                    theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
00107                    theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
00108                    theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
00109                    theElectronOccupancy(0),
00110                    thePreAssignedDecayProducts(0),
00111                    thePreAssignedDecayTime(-1.0),
00112                    verboseLevel(1),
00113                    primaryParticle(0),
00114                    thePDGcode(0) {}

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

Definition at line 117 of file G4DynamicParticle.cc.

References SetMomentum().

00118                                                                             :
00119                    theParticleDefinition(aParticleDefinition),
00120                    theKineticEnergy(0.0),
00121                    theProperTime(0.0),
00122                    theDynamicalMass(aParticleDefinition->GetPDGMass()),
00123                    theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
00124                    theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
00125                    theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
00126                    theElectronOccupancy(0),
00127                    thePreAssignedDecayProducts(0),
00128                    thePreAssignedDecayTime(-1.0),
00129                    verboseLevel(1),
00130                    primaryParticle(0),
00131                    thePDGcode(0)
00132 {
00133   // 3-dim momentum is given
00134   SetMomentum(aParticleMomentum);
00135 }

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

Definition at line 138 of file G4DynamicParticle.cc.

References Set4Momentum().

00139                                                                                 :
00140                    theParticleDefinition(aParticleDefinition),
00141                    theKineticEnergy(0.0),
00142                    theProperTime(0.0),
00143                    theDynamicalMass(aParticleDefinition->GetPDGMass()),
00144                    theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
00145                    theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
00146                    theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
00147                    theElectronOccupancy(0),
00148                    thePreAssignedDecayProducts(0),
00149                    thePreAssignedDecayTime(-1.0),
00150                    verboseLevel(1),
00151                    primaryParticle(0),
00152                    thePDGcode(0)
00153 {
00154   // 4-momentum vector (Lorentz vecotr) is given
00155   Set4Momentum(aParticleMomentum);
00156 }

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

Definition at line 158 of file G4DynamicParticle.cc.

References SetKineticEnergy(), SetMomentum(), SetMomentumDirection(), and theDynamicalMass.

00160                                                                             :
00161                    theParticleDefinition(aParticleDefinition),
00162                    theKineticEnergy(0.0),
00163                    theProperTime(0.0),
00164                    theDynamicalMass(aParticleDefinition->GetPDGMass()),
00165                    theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
00166                    theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
00167                    theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
00168                    theElectronOccupancy(0),
00169                    thePreAssignedDecayProducts(0),
00170                    thePreAssignedDecayTime(-1.0),
00171                    verboseLevel(1),
00172                    primaryParticle(0),
00173                    thePDGcode(0)
00174 {
00175   // total energy and 3-dim momentum are given
00176   G4double pModule2 = aParticleMomentum.mag2();
00177   if (pModule2>0.0) {
00178     G4double mass2 = totalEnergy*totalEnergy - pModule2;
00179     if(mass2 < EnergyMomentumRelationAllowance*EnergyMomentumRelationAllowance) {
00180       theDynamicalMass = 0.;
00181       SetMomentumDirection(aParticleMomentum.unit());
00182       SetKineticEnergy(totalEnergy);
00183     } else {
00184       theDynamicalMass = std::sqrt(mass2);
00185       SetMomentum(aParticleMomentum);
00186     }
00187   } else {
00188     SetMomentumDirection(1.0,0.0,0.0);
00189     SetKineticEnergy(0.0);
00190   }
00191 }

G4DynamicParticle::G4DynamicParticle ( const G4DynamicParticle right  ) 

Definition at line 194 of file G4DynamicParticle.cc.

References theElectronOccupancy.

G4DynamicParticle::~G4DynamicParticle (  ) 

Definition at line 220 of file G4DynamicParticle.cc.

References theElectronOccupancy, and thePreAssignedDecayProducts.

00220                                       {
00221 
00222   //  delete thePreAssignedDecayProducts
00223   if (thePreAssignedDecayProducts != 0) delete thePreAssignedDecayProducts;
00224   thePreAssignedDecayProducts = 0;
00225 
00226   if (theElectronOccupancy != 0) delete theElectronOccupancy;
00227   theElectronOccupancy =0;
00228 }


Member Function Documentation

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

Definition at line 86 of file G4DynamicParticle.icc.

References G4ElectronOccupancy::AddElectron(), AllocateElectronOccupancy(), GetElectronMass(), CLHEP::detail::n, theDynamicalCharge, theDynamicalMass, and theElectronOccupancy.

Referenced by G4PrimaryTransformer::GenerateSingleTrack().

00087 {
00088   if ( theElectronOccupancy == 0) AllocateElectronOccupancy();
00089   if ( theElectronOccupancy != 0) { 
00090     G4int n = theElectronOccupancy->AddElectron(orbit, number );
00091     theDynamicalCharge -= CLHEP::eplus * n;
00092     theDynamicalMass += GetElectronMass() * n;
00093   }
00094 }

void G4DynamicParticle::AllocateElectronOccupancy (  )  [protected]

Definition at line 320 of file G4DynamicParticle.cc.

References GetDefinition(), G4IonTable::IsIon(), and theElectronOccupancy.

Referenced by AddElectron(), and RemoveElectron().

00321 {
00322   const G4ParticleDefinition* particle = GetDefinition();
00323 
00324   if (G4IonTable::IsIon(particle)) {
00325     // Only ions can have ElectronOccupancy
00326     theElectronOccupancy = new G4ElectronOccupancy();
00327 
00328   } else {
00329     theElectronOccupancy = 0;
00330 
00331   }
00332 }

void G4DynamicParticle::DumpInfo ( G4int  mode = 0  )  const

Definition at line 404 of file G4DynamicParticle.cc.

Referenced by G4VRestContinuousProcess::AlongStepGetPhysicalInteractionLength(), G4VRestContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength(), G4VContinuousProcess::AlongStepGetPhysicalInteractionLength(), G4VContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength(), G4IVContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength(), G4WilsonAbrasionModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4VRestProcess::AtRestGetPhysicalInteractionLength(), G4VRestDiscreteProcess::AtRestGetPhysicalInteractionLength(), G4VRestContinuousProcess::AtRestGetPhysicalInteractionLength(), G4VRestContinuousDiscreteProcess::AtRestGetPhysicalInteractionLength(), G4VITRestProcess::AtRestGetPhysicalInteractionLength(), G4VITRestDiscreteProcess::AtRestGetPhysicalInteractionLength(), G4ProtonAntiProtonAtRestChips::AtRestGetPhysicalInteractionLength(), G4PionMinusNuclearAtRestChips::AtRestGetPhysicalInteractionLength(), G4PionMinusAbsorptionAtRest::AtRestGetPhysicalInteractionLength(), G4NeutronCaptureAtRest::AtRestGetPhysicalInteractionLength(), G4KaonMinusAbsorption::AtRestGetPhysicalInteractionLength(), G4IVRestDiscreteProcess::AtRestGetPhysicalInteractionLength(), G4AntiProtonAnnihilationAtRest::AtRestGetPhysicalInteractionLength(), G4AntiNeutronAnnihilationAtRest::AtRestGetPhysicalInteractionLength(), G4DecayProducts::DumpInfo(), G4VRestDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4VRestContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4VITRestDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4VDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4VContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength(), G4DNASecondOrderReaction::PostStepGetPhysicalInteractionLength(), and G4Decay::PostStepGetPhysicalInteractionLength().

00405 {
00406   return;
00407 }

G4LorentzVector G4DynamicParticle::Get4Momentum (  )  const [inline]

Definition at line 174 of file G4DynamicParticle.icc.

References theDynamicalMass, theKineticEnergy, and theMomentumDirection.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4WilsonAbrasionModel::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4MuMinusCapturePrecompound::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4BertiniEvaporation::BreakItUp(), G4AblaEvaporation::BreakItUp(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4NeutronHPInelasticCompFS::CompositeApply(), G4KineticTrack::Decay(), G4TauLeptonicDecayChannel::DecayIt(), G4NuclearDecayChannel::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4HadronicProcess::FillResult(), G4TripathiLightCrossSection::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4InuclParticle::getMomentum(), G4QGSModel< ParticipantType >::Init(), G4HadProjectile::Initialise(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4HeatedKleinNishinaCompton::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), G4QuasiElasticChannel::Scatter(), G4ProjectileDiffractiveChannel::Scatter(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElastic::ThetaLabToThetaCMS(), and G4ReactionKinematics::TwoBodyScattering().

00175 {       
00176   G4double mass      = theDynamicalMass;
00177   G4double energy    = theKineticEnergy;
00178   G4double momentum  = std::sqrt(energy*energy+2.0*mass*energy);
00179   G4LorentzVector    p4( theMomentumDirection.x()*momentum,
00180                          theMomentumDirection.y()*momentum,
00181                          theMomentumDirection.z()*momentum,
00182                          energy+mass);
00183   return p4;
00184 }

G4double G4DynamicParticle::GetCharge (  )  const [inline]

Definition at line 108 of file G4DynamicParticle.icc.

References theDynamicalCharge.

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4ITTransportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4ITStepProcessor::ApplyProductionCut(), G4BraggIonGasModel::ChargeSquareRatio(), G4BetheBlochIonGasModel::ChargeSquareRatio(), G4FieldTrackUpdator::CreateFieldTrack(), G4PionDecayMakeSpin::DaughterPolarization(), G4InuclParticle::getCharge(), G4hImpactIonisation::GetMeanFreePath(), G4ParticleChange::Initialize(), G4ParticleChangeForLoss::InitializeForAlongStep(), G4ParticleChangeForLoss::InitializeForPostStep(), G4Step::InitializeStep(), G4ErrorFreeTrajState::PropagateError(), G4QAOLowEnergyLoss::TheValue(), G4IonYangFluctuationModel::TheValue(), G4hNuclearStoppingModel::TheValue(), and G4FieldTrackUpdator::Update().

00109 {
00110   return theDynamicalCharge;
00111 }

G4ParticleDefinition * G4DynamicParticle::GetDefinition (  )  const [inline]

Definition at line 192 of file G4DynamicParticle.icc.

References theParticleDefinition.

Referenced by G4NeutronHPFinalState::adjust_final_state(), AllocateElectronOccupancy(), G4hImpactIonisation::AlongStepDoIt(), G4ErrorEnergyLoss::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4WilsonAbrasionModel::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGLambdaInelastic::ApplyYourself(), G4RPGKZeroInelastic::ApplyYourself(), G4RPGKPlusInelastic::ApplyYourself(), G4RPGKMinusInelastic::ApplyYourself(), G4RPGAntiXiZeroInelastic::ApplyYourself(), G4RPGAntiXiMinusInelastic::ApplyYourself(), G4RPGAntiSigmaPlusInelastic::ApplyYourself(), G4RPGAntiSigmaMinusInelastic::ApplyYourself(), G4RPGAntiProtonInelastic::ApplyYourself(), G4RPGAntiOmegaMinusInelastic::ApplyYourself(), G4RPGAntiNeutronInelastic::ApplyYourself(), G4RPGAntiLambdaInelastic::ApplyYourself(), G4RPGAntiKZeroInelastic::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4LFission::ApplyYourself(), G4LEXiZeroInelastic::ApplyYourself(), G4LEXiMinusInelastic::ApplyYourself(), G4LESigmaPlusInelastic::ApplyYourself(), G4LESigmaMinusInelastic::ApplyYourself(), G4LEProtonInelastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEPionPlusInelastic::ApplyYourself(), G4LEPionMinusInelastic::ApplyYourself(), G4LEOmegaMinusInelastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENeutronInelastic::ApplyYourself(), G4LELambdaInelastic::ApplyYourself(), G4LEKaonZeroInelastic::ApplyYourself(), G4LEKaonPlusInelastic::ApplyYourself(), G4LEKaonMinusInelastic::ApplyYourself(), G4LEAntiXiZeroInelastic::ApplyYourself(), G4LEAntiXiMinusInelastic::ApplyYourself(), G4LEAntiSigmaPlusInelastic::ApplyYourself(), G4LEAntiSigmaMinusInelastic::ApplyYourself(), G4LEAntiProtonInelastic::ApplyYourself(), G4LEAntiOmegaMinusInelastic::ApplyYourself(), G4LEAntiNeutronInelastic::ApplyYourself(), G4LEAntiLambdaInelastic::ApplyYourself(), G4LEAntiKaonZeroInelastic::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4ProtonAntiProtonAtRestChips::AtRestDoIt(), G4PionMinusNuclearAtRestChips::AtRestDoIt(), G4PiMinusAbsorptionAtRest::AtRestDoIt(), G4KaonMinusAbsorptionAtRest::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4HadLeadBias::Bias(), G4BertiniEvaporation::BreakItUp(), G4RPGInelastic::CalculateMomenta(), G4InelasticInteraction::CalculateMomenta(), G4PrimaryTransformer::CheckDynamicParticle(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4UnknownDecay::DecayIt(), G4RadioactiveDecay::DecayIt(), G4DecayWithSpin::DecayIt(), G4Decay::DecayIt(), G4UniversalFluctuation::Dispersion(), G4BohrFluctuations::Dispersion(), G4Track::G4Track(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4GGNuclNuclCrossSection::GetCoulombBarier(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4NeutronHPorLFissionData::GetCrossSection(), G4NeutronHPorLElasticData::GetCrossSection(), G4NeutronHPorLEInelasticData::GetCrossSection(), G4NeutronHPorLCaptureData::GetCrossSection(), G4NeutronHPInelasticData::GetCrossSection(), G4NeutronHPFissionData::GetCrossSection(), G4NeutronHPElasticData::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4CrossSectionDataStore::GetCrossSection(), G4Track::GetDefinition(), G4InuclParticle::getDefinition(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4HadronCrossSections::GetElasticCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4PiNuclearCrossSection::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4IonsSihverCrossSection::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4IonProtonCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4CrossSectionPairGG::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4RPGReaction::GetFinalStateNucleons(), G4QuasiElasticChannel::GetFraction(), G4ProjectileDiffractiveChannel::GetFraction(), G4GlauberGribovCrossSection::GetHadronNucleonXsc(), G4GGNuclNuclCrossSection::GetHadronNucleonXsc(), G4ComponentGGNuclNuclXsc::GetHadronNucleonXsc(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4GlauberGribovCrossSection::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4GlauberGribovCrossSection::GetHadronNucleonXscPDG(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4GlauberGribovCrossSection::GetHNinelasticXsc(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXsc(), G4GlauberGribovCrossSection::GetHNinelasticXscVU(), G4GGNuclNuclCrossSection::GetHNinelasticXscVU(), G4ComponentGGNuclNuclXsc::GetHNinelasticXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4HadronCrossSections::GetInelasticCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4PhotoNuclearCrossSection::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4GlauberGribovCrossSection::GetIsoCrossSection(), G4ElectroNuclearCrossSection::GetIsoCrossSection(), G4ComponentGGHadronNucleusXsc::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4GlauberGribovCrossSection::GetKaonNucleonXscVector(), G4ComponentGGHadronNucleusXsc::GetKaonNucleonXscVector(), G4VXTRenergyLoss::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4QNGamma::GetMeanFreePath(), G4QLowEnergy::GetMeanFreePath(), G4QIonIonElastic::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QCoherentChargeExchange::GetMeanFreePath(), G4QAtomicElectronScattering::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4QCaptureAtRest::GetMeanLifeTime(), G4Decay::GetMeanLifeTime(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4QSynchRad::GetRadius(), G4GlauberGribovCrossSection::GetRatioQE(), G4GGNuclNuclCrossSection::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4ComponentGGHadronNucleusXsc::GetRatioQE(), G4GlauberGribovCrossSection::GetRatioSD(), G4GGNuclNuclCrossSection::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4ComponentGGHadronNucleusXsc::GetRatioSD(), G4GGNuclNuclCrossSection::GetZandACrossSection(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4QGSModel< ParticipantType >::Init(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4NeutronHPThermalScatteringData::IsApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4TripathiCrossSection::IsElementApplicable(), G4ProtonInelasticCrossSection::IsElementApplicable(), G4NucleonNuclearCrossSection::IsElementApplicable(), G4IonsSihverCrossSection::IsElementApplicable(), G4IonsShenCrossSection::IsElementApplicable(), G4IonsKoxCrossSection::IsElementApplicable(), G4IonProtonCrossSection::IsElementApplicable(), G4GeneralSpaceNNCrossSection::IsElementApplicable(), G4EMDissociationCrossSection::IsElementApplicable(), G4ComponentBarNucleonNucleusXsc::IsElementApplicable(), G4QAOLowEnergyLoss::IsInCharge(), G4QHadronInelasticDataSet::IsIsoApplicable(), G4QHadronElasticDataSet::IsIsoApplicable(), G4PhotoNuclearCrossSection::IsIsoApplicable(), G4NeutronHPThermalScatteringData::IsIsoApplicable(), G4NeutronHPorLFissionData::IsIsoApplicable(), G4NeutronHPorLElasticData::IsIsoApplicable(), G4NeutronHPorLEInelasticData::IsIsoApplicable(), G4NeutronHPorLCaptureData::IsIsoApplicable(), G4NeutronHPInelasticData::IsIsoApplicable(), G4NeutronHPFissionData::IsIsoApplicable(), G4NeutronHPElasticData::IsIsoApplicable(), G4NeutronHPCaptureData::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4HadronNucleonXsc::IsIsoApplicable(), G4GlauberGribovCrossSection::IsIsoApplicable(), G4ElectroNuclearCrossSection::IsIsoApplicable(), G4ComponentGGHadronNucleusXsc::IsIsoApplicable(), G4ChipsProtonInelasticXS::IsIsoApplicable(), G4ChipsProtonElasticXS::IsIsoApplicable(), G4ChipsPionPlusInelasticXS::IsIsoApplicable(), G4ChipsPionPlusElasticXS::IsIsoApplicable(), G4ChipsPionMinusInelasticXS::IsIsoApplicable(), G4ChipsPionMinusElasticXS::IsIsoApplicable(), G4ChipsNeutronInelasticXS::IsIsoApplicable(), G4ChipsNeutronElasticXS::IsIsoApplicable(), G4ChipsKaonZeroInelasticXS::IsIsoApplicable(), G4ChipsKaonZeroElasticXS::IsIsoApplicable(), G4ChipsKaonPlusInelasticXS::IsIsoApplicable(), G4ChipsKaonPlusElasticXS::IsIsoApplicable(), G4ChipsKaonMinusInelasticXS::IsIsoApplicable(), G4ChipsKaonMinusElasticXS::IsIsoApplicable(), G4ChipsHyperonInelasticXS::IsIsoApplicable(), G4ChipsHyperonElasticXS::IsIsoApplicable(), G4ChipsAntiBaryonInelasticXS::IsIsoApplicable(), G4ChipsAntiBaryonElasticXS::IsIsoApplicable(), G4ReactionProduct::operator=(), G4WHadronElasticProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4Decay::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4RPGStrangeProduction::ReactionStage(), G4UniversalFluctuation::SampleFluctuations(), G4PAIPhotonModel::SampleFluctuations(), G4PAIModel::SampleFluctuations(), G4PenelopeIonisationModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4DNABornExcitationModel::SampleSecondaries(), G4QuasiElasticChannel::Scatter(), G4ProjectileDiffractiveChannel::Scatter(), G4WentzelVIRelModel::StartTracking(), G4WentzelVIModel::StartTracking(), G4UrbanMscModel96::StartTracking(), G4UrbanMscModel95::StartTracking(), G4UrbanMscModel93::StartTracking(), G4UrbanMscModel92::StartTracking(), G4UrbanMscModel90::StartTracking(), G4GoudsmitSaundersonMscModel::StartTracking(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElastic::ThetaLabToThetaCMS(), and G4hIonEffChargeSquare::TheValue().

00193 {
00194   return const_cast<G4ParticleDefinition*>(theParticleDefinition);
00195 }

G4double G4DynamicParticle::GetElectronMass (  )  const [protected]

Definition at line 411 of file G4DynamicParticle.cc.

References FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4ParticleTable::GetParticleTable(), and G4ParticleDefinition::GetPDGMass().

Referenced by AddElectron(), and RemoveElectron().

00412 {
00413   static G4double electronMass = 0.0;
00414 
00415   // check if electron exits and get the mass
00416   if (electronMass<=0.0) {
00417     G4ParticleDefinition* electron = G4ParticleTable::GetParticleTable()->FindParticle("e-");
00418     if (electron == 0) {
00419       G4Exception("G4DynamicParticle::GetElectronMass()","PART021",
00420                   FatalException,"G4DynamicParticle: G4Electron is not defined !!");
00421     }
00422     electronMass = electron->GetPDGMass();
00423   }
00424 
00425   return electronMass;
00426 }

const G4ElectronOccupancy * G4DynamicParticle::GetElectronOccupancy (  )  const [inline]

Definition at line 63 of file G4DynamicParticle.icc.

References theElectronOccupancy.

00064 {
00065   return theElectronOccupancy;
00066 }

G4double G4DynamicParticle::GetKineticEnergy (  )  const [inline]

Definition at line 217 of file G4DynamicParticle.icc.

References theKineticEnergy.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4hImpactIonisation::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4HadLeadBias::Bias(), G4BertiniEvaporation::BreakItUp(), G4Track::CalculateVelocity(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4UrbanMscModel96::ComputeTruePathLengthLimit(), G4UrbanMscModel95::ComputeTruePathLengthLimit(), G4UrbanMscModel93::ComputeTruePathLengthLimit(), G4UrbanMscModel92::ComputeTruePathLengthLimit(), G4UrbanMscModel90::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4RadioactiveDecay::DecayIt(), G4Decay::DecayIt(), G4UniversalFluctuation::Dispersion(), G4mplIonisationWithDeltaModel::Dispersion(), G4mplIonisationModel::Dispersion(), G4IonFluctuations::Dispersion(), G4BohrFluctuations::Dispersion(), G4HadSecondary::G4HadSecondary(), G4HadronCrossSections::GetCaptureCrossSection(), G4GGNuclNuclCrossSection::GetCoulombBarier(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4NeutronHPorLFissionData::GetCrossSection(), G4NeutronHPorLElasticData::GetCrossSection(), G4NeutronHPorLEInelasticData::GetCrossSection(), G4NeutronHPorLCaptureData::GetCrossSection(), G4NeutronHPJENDLHEData::GetCrossSection(), G4NeutronHPInelasticData::GetCrossSection(), G4NeutronHPFissionData::GetCrossSection(), G4NeutronHPElasticData::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4CrossSectionDataStore::GetCrossSection(), G4GammaConversionToMuons::GetCrossSectionPerAtom(), G4VEnergyLossProcess::GetDEDXDispersion(), G4UPiNuclearCrossSection::GetElasticCrossSection(), G4HadronCrossSections::GetElasticCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4ProtonInelasticCrossSection::GetElementCrossSection(), G4PiNuclearCrossSection::GetElementCrossSection(), G4NucleonNuclearCrossSection::GetElementCrossSection(), G4NeutronInelasticXS::GetElementCrossSection(), G4NeutronInelasticCrossSection::GetElementCrossSection(), G4NeutronElasticXS::GetElementCrossSection(), G4NeutronCaptureXS::GetElementCrossSection(), G4KokoulinMuonNuclearXS::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4IonProtonCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4CrossSectionPairGG::GetElementCrossSection(), G4CrossSectionInelastic::GetElementCrossSection(), G4CrossSectionElastic::GetElementCrossSection(), G4ComponentBarNucleonNucleusXsc::GetElementCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4HadronCrossSections::GetFissionCrossSection(), G4UPiNuclearCrossSection::GetInelasticCrossSection(), G4HadronCrossSections::GetInelasticCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4PhotoNuclearCrossSection::GetIsoCrossSection(), G4NeutronHPThermalScatteringData::GetIsoCrossSection(), G4NeutronHPorLFissionData::GetIsoCrossSection(), G4NeutronHPorLElasticData::GetIsoCrossSection(), G4NeutronHPorLEInelasticData::GetIsoCrossSection(), G4NeutronHPorLCaptureData::GetIsoCrossSection(), G4NeutronHPInelasticData::GetIsoCrossSection(), G4NeutronHPFissionData::GetIsoCrossSection(), G4NeutronHPElasticData::GetIsoCrossSection(), G4NeutronHPCaptureData::GetIsoCrossSection(), G4NeutronCaptureXS::GetIsoCrossSection(), G4LENDCrossSection::GetIsoCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4ElectroNuclearCrossSection::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4GlauberGribovCrossSection::GetKaonNucleonXscVector(), G4ComponentGGHadronNucleusXsc::GetKaonNucleonXscVector(), G4Track::GetKineticEnergy(), G4InuclParticle::getKineticEnergy(), G4VEnergyLoss::GetLossWithFluct(), G4VeLowEnergyLoss::GetLossWithFluct(), G4VXTRenergyLoss::GetMeanFreePath(), G4VLowEnergyDiscretePhotonProcess::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4QLowEnergy::GetMeanFreePath(), G4QIonIonElastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QCoherentChargeExchange::GetMeanFreePath(), G4PolarizedCompton::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4GammaConversionToMuons::GetMeanFreePath(), G4eplusPolarizedAnnihilation::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4AnnihiToMuPair::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4GGNuclNuclCrossSection::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4GGNuclNuclCrossSection::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4GGNuclNuclCrossSection::GetZandACrossSection(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4ParticleChange::Initialize(), G4FastStep::Initialize(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4NeutronHPThermalScatteringData::IsApplicable(), G4NeutronHPJENDLHEData::IsApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4TripathiCrossSection::IsElementApplicable(), G4NucleonNuclearCrossSection::IsElementApplicable(), G4NeutronInelasticCrossSection::IsElementApplicable(), G4NeutronHPBGGNucleonInelasticXS::IsElementApplicable(), G4IonsSihverCrossSection::IsElementApplicable(), G4CrossSectionPairGG::IsElementApplicable(), G4CrossSectionInelastic::IsElementApplicable(), G4CrossSectionElastic::IsElementApplicable(), G4ComponentGGNuclNuclXsc::IsElementApplicable(), G4ComponentBarNucleonNucleusXsc::IsElementApplicable(), G4NeutronHPThermalScatteringData::IsIsoApplicable(), G4NeutronHPorLFissionData::IsIsoApplicable(), G4NeutronHPorLElasticData::IsIsoApplicable(), G4NeutronHPorLEInelasticData::IsIsoApplicable(), G4NeutronHPorLCaptureData::IsIsoApplicable(), G4NeutronHPInelasticData::IsIsoApplicable(), G4NeutronHPFissionData::IsIsoApplicable(), G4NeutronHPElasticData::IsIsoApplicable(), G4NeutronHPCaptureData::IsIsoApplicable(), G4NeutronHPBGGNucleonInelasticXS::IsIsoApplicable(), G4LENDCrossSection::IsIsoApplicable(), G4HadronNucleonXsc::IsIsoApplicable(), G4GlauberGribovCrossSection::IsIsoApplicable(), G4ComponentGGHadronNucleusXsc::IsIsoApplicable(), G4VEmModel::MaxSecondaryKinEnergy(), G4ReactionProduct::operator=(), G4VXTRenergyLoss::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiscProcessMixer::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4AnnihiToMuPair::PostStepDoIt(), MinEkineCuts::PostStepGetPhysicalInteractionLength(), G4QDiscProcessMixer::PostStepGetPhysicalInteractionLength(), G4PolarizedCompton::PostStepGetPhysicalInteractionLength(), G4eplusPolarizedAnnihilation::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4ModifiedTsai::SampleDirection(), G4Generator2BN::SampleDirection(), G4DipBustGenerator::SampleDirection(), G4UniversalFluctuation::SampleFluctuations(), G4PAIPhotonModel::SampleFluctuations(), G4PAIModel::SampleFluctuations(), G4IonFluctuations::SampleFluctuations(), G4XrayRayleighModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PEEffectModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4MuElecElasticModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4EmMultiModel::SampleSecondaries(), G4eeToHadronsMultiModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eBremsstrahlungModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4DNATransformElectronModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNASancheSolvatationModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNAMeltonAttachmentModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4DNABornExcitationModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4AdjointPhotoElectricModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4CrossSectionDataStore::SampleZandA(), G4QAOLowEnergyLoss::TheValue(), G4IonYangFluctuationModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hIonEffChargeSquare::TheValue(), and G4hBetheBlochModel::TheValue().

00218 {
00219   return theKineticEnergy;
00220 }

G4double G4DynamicParticle::GetMagneticMoment (  )  const [inline]

Definition at line 144 of file G4DynamicParticle.icc.

References theDynamicalMagneticMoment.

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4ParticleChange::Initialize().

00145 {
00146   return theDynamicalMagneticMoment;
00147 }

G4double G4DynamicParticle::GetMass (  )  const [inline]

Definition at line 123 of file G4DynamicParticle.icc.

References theDynamicalMass.

Referenced by G4Transportation::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4CoupledTransportation::AlongStepDoIt(), G4QCaptureAtRest::AtRestDoIt(), G4DecayProducts::Boost(), G4BertiniEvaporation::BreakItUp(), G4Track::CalculateVelocity(), G4FieldTrackUpdator::CreateFieldTrack(), G4PionDecayMakeSpin::DaughterPolarization(), G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4IonsKoxCrossSection::GetElementCrossSection(), G4GlauberGribovCrossSection::GetHadronNucleonXsc(), G4GGNuclNuclCrossSection::GetHadronNucleonXsc(), G4ComponentGGNuclNuclXsc::GetHadronNucleonXsc(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4GlauberGribovCrossSection::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4GlauberGribovCrossSection::GetHadronNucleonXscPDG(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4IonsShenCrossSection::GetIsoCrossSection(), G4VEnergyLoss::GetLossWithFluct(), G4InuclParticle::getMass(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4QSynchRad::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4ParticleChange::Initialize(), G4Step::InitializeStep(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4Decay::PostStepGetPhysicalInteractionLength(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4SteppingManager::SetInitialStep(), G4IonYangFluctuationModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hBetheBlochModel::TheValue(), G4ReactionKinematics::TwoBodyScattering(), G4FieldTrackUpdator::Update(), and G4ParticleChangeForTransport::UpdateStepForAlongStep().

00124 {
00125   return theDynamicalMass;
00126 }

G4ThreeVector G4DynamicParticle::GetMomentum (  )  const [inline]

Definition at line 164 of file G4DynamicParticle.icc.

References theDynamicalMass, theKineticEnergy, and theMomentumDirection.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4QMDReaction::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4BertiniEvaporation::BreakItUp(), G4NeutronHPorLFissionData::GetCrossSection(), G4NeutronHPorLElasticData::GetCrossSection(), G4NeutronHPorLEInelasticData::GetCrossSection(), G4NeutronHPorLCaptureData::GetCrossSection(), G4NeutronHPInelasticData::GetCrossSection(), G4NeutronHPFissionData::GetCrossSection(), G4NeutronHPElasticData::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4GlauberGribovCrossSection::GetHadronNucleonXsc(), G4GGNuclNuclCrossSection::GetHadronNucleonXsc(), G4ComponentGGNuclNuclXsc::GetHadronNucleonXsc(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXsc(), G4HadronNucleonXsc::GetHadronNucleonXscEL(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4GlauberGribovCrossSection::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscPDG(), G4GlauberGribovCrossSection::GetHadronNucleonXscPDG(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscPDG(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4GlauberGribovCrossSection::GetHNinelasticXscVU(), G4GGNuclNuclCrossSection::GetHNinelasticXscVU(), G4ComponentGGNuclNuclXsc::GetHNinelasticXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4IonsShenCrossSection::GetIsoCrossSection(), G4SynchrotronRadiation::GetMeanFreePath(), G4Track::GetMomentum(), G4ReactionProduct::operator=(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), and G4VPartonStringModel::Scatter().

00165 {
00166   G4double pModule = std::sqrt(theKineticEnergy*theKineticEnergy +
00167                         2*theKineticEnergy*theDynamicalMass);
00168   G4ThreeVector pMomentum(theMomentumDirection.x()*pModule,
00169                           theMomentumDirection.y()*pModule,
00170                           theMomentumDirection.z()*pModule);
00171   return pMomentum;
00172 }

const G4ThreeVector & G4DynamicParticle::GetMomentumDirection (  )  const [inline]

Definition at line 159 of file G4DynamicParticle.icc.

References theMomentumDirection.

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4ITTransportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4DecayProducts::Boost(), G4ITTransportation::ComputeStep(), G4UnknownDecay::DecayIt(), G4RadioactiveDecay::DecayIt(), G4Decay::DecayIt(), G4PrimaryTransformer::GenerateSingleTrack(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4PolarizedCompton::GetMeanFreePath(), G4eplusPolarizedAnnihilation::GetMeanFreePath(), G4Track::GetMomentumDirection(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4QSynchRad::GetRadius(), G4ParticleChange::Initialize(), G4FastStep::Initialize(), G4DecayProducts::IsChecked(), G4VXTRenergyLoss::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4OpRayleigh::PostStepDoIt(), G4OpMieHG::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4AnnihiToMuPair::PostStepDoIt(), G4PolarizedCompton::PostStepGetPhysicalInteractionLength(), G4eplusPolarizedAnnihilation::PostStepGetPhysicalInteractionLength(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4SauterGavrilaAngularDistribution::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4PhotoElectricAngularGeneratorSimple::SampleDirection(), G4PhotoElectricAngularGeneratorSauterGavrila::SampleDirection(), G4PhotoElectricAngularGeneratorPolarized::SampleDirection(), G4PenelopeBremsstrahlungAngular::SampleDirection(), G4ModifiedTsai::SampleDirection(), G4Generator2BS::SampleDirection(), G4Generator2BN::SampleDirection(), G4DipBustGenerator::SampleDirection(), G4XrayRayleighModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeAnnihilationModel::SampleSecondaries(), G4PEEffectModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4MuElecElasticModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LivermorePolarizedRayleighModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermoreNuclearGammaConversionModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermoreGammaConversionModelRC::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4IonParametrisedLossModel::SampleSecondaries(), G4IonCoulombScatteringModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4hCoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4eeToHadronsModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eBremsstrahlungModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4DNAScreenedRutherfordElasticModel::SampleSecondaries(), G4DNASancheExcitationModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNAMillerGreenExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNAChampionElasticModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4DNABornExcitationModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4AdjointPhotoElectricModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), and G4AdjointBremsstrahlungModel::SampleSecondaries().

00160 {
00161   return theMomentumDirection;
00162 }

G4int G4DynamicParticle::GetOccupancy ( G4int  orbit  )  const [inline]

Definition at line 77 of file G4DynamicParticle.icc.

References G4ElectronOccupancy::GetOccupancy(), and theElectronOccupancy.

00078 {
00079   G4int value = 0;
00080   if ( theElectronOccupancy != 0) { 
00081     value = theElectronOccupancy->GetOccupancy(orbit);
00082   }
00083   return value;
00084 }

const G4ParticleDefinition * G4DynamicParticle::GetParticleDefinition (  )  const [inline]

Definition at line 197 of file G4DynamicParticle.icc.

References theParticleDefinition.

Referenced by G4RadioactiveDecay::CollimateDecayProduct(), G4RadioactiveDecay::DecayIt(), G4InelasticInteraction::ExtractResidualNucleus(), G4LossTableManager::GetDEDXDispersion(), G4Track::GetParticleDefinition(), G4VEmModel::MaxSecondaryKinEnergy(), G4HadronicProcess::PostStepDoIt(), G4XrayRayleighModel::SampleSecondaries(), and G4EmMultiModel::SampleSecondaries().

00198 {
00199   return const_cast<G4ParticleDefinition*>(theParticleDefinition);
00200 }

G4int G4DynamicParticle::GetPDGcode (  )  const [inline]

Definition at line 297 of file G4DynamicParticle.icc.

References G4ParticleDefinition::GetPDGEncoding(), theParticleDefinition, and thePDGcode.

Referenced by G4CHIPSElasticXS::GetIsoCrossSection(), and G4SmartTrackStack::PushToStack().

00298 {
00299   G4int code = theParticleDefinition->GetPDGEncoding();
00300   if(code==0) code = thePDGcode;
00301   return code;
00302 }

const G4ThreeVector & G4DynamicParticle::GetPolarization (  )  const [inline]

Definition at line 202 of file G4DynamicParticle.icc.

References thePolarization.

Referenced by G4FieldTrackUpdator::CreateFieldTrack(), G4FastStep::CreateSecondaryTrack(), G4DecayWithSpin::DecayIt(), G4Track::GetPolarization(), G4ParticleChangeForTransport::Initialize(), G4ParticleChangeForDecay::Initialize(), G4ParticleChange::Initialize(), G4FastStep::Initialize(), G4OpRayleigh::PostStepDoIt(), G4OpMieHG::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4PhotoElectricAngularGeneratorPolarized::SampleDirection(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4LivermorePolarizedGammaConversionModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), and G4FieldTrackUpdator::Update().

00203 {
00204   return thePolarization;
00205 }

const G4DecayProducts * G4DynamicParticle::GetPreAssignedDecayProducts (  )  const [inline]

Definition at line 252 of file G4DynamicParticle.icc.

References thePreAssignedDecayProducts.

Referenced by G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4PrimaryTransformer::CheckDynamicParticle(), G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4PrimaryTransformer::SetDecayProducts(), and G4AdjointProcessEquivalentToDirectProcess::StartTracking().

00253 { 
00254   return thePreAssignedDecayProducts;
00255 }

G4double G4DynamicParticle::GetPreAssignedDecayProperTime (  )  const [inline]

Definition at line 262 of file G4DynamicParticle.icc.

References thePreAssignedDecayTime.

Referenced by G4Decay::AtRestGetPhysicalInteractionLength(), G4UnknownDecay::DecayIt(), G4UnknownDecay::PostStepGetPhysicalInteractionLength(), and G4Decay::PostStepGetPhysicalInteractionLength().

00263 {
00264   return thePreAssignedDecayTime;
00265 }

G4PrimaryParticle * G4DynamicParticle::GetPrimaryParticle (  )  const [inline]

Definition at line 291 of file G4DynamicParticle.icc.

References primaryParticle.

00292 {
00293    return primaryParticle;
00294 }

G4double G4DynamicParticle::GetProperTime (  )  const [inline]

Definition at line 207 of file G4DynamicParticle.icc.

References theProperTime.

Referenced by G4Track::GetProperTime(), G4ParticleChange::Initialize(), and G4FastStep::Initialize().

00208 {
00209   return theProperTime;
00210 }

G4double G4DynamicParticle::GetSpin (  )  const [inline]

Definition at line 129 of file G4DynamicParticle.icc.

References theDynamicalSpin.

00130 {
00131   return theDynamicalSpin;
00132 }

G4double G4DynamicParticle::GetTotalEnergy (  )  const [inline]

Definition at line 212 of file G4DynamicParticle.icc.

References theDynamicalMass, and theKineticEnergy.

Referenced by G4LFission::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4PiMinusAbsorptionAtRest::AtRestDoIt(), G4DecayProducts::Boost(), G4BertiniEvaporation::BreakItUp(), G4HadronicProcess::CheckResult(), G4PionDecayMakeSpin::DaughterPolarization(), G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4InuclParticle::getEnergy(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4GlauberGribovCrossSection::GetHadronNucleonXscNS(), G4ComponentGGHadronNucleusXsc::GetHadronNucleonXscNS(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4GlauberGribovCrossSection::GetHNinelasticXscVU(), G4GGNuclNuclCrossSection::GetHNinelasticXscVU(), G4ComponentGGNuclNuclXsc::GetHNinelasticXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4QSynchRad::GetMeanFreePath(), G4OpWLS::GetMeanFreePath(), G4OpRayleigh::GetMeanFreePath(), G4OpMieHG::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4Track::GetTotalEnergy(), G4DecayProducts::IsChecked(), G4ReactionProduct::operator=(), G4SmartTrackStack::PopFromStack(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), MaxTimeCuts::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4SmartTrackStack::PushToStack(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4Generator2BS::SampleDirection(), G4Generator2BN::SampleDirection(), and G4AdjointBremsstrahlungModel::SampleSecondaries().

00213 {
00214   return (theKineticEnergy+theDynamicalMass);
00215 }

G4double G4DynamicParticle::GetTotalMomentum (  )  const [inline]

Definition at line 186 of file G4DynamicParticle.icc.

References theDynamicalMass, and theKineticEnergy.

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4LFission::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4DecayProducts::Boost(), G4BertiniEvaporation::BreakItUp(), G4Track::CalculateVelocityForOpticalPhoton(), G4TauLeptonicDecayChannel::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4ChargeExchangeProcess::GetElementCrossSection(), G4QuasiElasticChannel::GetFraction(), G4ProjectileDiffractiveChannel::GetFraction(), G4QHadronInelasticDataSet::GetIsoCrossSection(), G4QHadronElasticDataSet::GetIsoCrossSection(), G4ChipsProtonInelasticXS::GetIsoCrossSection(), G4ChipsProtonElasticXS::GetIsoCrossSection(), G4ChipsPionPlusInelasticXS::GetIsoCrossSection(), G4ChipsPionPlusElasticXS::GetIsoCrossSection(), G4ChipsPionMinusInelasticXS::GetIsoCrossSection(), G4ChipsPionMinusElasticXS::GetIsoCrossSection(), G4ChipsNeutronInelasticXS::GetIsoCrossSection(), G4ChipsNeutronElasticXS::GetIsoCrossSection(), G4ChipsKaonZeroInelasticXS::GetIsoCrossSection(), G4ChipsKaonZeroElasticXS::GetIsoCrossSection(), G4ChipsKaonPlusInelasticXS::GetIsoCrossSection(), G4ChipsKaonPlusElasticXS::GetIsoCrossSection(), G4ChipsKaonMinusInelasticXS::GetIsoCrossSection(), G4ChipsKaonMinusElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4CHIPSElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4QNGamma::GetMeanFreePath(), G4QLowEnergy::GetMeanFreePath(), G4QIonIonElastic::GetMeanFreePath(), G4QInelastic::GetMeanFreePath(), G4QElastic::GetMeanFreePath(), G4QDiffraction::GetMeanFreePath(), G4QCoherentChargeExchange::GetMeanFreePath(), G4QAtomicElectronScattering::GetMeanFreePath(), G4OpAbsorption::GetMeanFreePath(), G4Decay::GetMeanFreePath(), G4InuclParticle::getMomModule(), G4QSynchRad::GetRadius(), G4DecayProducts::IsChecked(), G4QNGamma::PostStepDoIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), MaxTimeCuts::PostStepGetPhysicalInteractionLength(), G4Decay::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointComptonModel::SampleSecondaries(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), and G4DiffuseElastic::ThetaLabToThetaCMS().

00187 {
00188   // The momentum is returned in energy equivalent.
00189   return std::sqrt((theKineticEnergy + 2.*theDynamicalMass)* theKineticEnergy);
00190 }

G4int G4DynamicParticle::GetTotalOccupancy (  )  const [inline]

Definition at line 68 of file G4DynamicParticle.icc.

References G4ElectronOccupancy::GetTotalOccupancy(), and theElectronOccupancy.

00069 {
00070   G4int value = 0;
00071   if ( theElectronOccupancy != 0) { 
00072     value = theElectronOccupancy->GetTotalOccupancy();
00073   }
00074   return value;
00075 }

G4int G4DynamicParticle::GetVerboseLevel (  )  const [inline]

Definition at line 279 of file G4DynamicParticle.icc.

References verboseLevel.

00280 {
00281    return verboseLevel;
00282 }

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

Definition at line 54 of file G4DynamicParticle.icc.

References aDynamicParticleAllocator.

00055 {
00056   aDynamicParticleAllocator.FreeSingle((G4DynamicParticle *) aDynamicParticle);
00057 }

void * G4DynamicParticle::operator new ( size_t   )  [inline]

Definition at line 47 of file G4DynamicParticle.icc.

References aDynamicParticleAllocator.

00048 {
00049   void * aDynamicParticle;
00050   aDynamicParticle = (void *) aDynamicParticleAllocator.MallocSingle();
00051   return aDynamicParticle;
00052 }

G4int G4DynamicParticle::operator!= ( const G4DynamicParticle right  )  const

Definition at line 310 of file G4DynamicParticle.cc.

00311 {
00312   return (this != (G4DynamicParticle *) &right);
00313 }

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

Definition at line 234 of file G4DynamicParticle.cc.

References theDynamicalCharge, theDynamicalMagneticMoment, theDynamicalMass, theDynamicalSpin, theElectronOccupancy, theKineticEnergy, theMomentumDirection, theParticleDefinition, thePDGcode, thePolarization, thePreAssignedDecayProducts, thePreAssignedDecayTime, theProperTime, and verboseLevel.

00235 {
00236   if (this != &right) {
00237     theMomentumDirection = right.theMomentumDirection;
00238     theParticleDefinition = right.theParticleDefinition;
00239     thePolarization = right.thePolarization;
00240     theKineticEnergy = right.theKineticEnergy;
00241     theProperTime = right.theProperTime;
00242 
00243     theDynamicalMass = right.theDynamicalMass;
00244     theDynamicalCharge = right.theDynamicalCharge;
00245     theDynamicalSpin = right.theDynamicalSpin;
00246     theDynamicalMagneticMoment = right.theDynamicalMagneticMoment;
00247 
00248     if (theElectronOccupancy != 0) delete theElectronOccupancy;
00249     if (right.theElectronOccupancy != 0){
00250       theElectronOccupancy =
00251              new G4ElectronOccupancy(*right.theElectronOccupancy);
00252     } else {
00253       theElectronOccupancy = 0;
00254     }
00255 
00256     // thePreAssignedDecayProducts must not be copied.
00257     thePreAssignedDecayProducts = 0;
00258     thePreAssignedDecayTime = -1.0;
00259 
00260     verboseLevel = right.verboseLevel;
00261 
00262     // Primary particle information must be preserved
00263     //*** primaryParticle = right.primaryParticle;
00264 
00265     thePDGcode = right.thePDGcode;
00266   }
00267   return *this;
00268 }

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

Definition at line 304 of file G4DynamicParticle.cc.

00305 {
00306   return (this == (G4DynamicParticle *) &right);
00307 }

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

Definition at line 96 of file G4DynamicParticle.icc.

References AllocateElectronOccupancy(), GetElectronMass(), CLHEP::detail::n, G4ElectronOccupancy::RemoveElectron(), theDynamicalCharge, theDynamicalMass, and theElectronOccupancy.

00097 {
00098  if ( theElectronOccupancy == 0) AllocateElectronOccupancy();
00099  if ( theElectronOccupancy != 0) { 
00100     G4int n = theElectronOccupancy->RemoveElectron(orbit, number );
00101     theDynamicalCharge += CLHEP::eplus * n;
00102     theDynamicalMass -= GetElectronMass() * n;
00103   }
00104 }

void G4DynamicParticle::Set4Momentum ( const G4LorentzVector momentum  ) 

Definition at line 351 of file G4DynamicParticle.cc.

References SetKineticEnergy(), SetMomentumDirection(), and theDynamicalMass.

Referenced by G4EMDissociation::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4DecayProducts::Boost(), G4AblaEvaporation::BreakItUp(), G4TauLeptonicDecayChannel::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4HadronicProcess::FillResult(), G4DynamicParticle(), G4InuclParticle::G4InuclParticle(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4eeToHadronsModel::SampleSecondaries(), G4VPartonStringModel::Scatter(), G4InuclParticle::setMomentum(), and G4ReactionKinematics::TwoBodyScattering().

00352 {
00353   G4double pModule2 = momentum.vect().mag2();
00354   if (pModule2>0.0) {
00355     SetMomentumDirection(momentum.vect().unit());
00356     G4double totalenergy = momentum.t();
00357     G4double mass2 = totalenergy*totalenergy - pModule2;
00358     if(mass2 < EnergyMomentumRelationAllowance*EnergyMomentumRelationAllowance) {
00359       theDynamicalMass = 0.;
00360       SetKineticEnergy(totalenergy);
00361     } else {
00362       theDynamicalMass = std::sqrt(mass2);
00363       SetKineticEnergy(totalenergy-theDynamicalMass);
00364     }
00365   } else {
00366     SetMomentumDirection(1.0,0.0,0.0);
00367     SetKineticEnergy(0.0);
00368   }
00369 }

void G4DynamicParticle::SetCharge ( G4int  chargeInUnitOfEplus  )  [inline]

Definition at line 118 of file G4DynamicParticle.icc.

References theDynamicalCharge.

00119 {
00120   theDynamicalCharge = newCharge*CLHEP::eplus;
00121 }

void G4DynamicParticle::SetCharge ( G4double  charge  )  [inline]

Definition at line 113 of file G4DynamicParticle.icc.

References theDynamicalCharge.

Referenced by G4PrimaryTransformer::GenerateSingleTrack(), G4ErrorPropagator::InitG4Track(), G4PrimaryTransformer::SetDecayProducts(), and G4Step::UpdateTrack().

00114 {
00115   theDynamicalCharge = newCharge;
00116 }

void G4DynamicParticle::SetDefinition ( const G4ParticleDefinition aParticleDefinition  ) 

Definition at line 271 of file G4DynamicParticle.cc.

References G4cerr, G4endl, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMagneticMoment(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGSpin(), theDynamicalCharge, theDynamicalMagneticMoment, theDynamicalMass, theDynamicalSpin, theElectronOccupancy, theParticleDefinition, thePreAssignedDecayProducts, and verboseLevel.

Referenced by G4NeutronHPFinalState::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(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4LETritonInelastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LEDeuteronInelastic::ApplyYourself(), G4LEAlphaInelastic::ApplyYourself(), G4HESigmaZeroInelastic::ApplyYourself(), G4HEAntiSigmaZeroInelastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4QCaptureAtRest::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4NeutronHPInelasticBaseFS::BaseApply(), G4NeutronHPInelasticCompFS::CompositeApply(), G4HEInelastic::FillParticleChange(), G4HadronicProcessStore::FindProcess(), G4NeutronHPGamma::GetDecayGammas(), G4NeutronHPFSFissionFS::GetPhotons(), G4LightMedia::KaonPlusExchange(), G4LightMedia::KaonZeroLongExchange(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4LightMedia::NeutronExchange(), G4LightMedia::OmegaMinusExchange(), G4LightMedia::PionPlusExchange(), G4QLowEnergy::PostStepDoIt(), G4QIonIonElastic::PostStepDoIt(), G4QInelastic::PostStepDoIt(), G4QElastic::PostStepDoIt(), G4QDiffraction::PostStepDoIt(), G4QCoherentChargeExchange::PostStepDoIt(), G4QAtomicElectronScattering::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4LightMedia::ProtonExchange(), G4Nucleus::ReturnTargetParticle(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4InuclParticle::setDefinition(), G4RPGInelastic::SetUpChange(), G4InelasticInteraction::SetUpChange(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4AdjointProcessEquivalentToDirectProcess::StartTracking(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

00272 {
00273   // remove preassigned decay
00274   if (thePreAssignedDecayProducts != 0) {
00275 #ifdef G4VERBOSE
00276     if (verboseLevel>0) {
00277       G4cerr << " G4DynamicParticle::SetDefinition()::"
00278              << "!!! Pre-assigned decay products is attached !!!! " << G4endl;
00279       G4cerr << "!!! New Definition is " << aParticleDefinition->GetParticleName() 
00280              << " !!! " << G4endl;
00281       G4cerr << "!!! Pre-assigned decay products will be deleted !!!! " << G4endl;
00282     }
00283 #endif
00284     delete thePreAssignedDecayProducts;
00285   }
00286   thePreAssignedDecayProducts = 0;
00287 
00288   theParticleDefinition = aParticleDefinition;
00289 
00290   // set Dynamic mass/chrge
00291   theDynamicalMass = theParticleDefinition->GetPDGMass();
00292   theDynamicalCharge = theParticleDefinition->GetPDGCharge();
00293   theDynamicalSpin = theParticleDefinition->GetPDGSpin();
00294   theDynamicalMagneticMoment = theParticleDefinition->GetPDGMagneticMoment();
00295 
00296   // Set electron orbits
00297   if (theElectronOccupancy != 0) delete theElectronOccupancy;
00298   theElectronOccupancy =0;
00299   //AllocateElectronOccupancy();
00300 
00301 }

void G4DynamicParticle::SetKineticEnergy ( G4double  aEnergy  )  [inline]

Definition at line 242 of file G4DynamicParticle.icc.

References theKineticEnergy.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4LFission::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4BertiniEvaporation::BreakItUp(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4EmCalculator::ComputeDEDX(), G4DynamicParticle(), G4HadronicProcessStore::GetCaptureCrossSectionPerAtom(), G4HadronicProcessStore::GetChargeExchangeCrossSectionPerAtom(), G4NeutronHPGamma::GetDecayGammas(), G4EmCalculator::GetDEDX(), G4HadronicProcessStore::GetElasticCrossSectionPerAtom(), G4TripathiLightCrossSection::GetElementCrossSection(), G4HadronicProcessStore::GetFissionCrossSectionPerAtom(), G4HadronicProcessStore::GetInelasticCrossSectionPerAtom(), G4Scintillation::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), Set4Momentum(), G4Track::SetKineticEnergy(), G4InuclParticle::setKineticEnergy(), and SetMomentum().

00243 {
00244   theKineticEnergy = aEnergy;
00245 }

void G4DynamicParticle::SetMagneticMoment ( G4double  magneticMoment  )  [inline]

Definition at line 149 of file G4DynamicParticle.icc.

References theDynamicalMagneticMoment.

00150 {
00151    theDynamicalMagneticMoment = magneticMoment;  
00152 }

void G4DynamicParticle::SetMass ( G4double  mass  )  [inline]

Definition at line 154 of file G4DynamicParticle.icc.

References theDynamicalMass.

Referenced by G4PrimaryTransformer::GenerateSingleTrack(), G4PrimaryTransformer::SetDecayProducts(), G4InuclParticle::setMass(), and G4Step::UpdateTrack().

00155 {
00156   theDynamicalMass = newMass;
00157 }

void G4DynamicParticle::SetMomentum ( const G4ThreeVector momentum  ) 

Definition at line 337 of file G4DynamicParticle.cc.

References SetKineticEnergy(), SetMomentumDirection(), and theDynamicalMass.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4LETritonInelastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LElastic::ApplyYourself(), G4LEDeuteronInelastic::ApplyYourself(), G4LEAlphaInelastic::ApplyYourself(), G4HESigmaZeroInelastic::ApplyYourself(), G4HEAntiSigmaZeroInelastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4NeutronHPInelasticCompFS::CompositeApply(), G4HEInelastic::FillParticleChange(), G4DynamicParticle(), G4NeutronHPFSFissionFS::GetPhotons(), G4InuclParticle::setMomentum(), G4RPGInelastic::SetUpChange(), and G4InelasticInteraction::SetUpChange().

00338 {
00339   G4double pModule2 = momentum.mag2();
00340   if (pModule2>0.0) {
00341     G4double mass = theDynamicalMass;
00342     SetMomentumDirection(momentum.unit());
00343     SetKineticEnergy(std::sqrt(pModule2 + mass*mass)-mass);
00344   } else {
00345     SetMomentumDirection(1.0,0.0,0.0);
00346     SetKineticEnergy(0.0);
00347   }
00348 }

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

Definition at line 227 of file G4DynamicParticle.icc.

References theMomentumDirection.

00228 {
00229   theMomentumDirection.setX(px);
00230   theMomentumDirection.setY(py);
00231   theMomentumDirection.setZ(pz);
00232 }

void G4DynamicParticle::SetMomentumDirection ( const G4ThreeVector aDirection  )  [inline]

Definition at line 222 of file G4DynamicParticle.icc.

References theMomentumDirection.

Referenced by G4LFission::ApplyYourself(), G4LElastic::ApplyYourself(), G4BertiniEvaporation::BreakItUp(), G4RadioactiveDecay::CollimateDecayProduct(), G4FastStep::CreateSecondaryTrack(), G4DynamicParticle(), G4hImpactIonisation::PostStepDoIt(), G4PAIPhotonModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), Set4Momentum(), SetMomentum(), and G4Track::SetMomentumDirection().

00223 {
00224   theMomentumDirection = aDirection;
00225 }

void G4DynamicParticle::SetPDGcode ( G4int  c  )  [inline]

Definition at line 305 of file G4DynamicParticle.icc.

References thePDGcode.

Referenced by G4PrimaryTransformer::GenerateSingleTrack().

00306 {
00307   thePDGcode = c;
00308 }

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

Definition at line 235 of file G4DynamicParticle.icc.

References thePolarization.

Referenced by G4eplusAnnihilation::AtRestDoIt(), G4FastStep::CreateSecondaryTrack(), G4PionDecayMakeSpin::DaughterPolarization(), G4PrimaryTransformer::GenerateSingleTrack(), G4ErrorPropagator::InitG4Track(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4QSynchRad::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), and G4Track::SetPolarization().

00236 {
00237   thePolarization.setX(polX);
00238   thePolarization.setY(polY);
00239   thePolarization.setZ(polZ);
00240 }

void G4DynamicParticle::SetPreAssignedDecayProducts ( G4DecayProducts aDecayProducts  )  [inline]

Definition at line 257 of file G4DynamicParticle.icc.

References thePreAssignedDecayProducts.

Referenced by G4AdjointProcessEquivalentToDirectProcess::AlongStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::AlongStepGetPhysicalInteractionLength(), G4AdjointProcessEquivalentToDirectProcess::AtRestDoIt(), G4AdjointProcessEquivalentToDirectProcess::AtRestGetPhysicalInteractionLength(), G4DecayProducts::G4DecayProducts(), G4DecayProducts::operator=(), G4AdjointProcessEquivalentToDirectProcess::PostStepDoIt(), G4AdjointProcessEquivalentToDirectProcess::PostStepGetPhysicalInteractionLength(), G4PrimaryTransformer::SetDecayProducts(), and G4AdjointProcessEquivalentToDirectProcess::StartTracking().

00258 {
00259  thePreAssignedDecayProducts = aDecayProducts;
00260 }

void G4DynamicParticle::SetPreAssignedDecayProperTime ( G4double   )  [inline]

Definition at line 267 of file G4DynamicParticle.icc.

References thePreAssignedDecayTime.

Referenced by G4DecayProducts::G4DecayProducts(), G4PrimaryTransformer::GenerateSingleTrack(), G4DecayProducts::operator=(), and G4PrimaryTransformer::SetDecayProducts().

00268 {
00269   thePreAssignedDecayTime = aTime;
00270 }

void G4DynamicParticle::SetPrimaryParticle ( G4PrimaryParticle p  )  [inline]

Definition at line 285 of file G4DynamicParticle.icc.

References primaryParticle.

Referenced by G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().

00286 {
00287    primaryParticle=p;
00288 }

void G4DynamicParticle::SetProperTime ( G4double   )  [inline]

Definition at line 247 of file G4DynamicParticle.icc.

References theProperTime.

Referenced by G4Track::SetProperTime().

00248 {
00249   theProperTime = atime;
00250 }

void G4DynamicParticle::SetSpin ( G4int  spinInUnitOfHalfInteger  )  [inline]

Definition at line 139 of file G4DynamicParticle.icc.

References theDynamicalSpin.

00140 {
00141   theDynamicalSpin =  spinInUnitOfHalfInteger * 0.5;
00142 }

void G4DynamicParticle::SetSpin ( G4double  spin  )  [inline]

Definition at line 134 of file G4DynamicParticle.icc.

References theDynamicalSpin.

00135 {
00136   theDynamicalSpin = spin;
00137 }

void G4DynamicParticle::SetVerboseLevel ( G4int  value  )  [inline]

Definition at line 273 of file G4DynamicParticle.icc.

References verboseLevel.

00274 {
00275    verboseLevel = value;
00276 }


Field Documentation

G4PrimaryParticle* G4DynamicParticle::primaryParticle [protected]

Definition at line 251 of file G4DynamicParticle.hh.

Referenced by GetPrimaryParticle(), and SetPrimaryParticle().

G4double G4DynamicParticle::theDynamicalCharge [protected]

Definition at line 227 of file G4DynamicParticle.hh.

Referenced by AddElectron(), GetCharge(), operator=(), RemoveElectron(), SetCharge(), and SetDefinition().

G4double G4DynamicParticle::theDynamicalMagneticMoment [protected]

Definition at line 231 of file G4DynamicParticle.hh.

Referenced by GetMagneticMoment(), operator=(), SetDefinition(), and SetMagneticMoment().

G4double G4DynamicParticle::theDynamicalMass [protected]

Definition at line 225 of file G4DynamicParticle.hh.

Referenced by AddElectron(), G4DynamicParticle(), Get4Momentum(), GetMass(), GetMomentum(), GetTotalEnergy(), GetTotalMomentum(), operator=(), RemoveElectron(), Set4Momentum(), SetDefinition(), SetMass(), and SetMomentum().

G4double G4DynamicParticle::theDynamicalSpin [protected]

Definition at line 229 of file G4DynamicParticle.hh.

Referenced by GetSpin(), operator=(), SetDefinition(), and SetSpin().

G4ElectronOccupancy* G4DynamicParticle::theElectronOccupancy [protected]

Definition at line 233 of file G4DynamicParticle.hh.

Referenced by AddElectron(), AllocateElectronOccupancy(), G4DynamicParticle(), GetElectronOccupancy(), GetOccupancy(), GetTotalOccupancy(), operator=(), RemoveElectron(), SetDefinition(), and ~G4DynamicParticle().

G4double G4DynamicParticle::theKineticEnergy [protected]

Definition at line 221 of file G4DynamicParticle.hh.

Referenced by Get4Momentum(), GetKineticEnergy(), GetMomentum(), GetTotalEnergy(), GetTotalMomentum(), operator=(), and SetKineticEnergy().

G4ThreeVector G4DynamicParticle::theMomentumDirection [protected]

Definition at line 213 of file G4DynamicParticle.hh.

Referenced by Get4Momentum(), GetMomentum(), GetMomentumDirection(), operator=(), and SetMomentumDirection().

const G4ParticleDefinition* G4DynamicParticle::theParticleDefinition [protected]

Definition at line 216 of file G4DynamicParticle.hh.

Referenced by GetDefinition(), GetParticleDefinition(), GetPDGcode(), operator=(), and SetDefinition().

G4int G4DynamicParticle::thePDGcode [protected]

Definition at line 274 of file G4DynamicParticle.hh.

Referenced by GetPDGcode(), operator=(), and SetPDGcode().

G4ThreeVector G4DynamicParticle::thePolarization [protected]

Definition at line 219 of file G4DynamicParticle.hh.

Referenced by GetPolarization(), operator=(), and SetPolarization().

G4DecayProducts* G4DynamicParticle::thePreAssignedDecayProducts [protected]

Definition at line 235 of file G4DynamicParticle.hh.

Referenced by GetPreAssignedDecayProducts(), operator=(), SetDefinition(), SetPreAssignedDecayProducts(), and ~G4DynamicParticle().

G4double G4DynamicParticle::thePreAssignedDecayTime [protected]

Definition at line 237 of file G4DynamicParticle.hh.

Referenced by GetPreAssignedDecayProperTime(), operator=(), and SetPreAssignedDecayProperTime().

G4double G4DynamicParticle::theProperTime [protected]

Definition at line 223 of file G4DynamicParticle.hh.

Referenced by GetProperTime(), operator=(), and SetProperTime().

G4int G4DynamicParticle::verboseLevel [protected]

Definition at line 240 of file G4DynamicParticle.hh.

Referenced by GetVerboseLevel(), operator=(), SetDefinition(), and SetVerboseLevel().


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