Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: GeneratedParticles: ignore MCParticles with generatorStatus != 1 (…
…#772) ### Briefly, what does this PR introduce? The GeneratedParticles branch all MCParticles which are thrown into the detector, in the ReconstructedParticles format (for easy comparison). This means we should not include generatorStatus == 0 as was the case until now. ### What kind of change does this PR introduce? - [x] Bug fix (issue: GeneratedParticles includes more particles than intended) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No. ### Does this PR change default behavior? Yes, excludes secondary particles (which should be determined from MCParticles based on the bit pattern in simulatorStatus).
- Loading branch information