53 #include "DetectorConstruction.hh"
54 #include "PhysicsList.hh"
57 #include "PrimaryGeneratorAction.hh"
58 #include "PhysicsListMessenger.hh"
60 #include "RunAction.hh"
61 #include "EventAction.hh"
62 #include "StackingAction.hh"
74 int main(
int argc,
char** argv) {
91 if (argc==3) { physName = argv[2]; }
95 char* path = getenv(
"PHYSLIST");
96 if (path) { physName =
G4String(path); }
140 G4String command =
"/control/execute ";
The primary generator action class with particle gun.
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
int main(int argc, char **argv)
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
Detector construction class to define materials and geometry.
static void setTheEngine(HepRandomEngine *theNewEngine)
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)