#include <TestActionTool.h>
|
| | TestAction () |
| | Constructor.
|
| virtual void | BeginOfRunAction (const G4Run *) override final |
| | Executes before the run.
|
| virtual void | EndOfRunAction (const G4Run *) override final |
| | Exeuctes after the run.
|
| virtual void | BeginOfEventAction (const G4Event *) override final |
| | Executes at beginning of G4 event.
|
| virtual void | EndOfEventAction (const G4Event *) override final |
| | Executes at end of G4 event.
|
| virtual void | UserSteppingAction (const G4Step *step) override final |
| | Stepping action method.
|
| const Report & | getReport () const |
| | Get the results report.
|
◆ TestAction()
| G4UA::TestAction::TestAction |
( |
| ) |
|
◆ BeginOfEventAction()
| void G4UA::TestAction::BeginOfEventAction |
( |
const G4Event * | | ) |
|
|
finaloverridevirtual |
Executes at beginning of G4 event.
Definition at line 42 of file TestActionTool.cxx.
43 {
44 G4cout << "TestAction::BeginOfEventAction" << G4endl;
46 }
Report m_report
Results report.
◆ BeginOfRunAction()
| void G4UA::TestAction::BeginOfRunAction |
( |
const G4Run * | | ) |
|
|
finaloverridevirtual |
Executes before the run.
Definition at line 23 of file TestActionTool.cxx.
24 {
25 G4cout << "TestAction::BeginOfRunAction" << G4endl;
26 }
◆ EndOfEventAction()
| void G4UA::TestAction::EndOfEventAction |
( |
const G4Event * | | ) |
|
|
finaloverridevirtual |
Executes at end of G4 event.
Definition at line 51 of file TestActionTool.cxx.
52 {
53 G4cout << "TestAction::EndOfEventAction" << G4endl;
54 }
◆ EndOfRunAction()
| void G4UA::TestAction::EndOfRunAction |
( |
const G4Run * | | ) |
|
|
finaloverridevirtual |
Exeuctes after the run.
Definition at line 31 of file TestActionTool.cxx.
32 {
33 G4cout << "TestAction::EndOfRunAction - "
34 <<
m_report.numEvent <<
" events processed, "
35 <<
m_report.numStep <<
" steps processed"
36 << G4endl;
37 }
◆ getReport()
| const Report & G4UA::TestAction::getReport |
( |
| ) |
const |
|
inline |
◆ UserSteppingAction()
| void G4UA::TestAction::UserSteppingAction |
( |
const G4Step * | step | ) |
|
|
finaloverridevirtual |
◆ m_report
| Report G4UA::TestAction::m_report |
|
private |
The documentation for this class was generated from the following files: