50 #include "DetectorConstruction.hh"
53 #include "PrimaryGeneratorAction.hh"
55 #include "RunAction.hh"
56 #include "EventAction.hh"
57 #include "StackingAction.hh"
58 #include "HistoManager.hh"
67 int main(
int argc,
char** argv) {
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"
127 G4String command =
"/control/execute ";
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)
static HistoManager * GetPointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
TUrQMD< G4VModularPhysicsList > UrQMD
void SetPhysicsList(G4VModularPhysicsList *p)
static void setTheEngine(HepRandomEngine *theNewEngine)
The primary generator action class with particle gun.
int main(int argc, char **argv)
G4GLOB_DLL std::ostream G4cout
Definition of the UrQMD class.
Simple detector construction with a box volume placed in a world.