39 #include "DetectorConstruction.hh"
42 #include "PrimaryGeneratorAction.hh"
43 #include "ActionInitialization.hh"
57 int main(
int argc,
char** argv) {
62 #ifdef G4MULTITHREADED
71 <<
" threads" <<
" #####" <<
G4endl;
74 G4cout <<
"##### Hadr05 started in sequential mode"
89 UImanager->
ApplyCommand(
"/control/execute "+physListMacro);
94 std::vector<G4String>* MyConstr =
new std::vector<G4String>;
96 MyConstr->push_back(
"G4EmStandardPhysics");
97 MyConstr->push_back(
"G4EmExtraPhysics");
98 MyConstr->push_back(
"G4DecayPhysics");
99 MyConstr->push_back(
"G4HadronElasticPhysics");
100 MyConstr->push_back(
"G4HadronPhysicsFTFP_BERT");
101 MyConstr->push_back(
"G4StoppingPhysics");
102 MyConstr->push_back(
"G4IonPhysics");
103 MyConstr->push_back(
"G4NeutronTrackingCut");
132 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
G4int GetNumberOfThreads() const
static G4int ConvertToInt(const char *st)
TG4GenericPhysicsList< G4VModularPhysicsList > G4GenericPhysicsList
Detector construction class to define materials and geometry.
G4int ApplyCommand(const char *aCommand)