3-body phase space fixes for pion production in hA/hN 2018 and 2025#498
Open
sjgardiner wants to merge 3 commits into
Open
3-body phase space fixes for pion production in hA/hN 2018 and 2025#498sjgardiner wants to merge 3 commits into
sjgardiner wants to merge 3 commits into
Conversation
…ematics. Add in optional bias towards forward nucleon momentum.
XML-based configuration of the bias parameter.
…tion FSI to the hA/hN 2025 models. The adjustments are intended to match what was previously done for hA/hN 2018.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates and replaces #448 originally prepared by Gray Putnam. Changes they originally developed for the 2018 model versions have also been applied consistently to the 2025 code. The main changes involve
Sampling particle polar angle cosines rather than just the polar angles (a mistake present in the original code and commonly-encountered elsewhere, see https://mathworld.wolfram.com/SpherePointPicking.html).
Introducing a bias parameter that allows reshaping of pion production kinematic sampling away from pure 3-body phase space. The parameter is XML-configurable and defaults to a value of zero (no bias at all).
Updating interfaces to handle non-zero values of the bias parameter correctly.