37 #include "DetectorConstruction.hh"
38 #include "PhysicsList.hh"
39 #include "ActionInitialization.hh"
41 #ifdef G4MULTITHREADED
52 #include "CommandLineParser.hh"
65 using namespace G4DNAPARSER;
68 void Parse(
int& argc,
char** argv);
70 int main(
int argc,
char** argv)
82 #ifdef G4MULTITHREADED
93 else if(option ==
"NMAX")
102 G4cout <<
"===== Chem2 is started with " << nThreads
103 <<
" threads =====" <<
G4endl;
175 G4String command =
"/control/execute ";
201 void Parse(
int& argc,
char** argv)
210 "Select geant4 UI or just launch a geant4 terminal session",
215 "Give a mac file to execute",
224 #ifdef G4MULTITHREADED
226 "Launch in MT mode (events computed in parallel,"
227 " NOT RECOMMANDED WITH CHEMISTRY)",
233 "Deactivate chemistry");
237 "Select a visualization driver",
242 "Deactivate visualization when using GUI");