372 const char* nv = (
const char*)newValue;
373 std::istringstream is(nv);
394 G4cout<<
"*** /run/numberOfThreads command is issued in sequential mode." 395 <<
"\nCommand is ignored."<<
G4endl;
400 "/run/numberOfThreads command is issued to local thread.");
413 G4cout<<
"*** /run/useMaximumLogicalCores command is issued in sequential mode." 414 <<
"\nCommand is ignored."<<
G4endl;
419 "/run/useMaximumLogicalCores command is issued to local thread.");
432 G4cout<<
"*** /run/pinAffinity command is issued in sequential mode." 433 <<
"\nCommand is ignored."<<
G4endl;
438 "/run/pinAffinity command is issued to local thread.");
449 const char* nv = (
const char*)newValue;
450 std::istringstream is(nv);
451 is >> nevMod >> sOnce;
457 G4cout<<
"*** /run/eventModulo command is issued in sequential mode." 458 <<
"\nCommand is ignored."<<
G4endl;
463 "/run/eventModulo command is issued to local thread.");
468 if(newValue==
"**ALL**")
477 else if( command==
optCmd )
501 while(!(vl=next()).isNull())
502 { seeds[idx] = (long)(
StoI(vl)); idx++; }
504 {
G4cerr <<
"/random/setSeeds should have at least two integers. Command ignored." <<
G4endl; }
508 G4Random::setTheSeeds(seeds);
G4UIcmdWithoutParameter * saveThisRunCmd
void GeometryHasBeenModified(G4bool prop=true)
G4UIcmdWithABool * optCmd
virtual void AbortRun(G4bool softAbort=false)
G4UIcmdWithAString * randDirCmd
G4UIcmdWithoutParameter * initCmd
void SetVerboseLevel(G4int vl)
G4UIcmdWithAString * restoreRandCmd
static G4int GetNewIntValue(const char *paramString)
G4UIcmdWithAnInteger * nThreadsCmd
void SetPrintProgress(G4int i)
G4UIcmdWithAnInteger * printProgCmd
void SetGeometryToBeOptimized(G4bool vl)
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)
G4UIcmdWithoutParameter * maxThreadsCmd
G4UIcmdWithoutParameter * geomCmd
static G4bool GetNewBoolValue(const char *paramString)
static G4UImanager * GetUIpointer()
virtual void RestoreRandomNumberStatus(const G4String &fileN)
G4UIcmdWithoutParameter * dumpCoupleCmd
virtual void rndmSaveThisRun()
G4GLOB_DLL std::ostream G4cout
void StoreRandomNumberStatusToG4Event(G4int vl)
void PhysicsHasBeenModified()
G4UIcmdWithABool * geomRebCmd
virtual void ConstructScoringWorlds()
G4int G4GetNumberOfCores()
virtual void rndmSaveThisEvent()
RMType GetRunManagerType() const
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
static G4ProductionCutsTable * GetProductionCutsTable()
G4UIcmdWithABool * brkEoECmd
G4RunManager * runManager
G4UIcmdWithoutParameter * abortEventCmd
G4UIcmdWithABool * saveEachEventCmd
void SetPauseAtEndOfEvent(G4bool vl)
G4UIcmdWithAString * dumpRegCmd
virtual void RestoreRndmEachEvent(G4bool)
G4UIcmdWithABool * brkBoECmd
G4UIcmdWithAnInteger * randEvtCmd
void SetPauseAtBeginOfEvent(G4bool vl)
virtual void Initialize()
G4UIcmdWithAnInteger * pinAffinityCmd
G4UIcmdWithoutParameter * saveThisEventCmd
virtual void AbortEvent()
G4UIcmdWithABool * restoreRandCmdMT
void SetRandomNumberStoreDir(const G4String &dir)
G4UIcmdWithABool * abortCmd
static void SetSeedOncePerCommunication(G4int val)
void DumpRegion(const G4String &rname) const
G4UIcmdWithAnInteger * verboseCmd
G4GLOB_DLL std::ostream G4cerr