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

Make rejected list configurable in Geant4InputHandling #390

Closed
petricm opened this issue May 22, 2018 · 0 comments · Fixed by #503
Closed

Make rejected list configurable in Geant4InputHandling #390

petricm opened this issue May 22, 2018 · 0 comments · Fixed by #503
Assignees

Comments

@petricm
Copy link

petricm commented May 22, 2018

The current solution for the bug (#387) in Geant4InputHandling for documentation particles is to introduce a hard-coded list of rejected PGD

const std::set<int> leptonPDGs{11,13,15,17};
...
(isProperTimeZero and leptonPDGs.count(abs(p->pdgID)) != 0 ) 

I would be good to generalize this list to be steerable, with current hard-coded values being the defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants