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

Refactor physics list selection logic #180

Open
MoritzNeuberger opened this issue Dec 6, 2024 · 0 comments
Open

Refactor physics list selection logic #180

MoritzNeuberger opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
physics Physics list

Comments

@MoritzNeuberger
Copy link
Collaborator

MoritzNeuberger commented Dec 6, 2024

The current selection logic is quite hard coded.
The selection of available physics lists is predefined in RMGPhysics.cc with switch case.

For a more modern design, we should switch to use G4PhysListFactory.
Should be super simple, just copy it from g4simple and add a default option to the macro command.

@MoritzNeuberger MoritzNeuberger added good first issue Good for newcomers physics Physics list and removed good first issue Good for newcomers labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physics Physics list
Projects
None yet
Development

No branches or pull requests

1 participant