37 #include "DetectorConstruction.hh"
38 #include "PhysicsList.hh"
39 #include "ActionInitialization.hh"
41 #ifdef G4MULTITHREADED
54 #include "CommandLineParser.hh"
67 using namespace G4DNAPARSER;
70 void Parse(
int& argc,
char** argv);
72 int main(
int argc,
char** argv)
84 #ifdef G4MULTITHREADED
95 else if(option ==
"NMAX")
104 G4cout <<
"===== Chem3 is started with "
106 <<
" threads =====" <<
G4endl;
178 G4String command =
"/control/execute ";
189 G4UIQt* UIQt =
static_cast<G4UIQt*
> (UImanager->
GetG4UIWindow());
191 UIQt->AddViewerTabFromFile(
"README",
"README from "+
G4String(argv[0]));
211 void Parse(
int& argc,
char** argv)
220 "Select geant4 UI or just launch a geant4 terminal session",
"qt");
231 #ifdef G4MULTITHREADED
233 "Launch in MT mode (events computed in parallel,"
234 " NOT RECOMMANDED WITH CHEMISTRY)",
239 "Deactivate chemistry");
242 "Select a visualization driver",
"OGL 600x600-0+0");
245 "Deactivate visualization when using GUI");