#include <F01RunMessenger.hh>
Definition at line 48 of file F01RunMessenger.hh.
Definition at line 45 of file F01RunMessenger.cc.
57 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)
F01RunMessenger::~F01RunMessenger |
( |
| ) |
|
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 84 of file F01RunMessenger.cc.
86 if (command == fRndmSaveCmd)
89 if (command == fRndmReadCmd)
90 {
G4cout <<
"\n---> rndm status restored from file: " << newValues <<
G4endl;
91 G4Random::restoreEngineStatus(newValues);
92 G4Random::showEngineStatus();
static G4int GetNewIntValue(const char *paramString)
G4GLOB_DLL std::ostream G4cout
void SetRndmFreq(G4int val)
The documentation for this class was generated from the following files: