31 #include "DetectorConstruction.hh"
32 #include "PhysicsList.hh"
36 #include "AnalysisManager.hh"
37 #include "ActionInitialization.hh"
38 #include "AnalysisManager.hh"
42 int main(
int argc,
char** argv)
45 #ifdef G4MULTITHREADED
56 pRunManager -> SetUserInitialization(detector);
60 pRunManager -> SetUserInitialization(physics);
79 UImanager -> ApplyCommand(
"/control/execute vis.mac");
87 G4String command =
"/control/execute ";
void SetNumberOfThreads(G4int n)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Action initialization class.
int main(int argc, char **argv)
G4GLOB_DLL std::ostream G4cout
Simple detector construction with a box volume placed in a world.