Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rest mass and energy in DOSXYZnrc source 20
If a BEAMnrc shared library geometry was interposed between the source and the phantom and the source in the BEAMnrc input file (specifying the shared library geometry) was not a phase space or a BEAM simulation source (source 21, 23 or 24), then: 1) if the source was monoenergetic, the rest mass was erroneously added to the energies of all charged particles passing through the shared library geometry or 2) if the source had an energy spectrum, charged particles and photons were erroneously reassigned a new energy from the spectrum specified in the BEAMnrc input file before passing through the shared library geometry.
- Loading branch information