Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 77 of file OpNovice.cc.
88 #ifdef G4MULTITHREADED 93 for (
G4int i=1; i<argc; i=i+2 ) {
94 if (
G4String(argv[i]) ==
"-m" ) macro = argv[i+1];
95 else if (
G4String(argv[i]) ==
"-u" ) session = argv[i+1];
96 else if (
G4String(argv[i]) ==
"-r" ) myseed = atoi(argv[i+1]);
97 #ifdef G4MULTITHREADED 98 else if (
G4String(argv[i]) ==
"-t" ) {
114 #ifdef G4MULTITHREADED 122 G4Random::setTheSeed(myseed);
150 if ( macro.size() ) {
152 G4String command =
"/control/execute ";
162 UImanager->
ApplyCommand(
"/control/execute OpNovice.in");
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetNumberOfThreads(G4int n)
static G4UImanager * GetUIpointer()
static G4UIterminal * session
static G4int ConvertToInt(const char *st)
virtual void Initialize()
G4int ApplyCommand(const char *aCommand)