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
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::G4HadProjectile (  ) 

Definition at line 30 of file G4HadProjectile.cc.

00031 {
00032   theMat = 0;
00033   theDef = 0;
00034   theTime = 0.0;
00035   theBoundEnergy = 0.0;
00036 }

G4HadProjectile::G4HadProjectile ( const G4Track aT  ) 

Definition at line 38 of file G4HadProjectile.cc.

References Initialise().

00039 {
00040   Initialise(aT);
00041 }

G4HadProjectile::G4HadProjectile ( const G4DynamicParticle aT  ) 

Definition at line 43 of file G4HadProjectile.cc.

00044   : theMat(NULL),
00045     theOrgMom(aT.Get4Momentum()),
00046     theDef(aT.GetDefinition())
00047 {
00048   G4LorentzRotation toZ;
00049   toZ.rotateZ(-theOrgMom.phi());
00050   toZ.rotateY(-theOrgMom.theta());
00051   theMom = toZ*theOrgMom;
00052   toLabFrame = toZ.inverse();
00053   theTime = 0.0;
00054   theBoundEnergy = 0.0;
00055 }

G4HadProjectile::~G4HadProjectile (  ) 

Definition at line 57 of file G4HadProjectile.cc.

00058 {}


Member Function Documentation

const G4LorentzVector & G4HadProjectile::Get4Momentum (  )  const [inline]

Definition at line 86 of file G4HadProjectile.hh.

Referenced by G4WilsonAbrasionModel::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGProtonInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGKPlusInelastic::ApplyYourself(), G4RPGKMinusInelastic::ApplyYourself(), G4RPGAntiXiMinusInelastic::ApplyYourself(), G4RPGAntiSigmaPlusInelastic::ApplyYourself(), G4RPGAntiSigmaMinusInelastic::ApplyYourself(), G4RPGAntiProtonInelastic::ApplyYourself(), G4RPGAntiOmegaMinusInelastic::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4ParaFissionModel::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4NeutronHPThermalScattering::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4LFission::ApplyYourself(), G4LEXiZeroInelastic::ApplyYourself(), G4LEXiMinusInelastic::ApplyYourself(), G4LETritonInelastic::ApplyYourself(), G4LESigmaPlusInelastic::ApplyYourself(), G4LESigmaMinusInelastic::ApplyYourself(), G4LEProtonInelastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEPionPlusInelastic::ApplyYourself(), G4LEPionMinusInelastic::ApplyYourself(), G4LEOmegaMinusInelastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LElastic::ApplyYourself(), G4LEKaonPlusInelastic::ApplyYourself(), G4LEKaonMinusInelastic::ApplyYourself(), G4LEDeuteronInelastic::ApplyYourself(), G4LEAntiXiMinusInelastic::ApplyYourself(), G4LEAntiSigmaPlusInelastic::ApplyYourself(), G4LEAntiSigmaMinusInelastic::ApplyYourself(), G4LEAntiProtonInelastic::ApplyYourself(), G4LEAntiOmegaMinusInelastic::ApplyYourself(), G4LEAlphaInelastic::ApplyYourself(), G4LCapture::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4RPGInelastic::CalculateMomenta(), G4InelasticInteraction::CalculateMomenta(), G4HadronicProcess::CheckResult(), G4NeutronHPInelasticCompFS::CompositeApply(), G4CascadeInterface::createBullet(), G4HEVector::G4HEVector(), G4NeutronHPThermalBoost::GetThermalEnergy(), GetTotalEnergy(), GetTotalMomentum(), G4ReactionProduct::operator=(), G4GeneratorPrecompoundInterface::Propagate(), G4NuclNuclDiffuseElastic::SampleThetaLab(), G4DiffuseElastic::SampleThetaLab(), and G4HadronicWhiteBoard::SetProjectile().

00087 {
00088   return theMom;
00089 }

G4double G4HadProjectile::GetBoundEnergy (  )  const [inline]

Definition at line 118 of file G4HadProjectile.hh.

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

00119 {
00120   return theBoundEnergy; 
00121 }

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

Definition at line 81 of file G4HadProjectile.hh.

Referenced by G4WilsonAbrasionModel::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGProtonInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGNeutronInelastic::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(), G4PreCompoundModel::ApplyYourself(), G4ParaFissionModel::ApplyYourself(), G4NeutronHPThermalScattering::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4LowEIonFragmentation::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(), G4LENDModel::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LElastic::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(), G4LEAlphaInelastic::ApplyYourself(), G4LCapture::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4GammaNuclearReaction::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ElectroNuclearReaction::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4RPGInelastic::CalculateMomenta(), G4InelasticInteraction::CalculateMomenta(), G4HadronicProcess::CheckResult(), G4NeutronHPInelasticCompFS::CompositeApply(), G4CascadeInterface::createBullet(), G4InelasticInteraction::DoIsotopeCounting(), G4HEVector::G4HEVector(), G4ReactionDynamics::GenerateXandPt(), G4NeutronIsotopeProduction::GetIsotope(), GetKineticEnergy(), G4NeutronHPThermalBoost::GetThermalEnergy(), G4CascadeInterface::IsApplicable(), G4ReactionProduct::operator=(), G4RPGTwoCluster::ReactionStage(), G4RPGFragmentation::ReactionStage(), G4NuclNuclDiffuseElastic::SampleThetaLab(), G4DiffuseElastic::SampleThetaLab(), G4HadronicWhiteBoard::SetProjectile(), and G4ReactionDynamics::TwoCluster().

