46 #ifdef G4MULTITHREADED
79 int main(
int argc ,
char ** argv)
83 G4int seconds = time(NULL);
84 G4Random::setTheSeed(seconds);
86 #ifdef G4MULTITHREADED
96 runManager -> SetUserInitialization(detector);
104 char* path = getenv(
"PHYSLIST");
105 if (path) { physName =
G4String(path); }
121 controller->
ReadFile(
"MachineAngle.in");
138 G4String command =
"/control/execute ";
147 UImanager->
ApplyCommand(
"/control/execute defaultMacro.mac");
Definition of the GammaKnifeActionInitialization class.
G4int ApplyCommand(const char *aCommand)
G4bool IsReferencePhysList(const G4String &)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void ReadFile(std::string fileName)
int main(int argc, char **argv)
static G4ScoringManager * GetScoringManager()
virtual void Initialize()