50 #include "DetectorConstruction.hh"
53 #include "PrimaryGeneratorAction.hh"
55 #include "RunAction.hh"
56 #include "EventAction.hh"
57 #include "StackingAction.hh"
58 #include "HistoManager.hh"
71 int main(
int argc,
char** argv) {
74 CLHEP::HepRandom::setTheEngine(
new CLHEP::RanecuEngine());
89 if (argc==3) { physName = argv[2]; }
91 char* path = getenv(
"PHYSLIST");
92 if (path) { physName =
G4String(path); }
94 if ( physName ==
"UrQMD" ) { phys =
new UrQMD; }
99 G4cout <<
"Hadr02 FATAL ERROR: Physics List is not defined"
134 G4String command =
"/control/execute ";
The primary generator action class with particle gun.
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetPhysicsList(G4VModularPhysicsList *p)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
Stacking action class : manage the newly generated particles.
TUrQMD< G4VModularPhysicsList > UrQMD
Detector construction class to demonstrate various ways of placement.
static HistoManager * GetPointer()
Definition of the UrQMD class.
int main(int argc, char **argv)
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)