ATLAS Offline Software
Loading...
Searching...
No Matches
G4UA::IUserActionTool Class Referenceabstract

Abstract interface for tools that construct G4 user actions. More...

#include <IUserActionTool.h>

Inheritance diagram for G4UA::IUserActionTool:
Collaboration diagram for G4UA::IUserActionTool:

Public Member Functions

virtual StatusCode fillUserAction (G4AtlasUserActions &userActions)=0
 Constructs a user action and populates the user action lists with it.
virtual void G4RunTool (IG4RunTool *)
 Pointer to the G4RunTool instance.
virtual StatusCode BeginOfAthenaEvent (HitCollectionMap &)=0
virtual StatusCode EndOfAthenaEvent (HitCollectionMap &)=0
 DeclareInterfaceID (IUserActionTool, 1, 0)
 Declare this interface to the framework.

Detailed Description

Abstract interface for tools that construct G4 user actions.

This interface declares a single method for concrete tools to implement in order to plug user actions into Geant4 and the UserActionSvc.

Author
Steve Farrell Steve.nosp@m.n.Fa.nosp@m.rrell.nosp@m.@cer.nosp@m.n.ch

Definition at line 53 of file IUserActionTool.h.

Member Function Documentation

◆ BeginOfAthenaEvent()

virtual StatusCode G4UA::IUserActionTool::BeginOfAthenaEvent ( HitCollectionMap & )
pure virtual

◆ DeclareInterfaceID()

G4UA::IUserActionTool::DeclareInterfaceID ( IUserActionTool ,
1 ,
0  )

Declare this interface to the framework.

◆ EndOfAthenaEvent()

virtual StatusCode G4UA::IUserActionTool::EndOfAthenaEvent ( HitCollectionMap & )
pure virtual

◆ fillUserAction()

virtual StatusCode G4UA::IUserActionTool::fillUserAction ( G4AtlasUserActions & userActions)
pure virtual

Constructs a user action and populates the user action lists with it.

◆ G4RunTool()

virtual void G4UA::IUserActionTool::G4RunTool ( IG4RunTool * )
inlinevirtual

Pointer to the G4RunTool instance.

This is only used by the Sync* user actions to synchronize with the Geant4 run.

Definition at line 64 of file IUserActionTool.h.

64{}

The documentation for this class was generated from the following file: