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) {
77 CLHEP::HepRandom::setTheEngine(
new CLHEP::RanecuEngine());
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)
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
Stacking action class : manage the newly generated particles.
Detector construction class to demonstrate various ways of placement.
int main(int argc, char **argv)
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)