33 #ifdef G4MULTITHREADED
43 #include "ActionInitialization.hh"
44 #include "DetectorConstruction.hh"
45 #include "RunActionMaster.hh"
50 int main(
int argc,
char** argv)
55 bool useNtuple =
true;
56 bool mergeNtuple =
true;
62 G4int nofExtraWorkers = 0;
63 #ifndef G4MULTITHREADED
64 if ( mergeNtuple ) nofExtraWorkers = 1;
76 prompt +=
"[40;31m(%s)[40;36m[%/][00;30m:";
77 session-> SetPrompt(prompt);
82 #ifdef G4MULTITHREADED
84 runManager-> SetNumberOfThreads(4);
92 runManager-> SetUserInitialization(
new FTFP_BERT);
93 runManager-> SetUserInitialization(
115 session-> SessionStart();