44 fRunAction (runAction),
47 fSetVerboseLevelCmd(0),
50 fSetRndmFileNameCmd(0),
54 fTopDirectory->
SetGuidance(
"UI commands of common example classes");
60 fSetVerboseLevelCmd->
SetGuidance(
"Set run verbose level ." );
66 ->
SetGuidance(
"Activate saving random number at beginOfRun and endOfRun .");
71 fSetReadRndmCmd->
SetGuidance(
"Get rndm status from an external file at beginOfRun.");
76 fSetRndmFileNameCmd->
SetGuidance(
"Set rndm file name (to read from).");
81 fSetAutoSeedCmd->
SetGuidance(
"Switch on/off time-based random seeds");
82 fSetAutoSeedCmd->
SetGuidance(
" true: run seeds determined by system time");
83 fSetAutoSeedCmd->
SetGuidance(
" false: use command 'random/resetEngineFrom'");
94 delete fSetVerboseLevelCmd;
95 delete fSetSaveRndmCmd;
96 delete fSetReadRndmCmd;
97 delete fSetRndmFileNameCmd;
98 delete fSetAutoSeedCmd;
105 if ( command == fSetVerboseLevelCmd ) {
108 else if ( command == fSetSaveRndmCmd ) {
111 else if ( command == fSetReadRndmCmd ) {
114 else if (command == fSetRndmFileNameCmd) {
117 else if ( command == fSetAutoSeedCmd ) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRndmFileName(const G4String &fileName)
void SetSaveRndm(G4bool value)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetVerboseLevel(G4int level)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
~ExG4RunAction01Messenger()
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
ExG4RunAction01Messenger(ExG4RunAction01 *)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetReadRndm(G4bool value)
Definition of the ExG4RunAction01Messenger class.
void SetAutoSeed(G4bool value)
Definition of the ExG4RunAction01 class.