Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4HepMC/src/RunAction.hpp>
Public Member Functions | |
RunAction () | |
Construct the action and ensure singleton usage. | |
~RunAction () override | |
void | BeginOfRunAction (const G4Run *run) override |
void | EndOfRunAction (const G4Run *run) override |
Interface method at the end of the run. | |
Static Public Member Functions | |
static RunAction * | instance () |
Static access method. | |
Static Private Attributes | |
static RunAction * | s_instance = nullptr |
Instance of the EventAction. | |
The RunAction class is the implementation of the Geant4 class G4UserRunAction. It initiates the run an resets the EventAction
Definition at line 23 of file RunAction.hpp.
View newest version in sPHENIX GitHub at line 23 of file RunAction.hpp
ActsExamples::Geant4::HepMC3::RunAction::RunAction | ( | ) |
Construct the action and ensure singleton usage.
Definition at line 25 of file RunAction.cpp.
View newest version in sPHENIX GitHub at line 25 of file RunAction.cpp
References s_instance.
|
override |
Definition at line 33 of file RunAction.cpp.
View newest version in sPHENIX GitHub at line 33 of file RunAction.cpp
References s_instance.
|
override |
Interface method at the begin of the run
Definition at line 37 of file RunAction.cpp.
View newest version in sPHENIX GitHub at line 37 of file RunAction.cpp
References ActsExamples::Geant4::HepMC3::EventAction::clear(), and ActsExamples::Geant4::HepMC3::EventAction::instance().
|
override |
Interface method at the end of the run.
Definition at line 42 of file RunAction.cpp.
View newest version in sPHENIX GitHub at line 42 of file RunAction.cpp
|
static |
Static access method.
Definition at line 21 of file RunAction.cpp.
View newest version in sPHENIX GitHub at line 21 of file RunAction.cpp
References s_instance.
|
staticprivate |
Instance of the EventAction.
Definition at line 41 of file RunAction.hpp.
View newest version in sPHENIX GitHub at line 41 of file RunAction.hpp
Referenced by instance(), RunAction(), and ~RunAction().