Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
+4 -2
View File
@@ -1152,8 +1152,10 @@ void G4SPSEneDistribution::ConvertEPNToEnergy()
// Set Emin and Emax
Emin = ebins[0];
Emax = ebins[maxcount-1];
if (maxcount > 1)
Emax = ebins[maxcount-1];
else
Emax = ebins[0];
// Put energy bins into new histogram - UDefEnergyH.
for(count=0;count<maxcount;count++)
{