![]() |
ATLAS Offline Software
|
A service which manages the user actions for G4 simulation. More...
#include <UserActionSvc.h>
Public Member Functions | |
| UserActionSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard constructor. | |
| StatusCode | initialize () override |
| Initialize the service. | |
| StatusCode | initializeActionsMaster () override final |
| Initialize the user run actions for the main thread. | |
| StatusCode | initializeActions () override final |
| Initialize the user actions for the current thread. | |
| StatusCode | getSecondaryActions (std::vector< G4UserSteppingAction * > &actions) override final |
| StatusCode | addActionTool (const ToolHandle< IUserActionTool > &service_tool) override final |
| void | G4RunTool (IG4RunTool *) override final |
| StatusCode | BeginOfAthenaEvent (HitCollectionMap &) override final |
| Calls BeginOfAthenaEvent on each UserAction tool. | |
| StatusCode | EndOfAthenaEvent (HitCollectionMap &) override final |
| Calls EndOfAthenaEvent on each UserAction tool. | |
Private Attributes | |
Handles to ATLAS action tools | |
| ToolHandleArray< IUserActionTool > | m_userActionTools |
| User action tools. | |
ATLAS Geant4 user actions | |
| ThreadActionHolder< G4AtlasRunAction > | m_runActions |
| Thread-local run action. | |
| ThreadActionHolder< G4AtlasPrimaryGeneratorAction > | m_primaryGeneratorActions |
| Thread-local primary generator action. | |
| ThreadActionHolder< G4AtlasEventAction > | m_eventActions |
| Thread-local event action. | |
| ThreadActionHolder< G4AtlasStackingAction > | m_stackingActions |
| Thread-local stacking action. | |
| ThreadActionHolder< G4AtlasTrackingAction > | m_trackingActions |
| Thread-local tracking action. | |
| ThreadActionHolder< G4AtlasSteppingAction > | m_steppingActions |
| Thread-local stepping action. | |
A service which manages the user actions for G4 simulation.
Definition at line 35 of file UserActionSvc.h.
| G4UA::UserActionSvc::UserActionSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Standard constructor.
Definition at line 21 of file UserActionSvc.cxx.
|
finaloverride |
Definition at line 50 of file UserActionSvc.cxx.
|
finaloverride |
Calls BeginOfAthenaEvent on each UserAction tool.
Definition at line 223 of file UserActionSvc.cxx.
|
finaloverride |
Calls EndOfAthenaEvent on each UserAction tool.
Definition at line 234 of file UserActionSvc.cxx.
|
finaloverride |
Definition at line 29 of file UserActionSvc.cxx.
|
finaloverride |
Definition at line 215 of file UserActionSvc.cxx.
|
override |
Initialize the service.
Definition at line 38 of file UserActionSvc.cxx.
|
finaloverride |
Initialize the user actions for the current thread.
Definition at line 91 of file UserActionSvc.cxx.
|
finaloverride |
Initialize the user run actions for the main thread.
Definition at line 68 of file UserActionSvc.cxx.
|
private |
Thread-local event action.
Definition at line 81 of file UserActionSvc.h.
|
private |
Thread-local primary generator action.
Definition at line 79 of file UserActionSvc.h.
|
private |
Thread-local run action.
Definition at line 77 of file UserActionSvc.h.
|
private |
Thread-local stacking action.
Definition at line 83 of file UserActionSvc.h.
|
private |
Thread-local stepping action.
Definition at line 87 of file UserActionSvc.h.
|
private |
Thread-local tracking action.
Definition at line 85 of file UserActionSvc.h.
|
private |
User action tools.
Definition at line 69 of file UserActionSvc.h.