LDMX Software
|
Implementation of user run action hook. More...
#include <RunAction.h>
Public Member Functions | |
RunAction ()=default | |
Class constructor. | |
virtual | ~RunAction ()=default |
Class destructor. | |
void | BeginOfRunAction (const G4Run *run) |
Implementation of begin run hook. | |
void | EndOfRunAction (const G4Run *run) |
Implementation of end run hook. | |
void | registerAction (UserAction *runAction) |
Register a user action of type RunAction with this class. | |
Private Attributes | |
std::vector< UserAction * > | runActions_ |
Implementation of user run action hook.
Definition at line 34 of file RunAction.h.
void simcore::g4user::RunAction::BeginOfRunAction | ( | const G4Run * | run | ) |
Implementation of begin run hook.
run | The current Geant4 run info. |
Definition at line 17 of file RunAction.cxx.
void simcore::g4user::RunAction::EndOfRunAction | ( | const G4Run * | run | ) |
Implementation of end run hook.
run | The current Geant4 run info. |
Definition at line 24 of file RunAction.cxx.
|
inline |
Register a user action of type RunAction with this class.
action | User action of type RunAction |
Definition at line 63 of file RunAction.h.
|
private |
Definition at line 68 of file RunAction.h.