#include <G4RTWorkerInitialization.hh>
Definition at line 44 of file G4RTWorkerInitialization.hh.
◆ G4RTWorkerInitialization()
G4RTWorkerInitialization::G4RTWorkerInitialization |
( |
| ) |
|
◆ ~G4RTWorkerInitialization()
G4RTWorkerInitialization::~G4RTWorkerInitialization |
( |
| ) |
|
|
virtual |
◆ WorkerRunEnd()
void G4RTWorkerInitialization::WorkerRunEnd |
( |
| ) |
const |
|
virtual |
Reimplemented from G4UserWorkerInitialization.
Definition at line 88 of file G4RTWorkerInitialization.cc.
89{
91 runMan->
SetUserAction(
const_cast<G4UserRunAction*
>(theUserRunAction));
92 runMan->
SetUserAction(
const_cast<G4VUserPrimaryGeneratorAction*
>(theUserPrimaryGeneratorAction));
93 runMan->
SetUserAction(
const_cast<G4UserEventAction*
>(theUserEventAction));
94 runMan->
SetUserAction(
const_cast<G4UserStackingAction*
>(theUserStackingAction));
95 runMan->
SetUserAction(
const_cast<G4UserTrackingAction*
>(theUserTrackingAction));
96 runMan->
SetUserAction(
const_cast<G4UserSteppingAction*
>(theUserSteppingAction));
97}
void SetUserAction(G4UserRunAction *userAction) override
static G4WorkerRunManager * GetWorkerRunManager()
◆ WorkerRunStart()
void G4RTWorkerInitialization::WorkerRunStart |
( |
| ) |
const |
|
virtual |
Reimplemented from G4UserWorkerInitialization.
Definition at line 62 of file G4RTWorkerInitialization.cc.
63{
64 if(!theRTRunAction) theRTRunAction = new G4RTRunAction;
65 if(!theRTPrimaryGeneratorAction) theRTPrimaryGeneratorAction = new G4RTPrimaryGeneratorAction;
66 if(!theRTTrackingAction) theRTTrackingAction = new G4RTTrackingAction;
67 if(!theRTSteppingAction) theRTSteppingAction = new G4RTSteppingAction;
68
70
77
84
85 theRTPrimaryGeneratorAction->SetUp();
86}
const G4UserTrackingAction * GetUserTrackingAction() const
const G4VUserPrimaryGeneratorAction * GetUserPrimaryGeneratorAction() const
const G4UserEventAction * GetUserEventAction() const
const G4UserStackingAction * GetUserStackingAction() const
const G4UserSteppingAction * GetUserSteppingAction() const
const G4UserRunAction * GetUserRunAction() const
The documentation for this class was generated from the following files: