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 50 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.

majacquet and others added 30 commits February 19, 2024 18:47
…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.
@majacquet majacquet closed this Oct 3, 2024
@majacquet majacquet reopened this Oct 3, 2024
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.

2 participants