39 #ifdef G4MULTITHREADED
74 G4Random::setTheSeed(dir);
76 #ifdef G4MULTITHREADED
79 G4cout <<
"Using the MT Run Manager (G4MULTITHREADED=ON)" <<
G4endl;
87 G4int geometryNumber = 0;
90 geometryNumber = atoi(argv[2]);
93 while ( (geometryNumber < 1) || (geometryNumber >4)) {
94 G4cout <<
"Please Select Simulation Geometrical Set-Up: "<<
G4endl;
100 G4cin >> geometryNumber;
110 if (geometryNumber == 1 || geometryNumber == 4) {
113 if (geometryNumber == 4) {
119 else if (geometryNumber == 2) {
124 else if (geometryNumber == 3) {
147 if (getenv(
"G4VIS_USE")) {
153 UImanager->
ApplyCommand(
"/control/execute initInter.mac");
162 G4String command =
"/control/execute ";
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
XrayFluoSimulation(G4int seed)
static XrayFluoDetectorConstruction * GetInstance()
static XrayFluoMercuryDetectorConstruction * GetInstance()
static XrayFluoPlaneDetectorConstruction * GetInstance()
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
static XrayFluoAnalysisManager * getInstance()
void RunSimulation(int argc, char *argv[])
G4int ApplyCommand(const char *aCommand)