Import Geant4 9.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:15:05 +02:00
parent b79225fb37
commit 74cad5e589
3877 changed files with 234205 additions and 167127 deletions
@@ -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
{