39 #include "DetectorConstruction.hh"
42 #include "PrimaryGeneratorAction.hh"
43 #include "ActionInitialization.hh"
57 int main(
int argc,
char** argv) {
60 G4Random::setTheEngine(
new CLHEP::RanecuEngine());
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)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4int GetNumberOfThreads() const
static G4int ConvertToInt(const char *st)
Action initialization class.
TG4GenericPhysicsList< G4VModularPhysicsList > G4GenericPhysicsList
int main(int argc, char **argv)
Detector construction class to demonstrate various ways of placement.
G4int ApplyCommand(const char *aCommand)