Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: GFlashShowerModel.cc,v 1.13 2006/06/29 19:14:22 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: GFlashShowerModel.cc,v 1.13 2006-06-29 19:14:22 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// ------------------------------------------------------------
@@ -102,7 +102,7 @@ G4bool GFlashShowerModel::ModelTrigger(const G4FastTrack & fastTrack )
G4double ParticleEnergy = fastTrack.GetPrimaryTrack()->GetKineticEnergy();
G4ParticleDefinition &ParticleType =
*(fastTrack.GetPrimaryTrack()->GetDefinition());
if(ParticleEnergy > PBound->GetMinEneToParametrise(ParticleType) ||
if(ParticleEnergy > PBound->GetMinEneToParametrise(ParticleType) &&
ParticleEnergy < PBound->GetMaxEneToParametrise(ParticleType) )
{
// check conditions depending on particle flavour
@@ -112,6 +112,7 @@ G4bool GFlashShowerModel::ModelTrigger(const G4FastTrack & fastTrack )
if (select) EnergyStop= PBound->GetEneToKill(ParticleType);
}
}
return select;
}