35 #include "G4RunManager.hh" 36 #include "G4UImanager.hh" 37 #include "Randomize.hh" 42 #include "SteppingVerbose.hh" 45 #include "G4VisExecutive.hh" 49 #include "G4UIExecutive.hh" 54 int main(
int argc,
char** argv) {
57 CLHEP::HepRandom::setTheEngine(
new CLHEP::RanecuEngine);
60 G4VSteppingVerbose::SetInstance(
new SteppingVerbose);
63 G4RunManager* runManager =
new G4RunManager;
73 G4UImanager* UI = G4UImanager::GetUIpointer();
76 G4VisManager* visManager =
new G4VisExecutive;
77 visManager->Initialize();
82 G4String command =
"/control/execute ";
84 UI->ApplyCommand(command+fileName);
90 G4UIExecutive * ui =
new G4UIExecutive(argc,argv);
92 UI->ApplyCommand(
"/control/execute vis.mac");
int main(int argc, char **argv)