34 #ifdef G4MULTITHREADED
43 #include "DetectorConstruction.hh"
44 #include "PhysicsList.hh"
45 #include "ActionInitialization.hh"
46 #include "SteppingVerbose.hh"
58 int main(
int argc,
char** argv) {
64 G4Random::setTheEngine(
new CLHEP::RanecuEngine);
67 #ifdef G4MULTITHREADED
73 G4cout << argv[0] <<
" launched with " << nThreads
74 <<
" (may be overwritten by script)"
93 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetNumberOfThreads(G4int n)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4int G4GetNumberOfCores()
static G4int ConvertToInt(const char *st)
Action initialization class.
int main(int argc, char **argv)
static void SetInstance(G4VSteppingVerbose *Instance)
Detector construction class to demonstrate various ways of placement.
G4int ApplyCommand(const char *aCommand)