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

#include <G4HadProjectile.hh>

Public Member Functions

 G4HadProjectile ()
 
 G4HadProjectile (const G4Track &aT)
 
 G4HadProjectile (const G4DynamicParticle &aT)
 
 ~G4HadProjectile ()
 
void Initialise (const G4Track &aT)
 
const G4MaterialGetMaterial () const
 
const G4ParticleDefinitionGetDefinition () const
 
const G4LorentzVectorGet4Momentum () const
 
const G4ThreeVectorGetMomentumDirection () const
 
G4LorentzRotationGetTrafoToLab ()
 
G4double GetKineticEnergy () const
 
G4double GetTotalEnergy () const
 
G4double GetTotalMomentum () const
 
G4double GetGlobalTime () const
 
G4double GetBoundEnergy () const
 
void SetGlobalTime (G4double t)
 
void SetBoundEnergy (G4double e)
 

Detailed Description

Definition at line 39 of file G4HadProjectile.hh.

Constructor & Destructor Documentation

◆ G4HadProjectile() [1/3]

G4HadProjectile::G4HadProjectile ( )

Definition at line 30 of file G4HadProjectile.cc.

31 : theMat(nullptr),theTime(0.0),theBoundEnergy(0.0)
32{
33 theDef = nullptr;
34 theMass = 0.0;
35 theKinEnergy = 0.0;
36 theDirection.set(0.,0.,0.);
37 theMom.set(0.,0.,0.,0.);
38}
void set(double x, double y, double z)
void set(double x, double y, double z, double t)

◆ G4HadProjectile() [2/3]

G4HadProjectile::G4HadProjectile ( const G4Track & aT)

Definition at line 40 of file G4HadProjectile.cc.

41{
42 Initialise(aT);
43}
void Initialise(const G4Track &aT)

◆ G4HadProjectile() [3/3]

G4HadProjectile::G4HadProjectile ( const G4DynamicParticle & aT)

Definition at line 45 of file G4HadProjectile.cc.

46 : theMat(nullptr),theTime(0.0),theBoundEnergy(0.0)
47{
48 InitialiseLocal(&dp);
49}

◆ ~G4HadProjectile()

G4HadProjectile::~G4HadProjectile ( )

Definition at line 51 of file G4HadProjectile.cc.

52{}

Member Function Documentation

◆ Get4Momentum()

const G4LorentzVector & G4HadProjectile::Get4Momentum ( ) const
inline

Definition at line 91 of file G4HadProjectile.hh.

92{
93 return theMom;
94}

