It is actually not used by any Geant4 kernel class. In the past, there was a user’s use-case where one sensitive detector dispatches ProcessHits() to some subsequent (i.e. child) sensitive detectors, and to avoid double-counting, one of these child detector may return true or false. We don’t know whether such a use-case is still valid, but once we change the return type of this method from G4bool to void, it affects basically all users. Thus we are reluctant to make this change.
1 Like