52 #include "DetectorConstruction.hh"
55 #include "PrimaryGeneratorAction.hh"
56 #include "ActionInitialization.hh"
68 int main(
int argc,
char** argv) {
73 #ifdef G4MULTITHREADED
82 <<
" threads" <<
" #####" <<
G4endl;
85 G4cout <<
"##### Hadr00 started in sequential mode"
97 if (argc>=3) { physName = argv[2]; }
101 char* path = getenv(
"PHYSLIST");
102 if (path) { physName =
G4String(path); }
107 physName =
"FTFP_BERT";
139 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetNumberOfThreads(G4int n)
int main(int argc, char **argv)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
G4int GetNumberOfThreads() const
static G4int ConvertToInt(const char *st)
G4int ApplyCommand(const char *aCommand)