UserSteppingAction() vs ProcessHits() when using a sensitive detector

I understand 'ProcessHits()` method is invoked for every step within a volume assigned to that sensitive detector. Suppose that I define the mySteppingAction::UserSteppingAction(). Am I guessing right that both ProcessHits() and UserSteppingAction() will be invoked after every step, if it happens within a sensitive detector?

Yes, you are right …

1 Like