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) {
61 G4Random::setTheEngine(
new CLHEP::RanecuEngine);
64 #ifdef G4MULTITHREADED
69 G4cout <<
"### TestEm12 run in MT mode with "
70 << nThreads <<
" threads " <<
G4endl;
90 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetNumberOfThreads(G4int n)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4int G4GetNumberOfCores()
int main(int argc, char **argv)
static G4int ConvertToInt(const char *st)
Action initialization class.
static void SetInstance(G4VSteppingVerbose *Instance)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
Detector construction class to demonstrate various ways of placement.
G4int ApplyCommand(const char *aCommand)