44 #ifdef G4MULTITHREADED
77 int main(
int argc ,
char ** argv)
81 G4int seconds = time(NULL);
82 G4Random::setTheSeed(seconds);
84 #ifdef G4MULTITHREADED
94 runManager -> SetUserInitialization(detector);
102 char* path = getenv(
"PHYSLIST");
103 if (path) { physName =
G4String(path); }
119 controller->
ReadFile(
"MachineAngle.in");
136 G4String command =
"/control/execute ";
145 UImanager->
ApplyCommand(
"/control/execute defaultMacro.mac");
Definition of the GammaKnifeActionInitialization class.
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void ReadFile(std::string fileName)
int main(int argc, char **argv)
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
virtual void Initialize()
static G4ScoringManager * GetScoringManager()
G4int ApplyCommand(const char *aCommand)