53 #include "DetectorConstruction.hh"
54 #include "PhysicsList.hh"
57 #include "PrimaryGeneratorAction.hh"
58 #include "PhysicsListMessenger.hh"
61 #include "RunAction.hh"
62 #include "EventAction.hh"
63 #include "StackingAction.hh"
75 int main(
int argc,
char** argv) {
78 CLHEP::HepRandom::setTheEngine(
new CLHEP::RanecuEngine());
92 if (argc==3) { physName = argv[2]; }
96 char* path = getenv(
"PHYSLIST");
97 if (path) { physName =
G4String(path); }
144 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void RegisterPhysics(G4VPhysicsConstructor *)
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
Definition of the G4EmUserPhysics class.
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)