00082 {
00083   return theDef;
00084 }

G4double G4HadProjectile::GetGlobalTime (  )  const [inline]

Definition at line 113 of file G4HadProjectile.hh.

Referenced by G4PreCompoundModel::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4MuMinusCapturePrecompound::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4EmCaptureCascade::ApplyYourself(), and G4InelasticInteraction::DoIsotopeCounting().

00114 {
00115   return theTime;
00116 }

G4double G4HadProjectile::GetKineticEnergy (  )  const [inline]

Definition at line 106 of file G4HadProjectile.hh.

References GetDefinition(), G4ParticleDefinition::GetPDGMass(), and GetTotalEnergy().

Referenced by G4WilsonAbrasionModel::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGProtonInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGNeutronInelastic::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(), G4NeutronRadCapture::ApplyYourself(), G4NeutronHPThermalScattering::ApplyYourself(), G4NeutronHPorLFissionModel::ApplyYourself(), G4NeutronHPorLElasticModel::ApplyYourself(), G4NeutronHPorLEInelasticModel::ApplyYourself(), G4NeutronHPorLCaptureModel::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4LFission::ApplyYourself(), G4LEXiZeroInelastic::ApplyYourself(), G4LEXiMinusInelastic::ApplyYourself(), G4LETritonInelastic::ApplyYourself(), G4LESigmaPlusInelastic::ApplyYourself(), G4LESigmaMinusInelastic::ApplyYourself(), G4LEProtonInelastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEPionPlusInelastic::ApplyYourself(), G4LEPionMinusInelastic::ApplyYourself(), G4LEOmegaMinusInelastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LENeutronInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LElastic::ApplyYourself(), G4LELambdaInelastic::ApplyYourself(), G4LEKaonZeroInelastic::ApplyYourself(), G4LEKaonPlusInelastic::ApplyYourself(), G4LEKaonMinusInelastic::ApplyYourself(), G4LEDeuteronInelastic::ApplyYourself(), G4LEAntiXiZeroInelastic::ApplyYourself(), G4LEAntiXiMinusInelastic::ApplyYourself(), G4LEAntiSigmaPlusInelastic::ApplyYourself(), G4LEAntiSigmaMinusInelastic::ApplyYourself(), G4LEAntiProtonInelastic::ApplyYourself(), G4LEAntiOmegaMinusInelastic::ApplyYourself(), G4LEAntiNeutronInelastic::ApplyYourself(), G4LEAntiLambdaInelastic::ApplyYourself(), G4LEAntiKaonZeroInelastic::ApplyYourself(), G4LEAlphaInelastic::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4ChiralInvariantPhaseSpace::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4RPGInelastic::CalculateMomenta(), G4InelasticInteraction::CalculateMomenta(), G4HadronicProcess::CheckResult(), G4NeutronHPInelasticCompFS::CompositeApply(), G4HEVector::G4HEVector(), G4ReactionDynamics::GenerateXandPt(), G4NeutronIsotopeProduction::GetIsotope(), G4NeutronHPThermalBoost::GetThermalEnergy(), G4CascadeInterface::NoInteraction(), G4ReactionProduct::operator=(), G4RPGReaction::Rotate(), and G4ReactionDynamics::TwoCluster().

00107 {
00108   G4double ekin = GetTotalEnergy() - GetDefinition()->GetPDGMass();
00109   if(ekin < 0.0) { ekin = 0.0; }
00110   return ekin;
00111 }

const G4Material * G4HadProjectile::GetMaterial (  )  const [inline]

Definition at line 76 of file G4HadProjectile.hh.

