Changeset 964 for trunk/source/event/src/G4SPSEneDistribution.cc
- Timestamp:
- Apr 6, 2009, 2:34:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/event/src/G4SPSEneDistribution.cc
r816 r964 1153 1153 // Set Emin and Emax 1154 1154 Emin = ebins[0]; 1155 Emax = ebins[maxcount-1]; 1156 1155 if (maxcount > 1) 1156 Emax = ebins[maxcount-1]; 1157 else 1158 Emax = ebins[0]; 1157 1159 // Put energy bins into new histogram - UDefEnergyH. 1158 1160 for(count=0;count<maxcount;count++)
Note: See TracChangeset
for help on using the changeset viewer.