Use the TruthUtils for particle selection, part A
The basic idea is to replace the hardcoded checks of particle statuses with the selector functions from TruthUtils
.
According to the status
:
- 1
MC::isStable()
- 2
MC::isDecayed()
- 1||2
MC::isPhysical()
This is needed to change the definition of those functions in the end and be able to encode in the status()
the information on the interations of particles in the Geant.
@jchapman @pclark
Edited by Andrii Verbytskyi