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"
69 int main(
int argc,
char** argv) {
87 if (argc==3) { physName = argv[2]; }
91 char* path = getenv(
"PHYSLIST");
92 if (path) { physName =
G4String(path); }
129 G4String command =
"/control/execute ";
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)
G4bool IsReferencePhysList(const G4String &)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
The primary generator action class with particle gun.
int main(int argc, char **argv)
Simple detector construction with a box volume placed in a world.