Geant4 VMC Version 6.6
|
Actions at the beginning and the end of run. More...
#include <TG4RunAction.h>
Public Member Functions | |
TG4RunAction () | |
virtual | ~TG4RunAction () |
virtual void | BeginOfRunAction (const G4Run *run) |
virtual void | EndOfRunAction (const G4Run *run) |
void | SetSaveRandomStatus (G4bool saveRandomStatus) |
void | SetReadRandomStatus (G4bool readRandomStatus) |
void | SetRandomStatusFile (G4String RandomStatusFile) |
void | SetThresholdWarningEnergy (G4double value) |
void | SetThresholdImportantEnergy (G4double value) |
void | SetNumberOfThresholdTrials (G4int value) |
Public Member Functions inherited from TG4Verbose | |
TG4Verbose (const G4String &cmdName) | |
TG4Verbose (const G4String &cmdName, G4int verboseLevel) | |
virtual | ~TG4Verbose () |
virtual void | VerboseLevel (G4int level) |
virtual G4int | VerboseLevel () const |
Private Member Functions | |
TG4RunAction (const TG4RunAction &right) | |
Not implemented. | |
TG4RunAction & | operator= (const TG4RunAction &right) |
Not implemented. | |
void | ChangeLooperParameters (const G4ParticleDefinition *particleDefinition) |
void | PrintLooperParameters () const |
Private Attributes | |
TG4RunActionMessenger | fMessenger |
messenger | |
TG4CrossSectionManager | fCrossSectionManager |
cross section manager | |
G4Timer * | fTimer |
G4Timer. | |
G4int | fRunID |
run ID | |
G4bool | fSaveRandomStatus |
control for saving random engine status | |
G4bool | fReadRandomStatus |
control for reading random engine status | |
G4String | fRandomStatusFile |
random engine status file name | |
G4double | fThresholdWarningEnergy |
Energy threshold for warnings about killing looping tracks. | |
G4double | fThresholdImportantEnergy |
G4int | fNumberOfThresholdTrials |
Number of trials to propagate a looping track. | |
Static Private Attributes | |
static const G4String | fgkDefaultRandomStatusFile = "currentRun.rndm" |
default name of the random engine status file to be read in | |
Actions at the beginning and the end of run.
Definition at line 35 of file TG4RunAction.h.
TG4RunAction::TG4RunAction | ( | ) |
Default constructor
Definition at line 60 of file TG4RunAction.cxx.
|
virtual |
Destructor
Definition at line 83 of file TG4RunAction.cxx.
|
private |
Not implemented.
|
virtual |
Called by G4 kernel at the beginning of run.
Definition at line 160 of file TG4RunAction.cxx.
|
virtual |
Called by G4 kernel at the end of run.
Definition at line 219 of file TG4RunAction.cxx.
|
inline |
Set option for saving random engine status
Definition at line 88 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
inline |
Set option for reading random engine status
Definition at line 94 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
inline |
Set random engine status file name
Definition at line 100 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
inline |
Definition at line 106 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
inline |
Definition at line 111 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
inline |
Definition at line 116 of file TG4RunAction.h.
Referenced by TG4RunActionMessenger::SetNewValue().
|
private |
Not implemented.
|
private |
Definition at line 98 of file TG4RunAction.cxx.
Referenced by BeginOfRunAction().
|
private |
Print looping thresholds parameters
Definition at line 140 of file TG4RunAction.cxx.
Referenced by BeginOfRunAction().
|
staticprivate |
default name of the random engine status file to be read in
Definition at line 65 of file TG4RunAction.h.
|
private |
messenger
Definition at line 68 of file TG4RunAction.h.
|
private |
|
private |
G4Timer.
Definition at line 70 of file TG4RunAction.h.
Referenced by BeginOfRunAction(), EndOfRunAction(), TG4RunAction(), and ~TG4RunAction().
|
private |
|
private |
control for saving random engine status
Definition at line 72 of file TG4RunAction.h.
Referenced by BeginOfRunAction(), and SetSaveRandomStatus().
|
private |
control for reading random engine status
Definition at line 73 of file TG4RunAction.h.
Referenced by BeginOfRunAction(), and SetReadRandomStatus().
|
private |
random engine status file name
Definition at line 74 of file TG4RunAction.h.
Referenced by BeginOfRunAction(), and SetRandomStatusFile().
|
private |
Energy threshold for warnings about killing looping tracks.
Definition at line 77 of file TG4RunAction.h.
Referenced by ChangeLooperParameters(), and SetThresholdWarningEnergy().
|
private |
Important energy threshold: it enables tracks above its value to survive a chosen number of ‘tracking’ steps
Definition at line 82 of file TG4RunAction.h.
Referenced by ChangeLooperParameters(), and SetThresholdImportantEnergy().
|
private |
Number of trials to propagate a looping track.
Definition at line 85 of file TG4RunAction.h.
Referenced by ChangeLooperParameters(), and SetNumberOfThresholdTrials().