41 #ifdef G4MULTITHREADED
76 G4Random::setTheSeed(
dir);
78 #ifdef G4MULTITHREADED
81 G4cout <<
"Using the MT Run Manager (G4MULTITHREADED=ON)" <<
G4endl;
89 G4int geometryNumber = 0;
92 geometryNumber = atoi(argv[2]);
95 while ( (geometryNumber < 1) || (geometryNumber >4)) {
96 G4cout <<
"Please Select Simulation Geometrical Set-Up: "<<
G4endl;
102 G4cin >> geometryNumber;
112 if (geometryNumber == 1 || geometryNumber == 4) {
115 if (geometryNumber == 4) {
121 else if (geometryNumber == 2) {
126 else if (geometryNumber == 3) {
149 if (getenv(
"G4VIS_USE")) {
155 UImanager->
ApplyCommand(
"/control/execute initInter.mac");
164 G4String command =
"/control/execute ";
static XrayFluoAnalysisManager * getInstance()
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
static XrayFluoMercuryDetectorConstruction * GetInstance()
static XrayFluoPlaneDetectorConstruction * GetInstance()
void RunSimulation(int argc, char *argv[])
XrayFluoSimulation(G4int seed)
G4GLOB_DLL std::ostream G4cout
static XrayFluoDetectorConstruction * GetInstance()