When a particle crossed two different ionization sensitive detectors and deposited energy in both of them, the hit IDs of the hits were repeated, starting from 0 in each sensitive detector.
This PR fixes this bug, and now the hits of a given particle have increasing hit ID, no matter which sensitive detector has registered them.
When a particle crossed two different
ionization
sensitive detectors and deposited energy in both of them, the hit IDs of the hits were repeated, starting from 0 in each sensitive detector. This PR fixes this bug, and now the hits of a given particle have increasing hit ID, no matter which sensitive detector has registered them.