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

Merge develop into master for bugfix version #279

Merged
merged 7 commits into from
Oct 2, 2019
Merged

Merge develop into master for bugfix version #279

merged 7 commits into from
Oct 2, 2019

Conversation

wdconinc
Copy link
Member

@wdconinc wdconinc commented Oct 2, 2019

No description provided.

wdconinc and others added 7 commits September 11, 2019 23:08
Fast-forward develop to master (no actual operations on develop)
Due to a sign error, the events were generated around +4587 mm instead
of around -4587 mm. The call to GetFrameTranslation should have been a
call to GetTranslation, or various equivalent sign changes.

This was not a problem before since the target was centered at zero, and
so -0 is the same...
/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
…nstream-of-pivot

Bugfix: Fix event generator to be in the target, not downstream (MAJOR)
@wdconinc wdconinc merged commit 701c7e8 into master Oct 2, 2019
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.

None yet

1 participant