I defined a hit class to register:
- positions and energies of neutrons at the surface of a volume
- energy of neutrons generated inside the volume from a spallation process
I have this problem. The number of hits in the volume is different with respect the number of hits at the surface. It means that I fill the hit collection for the particles at the surface
in a different time than I fill the particle generated inside:
As I know, the advantage of the adoption of the SensitiveDetector relies on to avoid the definition of multiple classes for multiple scorers. But, from this case, it seems that I have to define different hit classes.
Any suggestion please?