50 int main(
int argc,
char** argv) {
89 UImanager->
ApplyCommand(
"/gun/position -1380. 0. 0. mm");
107 G4String visCommand =
"/vis/scene/create";
114 visCommand =
"/vis/open OGL";
117 visCommand =
"/vis/viewer/flush";
119 visCommand =
"/tracking/storeTrajectory 1";
122 G4cout <<
"Now, please, apply beamOn command..."<<
G4endl;
130 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
G4VModularPhysicsList * ReferencePhysList()
G4int ApplyCommand(const char *aCommand)
int main(int argc, char **argv)
virtual void SetUserAction(G4UserRunAction *userAction)