Improve logic for MC particle generation
Simplifies the MCParticle logic by storing the begin and end point of a track instead of the entry and exit point of the sensor (for single particle passage this is the same). This should be more future-proof.
The changes to the MCParticle object are not backwards compatible, thus if we want this we should preferably add this before v1.0.
Needs to be done
-
Update of documentation -
Getting parent of MCParticle (if available)