35 #include "G4RunManager.hh" 36 #include "G4UImanager.hh" 44 #include "G4UIExecutive.hh" 49 int main(
int argc,
char** argv) {
52 G4RunManager * runManager =
new G4RunManager;
62 runManager->SetUserAction(
new RunAction(det,prim));
66 G4String command =
"/control/execute ";
68 G4UImanager::GetUIpointer()->ApplyCommand(command+fileName);
74 G4UIExecutive * ui =
new G4UIExecutive(argc,argv);
int main(int argc, char **argv)