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

Fix for "interesting" SPLIT + GROUP issue. #1760

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

willend
Copy link
Contributor

@willend willend commented Nov 14, 2024

Found by Torben R. Nielsen: An instrument with SPLIT and a subsequent GROUP of monitors would "lose intensity" and events. After a long analysis with Erik we found that this was due to use of ABSORB; in the final GROUP member (but in the raytrace function) yet still meaning exit().

Hence, non-scattered neutrons (or e.g. n'th pass of the SPLIT) would always exit not only the group, but the full raytrace() fct.

Found by Torben R. Nielsen: An instrument with SPLIT and a subsequent GROUP
of monitors would "lose intensity" and events. After a long analysis with
Erik we found that this was due to use of ABSORB; in the final GROUP
member (but in the raytrace function) yet still meaning exit().

Hence, non-scattered neutrons (or e.g. n'th pass of the SPLIT) would
always exit not only the group, but the full raytrace() fct.
@willend
Copy link
Contributor Author

willend commented Nov 14, 2024

All checks OK, merging.

@willend willend merged commit c046362 into main Nov 14, 2024
28 checks passed
@willend willend deleted the cogen-fix-SPLIT-and-GROUP branch December 16, 2024 10:20
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