Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4DNAProcess.icc,v 1.11 2007/12/10 16:31:19 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4DNAProcess.icc,v 1.12 2009/01/20 07:50:28 sincerti Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Contact Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
|
||||
//
|
||||
@@ -110,8 +110,16 @@ G4VParticleChange* G4DNAProcess<TCrossSection,TFinalState>::PostStepDoIt(const G
|
||||
aParticleChange.ProposeTrackStatus(fStopAndKill);
|
||||
aParticleChange.ProposeEnergy(0.);
|
||||
aParticleChange.ProposeMomentumDirection( 0., 0., 0. );
|
||||
aParticleChange.ProposeLocalEnergyDeposit(track.GetKineticEnergy() + deposit);
|
||||
|
||||
|
||||
if (product.PrimaryParticleIsKilledAndDoNotDepositEnergy())
|
||||
{
|
||||
aParticleChange.ProposeLocalEnergyDeposit(deposit);
|
||||
}
|
||||
else
|
||||
{
|
||||
aParticleChange.ProposeLocalEnergyDeposit(track.GetKineticEnergy() + deposit);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user