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

Last vertex interaction splitting #423

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

majacquet
Copy link
Collaborator

DO not merge, just for wheels.

Split at the last vertex of interaction if an interacting particles exits the patients.

To not have any bias created by the conditionnal probability to generate a track , the splitting method is the following :
if a primary particle exits the patient : kill and re create a track with a weight equal to the primary weight * 1/N weight, N being the multiplicity

if the track subsequently generated exits the patient, the total weight is incremented of the particle weight value, until it attains the weight of the primary particle. If the track does not exit the patient or undergoes an interaction, we kill it and relaunch a track without total weight incrementation.

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