118 evModCmd->
SetGuidance(
"If it is set to zero (default value), N is roughly given by this.");
120 evModCmd->
SetGuidance(
"The value N may affect on the computing performance in particular");
164 abortCmd->
SetGuidance(
"If softAbort is false (default), currently processing event will be immediately aborted,");
165 abortCmd->
SetGuidance(
"while softAbort is true, abortion occurs after processing the current event.");
208 seedCmd->
SetGuidance(
"Initialize the random number generator with integer seed stream.");
210 seedCmd->
SetGuidance(
"Actual number of integers to be used depends on the individual random number engine.");
224 "begining of event (currentEvent.rndm) ");
241 " /random/setDirectoryName.");
257 randEvtCmd->
SetGuidance(
" flag = 2 : status before event processing (after primary particle generation) is stored");
259 randEvtCmd->
SetGuidance(
"Note: Some performance overhead may be seen by storing rndm status, in particular");
308 const char* nv = (
const char*)newValue;
309 std::istringstream is(nv);
330 G4cout<<
"*** /run/numberOfThreads command is issued in sequential mode."
331 <<
"\nCommand is ignored."<<
G4endl;
336 "/run/numberOfThreads command is issued to local thread.");
348 G4cout<<
"*** /run/eventModulo command is issued in sequential mode."
349 <<
"\nCommand is ignored."<<
G4endl;
354 "/run/eventModulo command is issued to local thread.");
359 if(newValue==
"**ALL**")
368 else if( command==
optCmd )
392 while(!(vl=next()).isNull())
393 { seeds[idx] = (long)(
StoI(vl)); idx++; }
395 {
G4cerr <<
"/random/setSeeds should have at least two integers. Command ignored." <<
G4endl; }
399 CLHEP::HepRandom::setTheSeeds(seeds);
439 static_cast<G4MTRunManager*>(
runManager)->GetNumberOfThreads());
G4UIcmdWithoutParameter * saveThisRunCmd
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void GeometryHasBeenModified(G4bool prop=true)
G4UIcmdWithABool * optCmd
G4int GetVerboseLevel() const
virtual void AbortRun(G4bool softAbort=false)
G4UIcmdWithAString * randDirCmd
void SetParameter(G4UIparameter *const newParameter)
G4RunMessenger(G4RunManager *runMgr)
G4UIcmdWithoutParameter * initCmd
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIdirectory * runDirectory
const G4String & GetRandomNumberStoreDir() const
void SetVerboseLevel(G4int vl)
G4UIcmdWithAString * restoreRandCmd
static G4int GetNewIntValue(const char *paramString)
void SetParameterRange(const char *theRange)
G4UIcmdWithAnInteger * nThreadsCmd
G4UIcmdWithAnInteger * evModCmd
G4UIdirectory * randomDirectory
void SetPrintProgress(G4int i)
G4UIcmdWithAnInteger * printProgCmd
void SetToBeBroadcasted(G4bool val)
void SetGeometryToBeOptimized(G4bool vl)
void SetDefaultValue(const char *theDefaultValue)
static G4String ConvertToString(G4bool boolVal)
void SetRandomNumberStorePerEvent(G4bool flag)
virtual void BeamOn(G4int n_event, const char *macroFile=0, G4int n_select=-1)
G4UIcmdWithoutParameter * constScoreCmd
G4UIcmdWithABool * savingFlagCmd
void SetRandomNumberStore(G4bool flag)
G4int GetFlagRandomNumberStatusToG4Event() const
G4String GetCurrentValue(G4UIcommand *command)
G4UIcmdWithoutParameter * geomCmd
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4bool defVal)
G4MaterialScanner * materialScanner
static G4UImanager * GetUIpointer()
virtual void RestoreRandomNumberStatus(const G4String &fileN)
G4UIcmdWithoutParameter * dumpCoupleCmd
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual void rndmSaveThisRun()
G4GLOB_DLL std::ostream G4cout
void StoreRandomNumberStatusToG4Event(G4int vl)
void PhysicsHasBeenModified()
RMType GetRunManagerType() const
G4UIcmdWithABool * geomRebCmd
virtual void ConstructScoringWorlds()
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
virtual void rndmSaveThisEvent()
void AvailableForStates(G4ApplicationState s1)
G4UIcmdWithAString * seedCmd
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4UIcmdWithoutParameter * physCmd
void SetNewValue(G4UIcommand *command, G4String newValues)
static G4ProductionCutsTable * GetProductionCutsTable()
G4UIcmdWithABool * brkEoECmd
G4RunManager * runManager
G4UIcmdWithoutParameter * abortEventCmd
void SetDefaultValue(const char *defVal)
G4UIcmdWithABool * saveEachEventCmd
void SetPauseAtEndOfEvent(G4bool vl)
G4UIcmdWithAString * dumpRegCmd
G4UIcmdWithABool * brkBoECmd
G4UIcmdWithAnInteger * randEvtCmd
void SetPauseAtBeginOfEvent(G4bool vl)
virtual void Initialize()
G4UIcmdWithoutParameter * saveThisEventCmd
virtual void AbortEvent()
void SetDefaultValue(G4int defVal)
void SetRandomNumberStoreDir(const G4String &dir)
G4UIcmdWithABool * abortCmd
void DumpRegion(const G4String &rname) const
G4UIcmdWithAnInteger * verboseCmd
G4GLOB_DLL std::ostream G4cerr