42 fEventAction(eventAction),
45 fSetVerboseLevelCmd(0),
46 fSetPrintModuloCmd(0),
50 fTopDirectory->
SetGuidance(
"UI commands of common example classes");
56 fSetVerboseLevelCmd->
SetGuidance(
"Set event verbose level ." );
61 fSetPrintModuloCmd->
SetGuidance(
"Print events modulo n");
63 fSetPrintModuloCmd->
SetRange(
"PrintModulo>0");
67 fSetSaveRndmCmd->
SetGuidance(
"Activate saving random number at endOfEvent.");
77 delete fSetVerboseLevelCmd;
78 delete fSetPrintModuloCmd;
79 delete fSetSaveRndmCmd;
85 if(command == fSetVerboseLevelCmd) {
88 else if ( command == fSetPrintModuloCmd ) {
91 else if ( command == fSetSaveRndmCmd ) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
ExG4EventAction01Messenger(ExG4EventAction01 *eventAction)
~ExG4EventAction01Messenger()
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
static G4bool GetNewBoolValue(const char *paramString)
void SetPrintModulo(G4int value)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
Definition of the ExG4EventAction01 class.
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void SetSaveRndm(G4bool value)
void AvailableForStates(G4ApplicationState s1)
void SetVerboseLevel(G4int level)
Definition of the ExG4EventAction01Messenger class.