Skip to content

Add a user option to set an upper limit on the number if IAs for each events#113

Open
GallegoSav wants to merge 10 commits intozoglauer:develop-cosifrom
GallegoSav:IA_nb_limit
Open

Add a user option to set an upper limit on the number if IAs for each events#113
GallegoSav wants to merge 10 commits intozoglauer:develop-cosifrom
GallegoSav:IA_nb_limit

Conversation

@GallegoSav
Copy link

Sometimes high energetic particles (~100GeV) produces a huge amount of interactions due to the artificial very high number of Ge strips.
Computing these events slow down a lot the simulation sometime so I added an option that can be set in the source file
AllowMaxNbofIAs true 1000000 to stop processing this event if it reaches a certain number of IAs.

This need to be carefully set if you don't want to remove too much events and bias your simulation result. The idea would be to cut the outliers which have >10^5-10^6 IAs for example (see plot below).

image

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