-
Notifications
You must be signed in to change notification settings - Fork 40
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
majacquet
wants to merge
50
commits into
master
Choose a base branch
from
last_vertex_interaction_splitting
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+9,916
−14
Conversation
This file contains 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
…tor, suppression of probe system and improvement of the russian roulette on the particle weights
…dd of a user function to remove or not a geometry holder (e.g air box) encompassing the volumes to bias
… (except fluorescence) is split. Need to provide some tests to verify all features.
…t the actor volume without any interaction
…at the exit of the volume
…production + tracking
…_from_actors' into last_vertex_interaction_splitting
…ucture and a source creation to regenerate event
…raction_splitting
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.
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.