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
+6
View File
@@ -1137,6 +1137,12 @@ void G4SPSEneDistribution::ConvertEPNToEnergy()
G4cout << "Those above 1024 will be ignored" << G4endl;
maxcount = 1024;
}
if(maxcount < 1)
{
G4cout << "Histogram contains less than 1 bin!" << G4endl;
G4cout << "Redefine the histogram" << G4endl;
return;
}
for(count=0;count<maxcount;count++)
{
// Read out