Referenced by G4AblaInterface::ApplyYourself(), G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4LMsdGenerator::ApplyYourself(), G4LowEGammaNuclearModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4NeutrinoElectronCcModel::ApplyYourself(), G4NeutrinoElectronNcModel::ApplyYourself(), G4NeutronElectronElModel::ApplyYourself(), G4NeutronFissionVI::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4NeutronRadCaptureHP::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4ParticleHPChannelList::ApplyYourself(), G4ParticleHPElasticFS::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4ParticleHPThermalScattering::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadronicProcess::CheckResult(), G4ParticleHPInelasticCompFS::CompositeApply(), G4CascadeInterface::createBullet(), G4ParticleHPThermalBoost::GetThermalEnergy(), G4ReactionProduct::operator=(), G4GeneratorPrecompoundInterface::Propagate(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4LENDModel::returnUnchanged(), G4ANuElNucleusCcModel::SampleLVkr(), G4ANuElNucleusNcModel::SampleLVkr(), G4ANuMuNucleusCcModel::SampleLVkr(), G4ANuMuNucleusNcModel::SampleLVkr(), G4ANuTauNucleusCcModel::SampleLVkr(), G4ANuTauNucleusNcModel::SampleLVkr(), G4NuElNucleusCcModel::SampleLVkr(), G4NuElNucleusNcModel::SampleLVkr(), G4NuMuNucleusCcModel::SampleLVkr(), G4NuMuNucleusNcModel::SampleLVkr(), G4NuTauNucleusCcModel::SampleLVkr(), G4NuTauNucleusNcModel::SampleLVkr(), G4DiffuseElastic::SampleThetaLab(), G4NuclNuclDiffuseElastic::SampleThetaLab(), and G4CRCoalescence::SetP0Coalescence().

◆ GetBoundEnergy()

G4double G4HadProjectile::GetBoundEnergy ( ) const
inline

Definition at line 126 of file G4HadProjectile.hh.

127{
128 return theBoundEnergy;
129}

Referenced by G4MuMinusCapturePrecompound::ApplyYourself(), and G4MuonMinusBoundDecay::ApplyYourself().

◆ GetDefinition()

const G4ParticleDefinition * G4HadProjectile::GetDefinition ( ) const
inline

Definition at line 86 of file G4HadProjectile.hh.

87{
88 return theDef;
89}

Referenced by G4AblaInterface::ApplyYourself(), G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDorBERTModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4LMsdGenerator::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4NeutrinoElectronCcModel::ApplyYourself(), G4NeutrinoElectronNcModel::ApplyYourself(), G4NeutronElectronElModel::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4ParticleHPElasticFS::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4ParticleHPInelastic::ApplyYourself(), G4ParticleHPThermalScattering::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadronicProcess::CheckResult(), G4ParticleHPInelasticCompFS::CompositeApply(), G4CascadeInterface::createBullet(), G4FissionFragmentGenerator::G4GenerateFission(), G4EnergyRangeManager::GetHadronicInteraction(), G4ParticleHPThermalBoost::GetThermalEnergy(), G4ANuElNucleusCcModel::IsApplicable(), G4ANuElNucleusNcModel::IsApplicable(), G4ANuMuNucleusCcModel::IsApplicable(), G4ANuMuNucleusNcModel::IsApplicable(), G4ANuTauNucleusCcModel::IsApplicable(), G4ANuTauNucleusNcModel::IsApplicable(), G4CascadeInterface::IsApplicable(), G4DiffuseElastic::IsApplicable(), G4DiffuseElasticV2::IsApplicable(), G4hhElastic::IsApplicable(), G4LMsdGenerator::IsApplicable(), G4NeutrinoElectronCcModel::IsApplicable(), G4NeutrinoElectronNcModel::IsApplicable(), G4NeutrinoNucleusModel::IsApplicable(), G4NeutronElectronElModel::IsApplicable(), G4NuElNucleusCcModel::IsApplicable(), G4NuElNucleusNcModel::IsApplicable(), G4NuMuNucleusCcModel::IsApplicable(), G4NuMuNucleusNcModel::IsApplicable(), G4NuTauNucleusCcModel::IsApplicable(), G4NuTauNucleusNcModel::IsApplicable(), G4ReactionProduct::operator=(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4NeutrinoElectronCcModel::SampleCosCMS(), G4NeutrinoElectronNcModel::SampleElectronTkin(), G4LMsdGenerator::SampleMx(), G4DiffuseElastic::SampleThetaLab(), G4NuclNuclDiffuseElastic::SampleThetaLab(), and G4CRCoalescence::SetP0Coalescence().

◆ GetGlobalTime()

◆ GetKineticEnergy()

G4double G4HadProjectile::GetKineticEnergy ( ) const
inline

Definition at line 116 of file G4HadProjectile.hh.

117{
118 return theKinEnergy;
119}

Referenced by G4BinaryCascade::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDCombinedModel::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDGammaModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDorBERTModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4LMsdGenerator::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4NeutrinoElectronNcModel::ApplyYourself(), G4NeutronElectronElModel::ApplyYourself(), G4NeutronFissionVI::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4NeutronRadCaptureHP::ApplyYourself(), G4ParticleHPChannelList::ApplyYourself(), G4ParticleHPElasticFS::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4ParticleHPInelastic::ApplyYourself(), G4ParticleHPThermalScattering::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadronicProcess::CheckResult(), G4ParticleHPInelasticCompFS::CompositeApply(), G4EnergyRangeManager::GetHadronicInteraction(), G4ParticleHPThermalBoost::GetThermalEnergy(), G4LMsdGenerator::IsApplicable(), G4CascadeInterface::NoInteraction(), G4ReactionProduct::operator=(), G4LENDModel::returnUnchanged(), and G4LMsdGenerator::SampleT().

◆ GetMaterial()

◆ GetMomentumDirection()

const G4ThreeVector & G4HadProjectile::GetMomentumDirection ( ) const
inline

Definition at line 101 of file G4HadProjectile.hh.

102{
103 return theDirection;
104}

◆ GetTotalEnergy()

G4double G4HadProjectile::GetTotalEnergy ( ) const
inline

Definition at line 106 of file G4HadProjectile.hh.

107{
108 return theMom.e();
109}

Referenced by G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4NeutrinoElectronCcModel::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4HadronicProcess::CheckResult(), G4ANuElNucleusCcModel::IsApplicable(), G4ANuElNucleusNcModel::IsApplicable(), G4ANuMuNucleusCcModel::IsApplicable(), G4ANuMuNucleusNcModel::IsApplicable(), G4ANuTauNucleusCcModel::IsApplicable(), G4ANuTauNucleusNcModel::IsApplicable(), G4NeutrinoElectronCcModel::IsApplicable(), G4NeutrinoElectronNcModel::IsApplicable(), G4NeutrinoNucleusModel::IsApplicable(), G4NeutronElectronElModel::IsApplicable(), G4NuElNucleusCcModel::IsApplicable(), G4NuElNucleusNcModel::IsApplicable(), G4NuMuNucleusCcModel::IsApplicable(), G4NuMuNucleusNcModel::IsApplicable(), G4NuTauNucleusCcModel::IsApplicable(), G4NuTauNucleusNcModel::IsApplicable(), G4NeutrinoElectronCcModel::SampleCosCMS(), G4NeutrinoElectronNcModel::SampleElectronTkin(), G4ANuElNucleusCcModel::SampleLVkr(), G4ANuElNucleusNcModel::SampleLVkr(), G4ANuMuNucleusCcModel::SampleLVkr(), G4ANuMuNucleusNcModel::SampleLVkr(), G4ANuTauNucleusCcModel::SampleLVkr(), G4ANuTauNucleusNcModel::SampleLVkr(), G4NuElNucleusCcModel::SampleLVkr(), G4NuElNucleusNcModel::SampleLVkr(), G4NuMuNucleusCcModel::SampleLVkr(), G4NuMuNucleusNcModel::SampleLVkr(), G4NuTauNucleusCcModel::SampleLVkr(), and G4NuTauNucleusNcModel::SampleLVkr().

◆ GetTotalMomentum()

◆ GetTrafoToLab()

◆ Initialise()

void G4HadProjectile::Initialise ( const G4Track & aT)

Definition at line 54 of file G4HadProjectile.cc.

55{
56 theMat = aT.GetMaterial();
57 //VI time of interaction starts from zero
58 // not global time of a track
59 theTime = 0.0;
60 theBoundEnergy = 0.0;
61
62 InitialiseLocal(aT.GetDynamicParticle());
63}
G4Material * GetMaterial() const
const G4DynamicParticle * GetDynamicParticle() const

Referenced by G4HadronStoppingProcess::AtRestDoIt(), G4MuonMinusAtomicCapture::AtRestDoIt(), G4HadProjectile(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), and G4TauNeutrinoNucleusProcess::PostStepDoIt().

◆ SetBoundEnergy()

void G4HadProjectile::SetBoundEnergy ( G4double e)
inline

Definition at line 136 of file G4HadProjectile.hh.

137{
138 theBoundEnergy = e;
139}

Referenced by G4HadronStoppingProcess::AtRestDoIt(), and G4MuonMinusAtomicCapture::AtRestDoIt().

◆ SetGlobalTime()

void G4HadProjectile::SetGlobalTime ( G4double t)
inline

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