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)
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)