GGS(GenericGEANT4Simulation)Software
2.7.0
|
Mother class for user actions in GGS. More...
#include <GGSUserAction.h>
Public Member Functions | |
GGSUserAction () | |
Constructor. More... | |
virtual | ~GGSUserAction () |
Destructor. | |
G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *) |
Override of the ClassifyNewTrack method. More... | |
Mother class for user actions in GGS.
This class inherits from the various non-mandatory user actions in GEANT4. With its concrete implementations it is possible to create a single user action that can act at every simulation level (step, track, event, run), eliminating the need to interface user actions at different simulation levels. Currently, G4UserStackingAction is not supported.
Definition at line 27 of file GGSUserAction.h.
|
inline |
Constructor.
This simply calls the constructors of the base classes.
Definition at line 38 of file GGSUserAction.h.
|
inline |
Override of the ClassifyNewTrack method.
This method always return -100, i.e. a non-valid classification. The GGSUserActionsManager will take care of handling this value correctly and return a valid classification to the Geant4 kernel. The user should override this method and return a meaningful value to effectively classify the track (see the G4ClassificationOfNewTrack enum in Geant4 documentation).
Definition at line 54 of file GGSUserAction.h.