52 #include "DetectorConstruction.hh"
55 #include "PrimaryGeneratorAction.hh"
56 #include "ActionInitialization.hh"
63 int main(
int argc,
char** argv) {
69 #ifdef G4MULTITHREADED
78 <<
" threads" <<
" #####" <<
G4endl;
81 G4cout <<
"##### Hadr00 started in sequential mode"
94 if (argc>=3) { physName = argv[2]; }
98 char* path = getenv(
"PHYSLIST");
99 if (path) { physName =
G4String(path); }
104 physName =
"FTFP_BERT";
130 G4String command =
"/control/execute ";
void SetNumberOfThreads(G4int n)
G4int ApplyCommand(const char *aCommand)
G4bool IsReferencePhysList(const G4String &)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static G4UImanager * GetUIpointer()
G4int GetNumberOfThreads() const
static G4int ConvertToInt(const char *st)
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Action initialization class.
void SetPhysicsList(G4VModularPhysicsList *ptr)
int main(int argc, char **argv)
G4GLOB_DLL std::ostream G4cout
Simple detector construction with a box volume placed in a world.