Run action (before/after run processing). More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par02RunAction (const G4String OutName="SimpleOutput") | |
A default constructor. | |
virtual | ~Par02RunAction () |
virtual void | BeginOfRunAction (const G4Run *) |
Defines the actions at the beginning of the run. | |
virtual void | EndOfRunAction (const G4Run *) |
Defines the actions at the end of the run. | |
Run action (before/after run processing).
Defines the action at the beginning and at the end of each run. Content of G4Run cannot be changed. The class needs to be set in G4RunManager::SetUserAction().
Definition at line 48 of file Doxymodules_parameterisations.h.
Par02RunAction::Par02RunAction | ( | const G4String | OutName = "SimpleOutput" | ) |
A default constructor.
OutName | The output root file name (it will store all the events within one run). |
Definition at line 38 of file Par02RunAction.cc.
|
virtual |
Definition at line 45 of file Par02RunAction.cc.
|
virtual |
Defines the actions at the beginning of the run.
It starts the analysis (create output root file) and create all the histograms defined in Par02Output singleton class.
Definition at line 55 of file Par02RunAction.cc.
|
virtual |
Defines the actions at the end of the run.
It ends the analysis (write and close output root file) via Par02Output singleton class.
Definition at line 62 of file Par02RunAction.cc.