-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add UniformAlongStepFactory for Geant4 integration #702
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to support no field as it is. Please see comments for further consideration.
@whokion I saw you approved this, but do you have any further comments before merging? Does the new ability to set the magnetic field look ok? |
@sethrj Sorry for the delay! Looks good to go (with the change for the exception related to |
Not a problem, thanks for the feedback! |
I've added a helper class
UniformAlongStepFactory
that translates aG4ThreeVector
with the field magnitude in native CLHEP/G4 units to an along-step action. I also made a few minor quality of life improvements to the MT logger.