Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -454,7 +454,7 @@ G4double G4Decay::PostStepGetPhysicalInteractionLength(
|
||||
//pre-assigned Decay time case
|
||||
// reminder proper time
|
||||
fRemainderLifeTime = pTime - track.GetProperTime();
|
||||
if (fRemainderLifeTime <= 0.0) fRemainderLifeTime = DBL_MIN;
|
||||
if (fRemainderLifeTime <= 0.0) fRemainderLifeTime = 0.0;
|
||||
|
||||
G4double rvalue=0.0;
|
||||
// use pre-assigned Decay time to determine PIL
|
||||
|
||||
@@ -71,7 +71,7 @@ G4bool G4UnknownDecay::IsApplicable(const G4ParticleDefinition& aParticleType)
|
||||
|
||||
G4double G4UnknownDecay::GetMeanFreePath(const G4Track& /*aTrack*/,G4double, G4ForceCondition*)
|
||||
{
|
||||
return DBL_MIN;
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
void G4UnknownDecay::BuildPhysicsTable(const G4ParticleDefinition&)
|
||||
@@ -131,7 +131,7 @@ G4VParticleChange* G4UnknownDecay::DecayIt(const G4Track& aTrack, const G4Step&
|
||||
G4double finalGlobalTime = aTrack.GetGlobalTime();
|
||||
//boost all decay products to laboratory frame
|
||||
//if the particle has traveled
|
||||
if(aParticle->GetPreAssignedDecayProperTime()>0.) {
|
||||
if(aParticle->GetPreAssignedDecayProperTime()>=0.) {
|
||||
products->Boost( ParentEnergy, ParentDirection);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user