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

Improve the branch ratio consistency in RDM: use the enum instead of number #26

Closed
wants to merge 1 commit into from

Conversation

mirguest
Copy link

Dear Geant4 developers,

In RDM, the definitions of the different radioactive decay modes can be found in G4RadioactiveDecayMode.hh. However, the index used in the branch ratio could be different from the number in G4RadioactiveDecayMode.hh. This will cause the problem for some new added decay modes, for example, the Triton decay. So in this PR, the index numbers are all replaced by the enum defined in G4RadioactiveDecayMode.hh.

Tao

@gcosmo
Copy link
Contributor

gcosmo commented Nov 23, 2021

Thanks. The proposed modifications are now pushed in the development master and will be included in next public release.

@gcosmo gcosmo closed this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants