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

Misc fixes #67

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Misc fixes #67

merged 5 commits into from
Apr 5, 2024

Conversation

ManuelHu
Copy link
Collaborator

@ManuelHu ManuelHu commented Apr 4, 2024

  • We already had RMGTools for handling of string/enums, so removing some usages of fmt/magic_enum
  • /RMG/Manager/Include modifies the vector of macro files while it is being iterated. This is potentially unsafe (it might invalidate the iterator).
    Moreover, I think this command is rather useless: One can just use /control/execute instead. The command also did never work in interactive mode.
  • The _RMG_* constants in the header files where not aligned with the file names anymore (after a lot of renames)
  • Some physics commands cann only be used in G4State_PreInit; their value is just used once in the physics list setup. Changing it afterwards will not work.

@gipert gipert merged commit 3589d05 into legend-exp:main Apr 5, 2024
5 checks passed
@ManuelHu ManuelHu deleted the misc-fixes branch April 6, 2024 12:13
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.

2 participants