39 #ifdef G4MULTITHREADED
64 int main(
int argc,
char** argv)
72 #ifdef G4MULTITHREADED
76 if (argc > 2) seed = atoi(argv[argc-1]);
81 G4Random::setTheSeed(seed);
90 while ((c=getopt(argc,argv,
"p")) != -1)
100 "Option -%c requires an operand\n", optopt);
104 "Unrecognised option: -%c\n", optopt);
132 if (argc > 2) { optmax = optmax-1; }
136 G4String command =
"/control/execute ";
137 for ( ; optind < optmax; optind++)
139 G4String macroFilename = argv[optind];
143 #else // Simple UI for Windows runs, no possibility of additional arguments
146 G4String command =
"/control/execute ";
G4int ApplyCommand(const char *aCommand)
Definition of the WLSDetectorConstruction class.
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
int main(int argc, char **argv)
Definition of the WLSActionInitialization class.
G4GLOB_DLL std::ostream G4cout
Definition of the WLSPhysicsList class.