#include <RunMessenger.hh>
Definition at line 53 of file RunMessenger.hh.
RunMessenger::RunMessenger |
( |
RunAction * |
runAction | ) |
|
Definition at line 48 of file RunMessenger.cc.
50 fRunAction(runAction),
51 fRndmDir(0), fRndmSaveCmd(0), fRndmReadCmd(0)
57 fRndmSaveCmd->
SetGuidance(
"set frequency to save rndm status on external files.");
59 fRndmSaveCmd->
SetGuidance(
"freq > 0 saved on: beginOfRun.rndm");
60 fRndmSaveCmd->
SetGuidance(
"freq = 1 saved on: endOfRun.rndm");
61 fRndmSaveCmd->
SetGuidance(
"freq = 2 saved on: endOfEvent.rndm");
63 fRndmSaveCmd->
SetRange(
"frequency>=0 && frequency<=2");
67 fRndmReadCmd->
SetGuidance(
"get rndm status from an external file.");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *defVal)
RunMessenger::~RunMessenger |
( |
| ) |
|
virtual RunMessenger::~RunMessenger |
( |
| ) |
|
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 84 of file RunMessenger.cc.
86 if (command == fRndmSaveCmd) {
90 if (command == fRndmReadCmd) {
91 G4cout <<
"\n---> rndm status restored from file: " << newValues <<
G4endl;
static void restoreEngineStatus(const char filename[]="Config.conf")
static G4int GetNewIntValue(const char *paramString)
G4GLOB_DLL std::ostream G4cout
static void showEngineStatus()
void SetRndmFreq(G4int val)
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm10/include/RunMessenger.hh
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr03/include/RunMessenger.hh
- source/geant4.10.03.p03/examples/extended/electromagnetic/TestEm10/src/RunMessenger.cc
- source/geant4.10.03.p03/examples/extended/hadronic/Hadr03/src/RunMessenger.cc