44 void visio(
int argc,
char* argv[])
50 UImanager -> ApplyCommand(
"/control/execute macroAndData/macro_files/main/vis.mac");
56 int main(
int argc,
char* argv[])
68 runManager -> SetUserInitialization(physics);
101 G4String command =
"/control/execute ";
142 runManager -> SetUserInitialization(myWorld);
143 runManager -> SetUserAction(myRunAction);
144 runManager -> SetUserAction(gun);
145 runManager -> SetUserAction(myStepAction);
146 runManager -> SetUserAction(ML2EventAction);
155 G4bool bNewGeometry =
true;
160 myWorld -> newGeometry();
161 convergence -> setNewGeometry();
170 bNewGeometry = myWorld -> newGeometry();
171 convergence -> setNewGeometry();
178 G4cout <<
"################ START NEW GEOMETRY ########################" <<
G4endl;
179 myRunAction->setActualLoop(nLoop);
185 bStopRun = convergence->
stopRun();
188 G4cout <<
"################ END NEW GEOMETRY ########################" <<
G4endl;
194 G4cout <<
"loop elapsed time [s] : "<< loopElapsedTime <<
'\n' <<
G4endl;