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"
98 if (argc>=3) { physName = argv[2]; }
102 char* path = getenv(
"PHYSLIST");
103 if (path) { physName =
G4String(path); }
108 physName =
"FTFP_BERT";
140 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)
Detector construction class to define materials and geometry.
G4int ApplyCommand(const char *aCommand)