#include <G4HadSecondary.hh>
Public Member Functions | |
G4HadSecondary (G4DynamicParticle *aT, G4double aWeight=1) | |
G4DynamicParticle * | GetParticle () |
const G4DynamicParticle * | GetParticle () const |
G4double | GetWeight () const |
void | SetWeight (G4double aW) |
void | SetTime (G4double aT) |
G4double | GetTime () const |
Definition at line 35 of file G4HadSecondary.hh.
G4HadSecondary::G4HadSecondary | ( | G4DynamicParticle * | aT, | |
G4double | aWeight = 1 | |||
) |
Definition at line 30 of file G4HadSecondary.cc.
References G4HadSecondary(), and G4DynamicParticle::GetKineticEnergy().
Referenced by G4HadSecondary().
00030 : 00031 theP(aT), theWeight(aWeight), theTime(-1) 00032 { 00033 if(aT->GetKineticEnergy()<0) 00034 { 00035 throw G4HadronicException(__FILE__, __LINE__, 00036 "ATTEMPTING TO CREATE A SECONDARY WITH NEGATIVE KINETIC ENERGY."); 00037 } 00038 } }
const G4DynamicParticle* G4HadSecondary::GetParticle | ( | ) | const [inline] |
G4DynamicParticle* G4HadSecondary::GetParticle | ( | ) | [inline] |
Definition at line 39 of file G4HadSecondary.hh.
Referenced by G4NeutronHPFinalState::adjust_final_state(), G4WilsonAbrasionModel::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4MuMinusCapturePrecompound::ApplyYourself(), G4LFission::ApplyYourself(), G4HadLeadBias::Bias(), G4HadronicProcess::CheckResult(), G4InelasticInteraction::ExtractResidualNucleus(), G4HadronicProcess::FillResult(), G4WHadronElasticProcess::PostStepDoIt(), and G4HadronElasticProcess::PostStepDoIt().
G4double G4HadSecondary::GetTime | ( | ) | const [inline] |
G4double G4HadSecondary::GetWeight | ( | ) | const [inline] |
void G4HadSecondary::SetTime | ( | G4double | aT | ) | [inline] |
void G4HadSecondary::SetWeight | ( | G4double | aW | ) | [inline] |