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

Bugfix: Messenger for field z offsets #277

Merged
merged 3 commits into from
Oct 2, 2019

Conversation

wdconinc
Copy link
Member

@wdconinc wdconinc commented Oct 2, 2019

Instead of changing the fieldmaps, filenames, md5 checksum etc, we're just going to shift the field in the macro for now. This introduces that functionality.

/remoll/magcurrent -> /remoll/field/current

Previous versions didn't work anymore since now Geant4 tokenizes
arguments on spaces and only the first one (field name) was passed. Now
passing also second one. No unit since only two arguments are supported
by G4AnyMethod.
Value entered in meters since, again, no third token for units is
allowed.
This will cause the old magnetic fields to be read in correctly,
even if there is no /remoll/field/zoffset command
@wdconinc wdconinc merged commit 55716c0 into develop Oct 2, 2019
@wdconinc wdconinc deleted the bugfix-messenger-field-offset branch October 2, 2019 21:00
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.

1 participant