Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix egs++ iaea phsp scoring electron energy #1077

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

rtownson
Copy link
Collaborator

@rtownson rtownson commented Nov 15, 2023

Fix a bug in egs_phsp_scoring where the electron (and positron) energy for IAEA phase-spaces was written as the total energy instead of the kinetic energy. This is a critical bug and impacted all IAEA format phase-spaces generated from egs++ that contained charged particles.

Thanks to Erik Nilsson for reporting this issue!

@rtownson rtownson added this to the Release 2024 milestone Nov 15, 2023
@rtownson rtownson self-assigned this Nov 15, 2023
@rtownson rtownson requested a review from a team as a code owner November 15, 2023 18:05
Fix a bug in egs_phsp_scoring where the electron energy for IAEA
phase-spaces was written as the total energy instead of the kinetic
energy.
Copy link
Contributor

@blakewalters blakewalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is consistent with how we're using IAEA format in the other codes...and, of course, with the definition of the IAEA format itself. Thanks, Reid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants