Geant4 Version: g4
Operating System: ubuntun22.04
Compiler/Version: gcc
CMake Version:
in the class stepping action
the code :
SteppingAction::SteppingAction()
:G4UserSteppingAction(),RunInitObserver()
i do not understand that why the class of steppingaction inherit from the Class of RunInitObserver.
i do not get the function of code.
thanks