Referenced by G4RPGXiZeroInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::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(), G4NeutronHPThermalScattering::ApplyYourself(), G4NeutronHPorLFission::ApplyYourself(), G4NeutronHPorLElastic::ApplyYourself(), G4NeutronHPorLEInelastic::ApplyYourself(), G4NeutronHPorLCapture::ApplyYourself(), G4NeutronHPInelastic::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPFission::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4NeutronHPElastic::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronHPCapture::ApplyYourself(), G4LEXiZeroInelastic::ApplyYourself(), G4LEXiMinusInelastic::ApplyYourself(), G4LETritonInelastic::ApplyYourself(), G4LESigmaPlusInelastic::ApplyYourself(), G4LESigmaMinusInelastic::ApplyYourself(), G4LEProtonInelastic::ApplyYourself(), G4LEPionPlusInelastic::ApplyYourself(), G4LEPionMinusInelastic::ApplyYourself(), G4LEOmegaMinusInelastic::ApplyYourself(), G4LENeutronInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LENDFission::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LELambdaInelastic::ApplyYourself(), G4LEKaonZeroInelastic::ApplyYourself(), G4LEKaonPlusInelastic::ApplyYourself(), G4LEKaonMinusInelastic::ApplyYourself(), G4LEDeuteronInelastic::ApplyYourself(), G4LEAntiXiZeroInelastic::ApplyYourself(), G4LEAntiXiMinusInelastic::ApplyYourself(), G4LEAntiSigmaPlusInelastic::ApplyYourself(), G4LEAntiSigmaMinusInelastic::ApplyYourself(), G4LEAntiProtonInelastic::ApplyYourself(), G4LEAntiOmegaMinusInelastic::ApplyYourself(), G4LEAntiNeutronInelastic::ApplyYourself(), G4LEAntiLambdaInelastic::ApplyYourself(), G4LEAntiKaonZeroInelastic::ApplyYourself(), G4LEAlphaInelastic::ApplyYourself(), G4FissLib::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4NeutronHPInelasticCompFS::CompositeApply(), and G4NeutronIsotopeProduction::GetIsotope().

00077 {
00078   return theMat;
00079 }

G4double G4HadProjectile::GetTotalEnergy (  )  const [inline]

Definition at line 96 of file G4HadProjectile.hh.

References Get4Momentum().

Referenced by G4WilsonAbrasionModel::ApplyYourself(), G4MuonVDNuclearModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4LFission::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4BinaryLightIonReaction::ApplyYourself(), G4HadronicProcess::CheckResult(), G4HEVector::G4HEVector(), and GetKineticEnergy().

00097 {
00098   return Get4Momentum().e();
00099 }

G4double G4HadProjectile::GetTotalMomentum (  )  const [inline]

Definition at line 101 of file G4HadProjectile.hh.

References Get4Momentum().

Referenced by G4LightMedia::AntiLambdaExchange(), G4LightMedia::AntiNeutronExchange(), G4LightMedia::AntiOmegaMinusExchange(), G4LightMedia::AntiProtonExchange(), G4LightMedia::AntiSigmaMinusExchange(), G4LightMedia::AntiSigmaPlusExchange(), G4LightMedia::AntiXiMinusExchange(), G4LightMedia::AntiXiZeroExchange(), G4RPGAntiProtonInelastic::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4LFission::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4LElastic::ApplyYourself(), G4LEAntiProtonInelastic::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4LightMedia::KaonPlusExchange(), G4LightMedia::KaonZeroShortExchange(), G4LightMedia::LambdaExchange(), G4LightMedia::NeutronExchange(), G4LightMedia::OmegaMinusExchange(), G4LightMedia::PionPlusExchange(), G4LightMedia::ProtonExchange(), G4NuclNuclDiffuseElastic::SampleThetaLab(), G4DiffuseElastic::SampleThetaLab(), G4LightMedia::SigmaMinusExchange(), G4LightMedia::SigmaPlusExchange(), G4LightMedia::XiMinusExchange(), and G4LightMedia::XiZeroExchange().

00102 {
00103   return Get4Momentum().vect().mag();
00104 }

G4LorentzRotation & G4HadProjectile::GetTrafoToLab (  )  [inline]

Definition at line 91 of file G4HadProjectile.hh.

Referenced by G4HadronicProcess::PostStepDoIt().

00092 {
00093   return toLabFrame;
00094 }

void G4HadProjectile::Initialise ( const G4Track aT  ) 

Definition at line 60 of file G4HadProjectile.cc.

References G4DynamicParticle::Get4Momentum(), G4Track::GetDefinition(), G4Track::GetDynamicParticle(), and G4Track::GetMaterial().

Referenced by G4HadronStoppingProcess::AtRestDoIt(), G4HadProjectile(), and G4HadronicProcess::PostStepDoIt().

00061 {
00062   theMat = aT.GetMaterial();
00063   theOrgMom = aT.GetDynamicParticle()->Get4Momentum();
00064   theDef = aT.GetDefinition();
00065 
00066   G4LorentzRotation toZ;
00067   toZ.rotateZ(-theOrgMom.phi());
00068   toZ.rotateY(-theOrgMom.theta());
00069   theMom = toZ*theOrgMom;
00070   toLabFrame = toZ.inverse();
00071 
00072   //VI time of interaction starts from zero
00073   //   not global time of a track
00074   theTime = 0.0;
00075   theBoundEnergy = 0.0;
00076 }

void G4HadProjectile::SetBoundEnergy ( G4double  e  )  [inline]

Definition at line 128 of file G4HadProjectile.hh.

Referenced by G4HadronStoppingProcess::AtRestDoIt().

00129 { 
00130   theBoundEnergy = e; 
00131 }

void G4HadProjectile::SetGlobalTime ( G4double  t  )  [inline]

Definition at line 123 of file G4HadProjectile.hh.

Referenced by G4MuonMinusBoundDecay::ApplyYourself().

00124 { 
00125   theTime = t; 
00126 }


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