next-exp / nexus

Geant4 simulation framework of the NEXT Collaboration
5 stars 55 forks source link

Fix hit ids #181

Closed paolafer closed 2 years ago

paolafer commented 2 years ago

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.