37 #ifdef G4MULTITHREADED
67 int main(
int argc,
char** argv)
69 #ifdef G4MULTITHREADED
73 if (argc > 2) seed = atoi(argv[argc-1]);
78 G4Random::setTheSeed(seed);
87 while ((c=getopt(argc,argv,
"p")) != -1)
97 "Option -%c requires an operand\n",
optopt);
101 "Unrecognised option: -%c\n",
optopt);
131 if (argc > 2) { optmax = optmax-1; }
135 G4String command =
"/control/execute ";
142 #else // Simple UI for Windows runs, no possibility of additional arguments
145 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
int main(int argc, char **argv)
Definition of the WLSDetectorConstruction class.
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
Definition of the WLSPhysicsList class.
Definition of the WLSActionInitialization class.
G4int ApplyCommand(const char *aCommand)