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 energy-momentum conservation in Compton secondaries production #348

Merged
merged 1 commit into from Feb 15, 2023

Conversation

Jean1995
Copy link
Member

This PR fixes the secondaries calculator in the Compton secondaries calculator.

So far, the rest mass of the atomic electron has been neglected.
The formulae for the angles calculation also weren't accurate.

The new implementation is also validated with a UnitTest, which checks for energy and momentum conservation (which is the assumption we put into this interaction)

@Jean1995 Jean1995 merged commit fc2da25 into master Feb 15, 2023
@Jean1995 Jean1995 deleted the compton_energy_conservation_fix branch February 15, 2023 07:27
@Jean1995 Jean1995 mentioned this pull request Mar 5, 2023
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