#include <Doxymodules_field.h>
Definition at line 115 of file Doxymodules_field.h.
◆ F04RunActionMessenger()
F04RunActionMessenger::F04RunActionMessenger |
( |
F04RunAction * |
runAction | ) |
|
Definition at line 44 of file F04RunActionMessenger.cc.
46{
48 fRndmDir->SetGuidance(
"Rndm status control.");
49
52 SetGuidance("set frequency to save rndm status on external files.");
54 fRndmSaveCmd->SetGuidance(
"freq > 0 saved on: beginOfRun.rndm");
55 fRndmSaveCmd->SetGuidance(
"freq = 1 saved on: endOfRun.rndm");
56 fRndmSaveCmd->SetGuidance(
"freq = 2 saved on: endOfEvent.rndm");
59 fRndmSaveCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
60
62 fRndmReadCmd->SetGuidance(
"get rndm status from an external file.");
65 fRndmReadCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
66
69 fSetAutoSeedCmd->SetGuidance(
" true: run seeds determined by system time");
70 fSetAutoSeedCmd->SetGuidance(
"false: use command 'random/resetEngineFrom'");
74}
F04RunAction * fRunAction
G4UIcmdWithABool * fSetAutoSeedCmd
G4UIcmdWithAnInteger * fRndmSaveCmd
G4UIcmdWithAString * fRndmReadCmd
◆ ~F04RunActionMessenger()
F04RunActionMessenger::~F04RunActionMessenger |
( |
| ) |
|
|
override |
◆ SetNewValue()
Definition at line 86 of file F04RunActionMessenger.cc.
87{
90
92 { G4cout << "\n---> rndm status restored from file: " << newValue << G4endl;
93 G4Random::restoreEngineStatus(newValue);
94 G4Random::showEngineStatus();
95 }
96
99}
void SetRndmFreq(G4int val)
void SetAutoSeed(const G4bool val)
◆ fRunAction
◆ fRndmDir
◆ fRndmSaveCmd
◆ fRndmReadCmd
◆ fSetAutoSeedCmd
The documentation for this class was generated from the following files: