84 #ifdef G4MULTITHREADED
101 int main(
int argc ,
char ** argv)
108 G4Random::setTheEngine( &defaultEngine );
110 G4Random::setTheSeed( seed );
112 #ifdef G4MULTITHREADED
144 char* path = getenv(
"PHYSLIST");
145 if (path) { physName =
G4String(path); }
153 G4cout <<
"Going to register G4ParallelWorldPhysics" <<
G4endl;
191 UImanager -> ApplyCommand(
"/control/execute macro/defaultMacro.mac");
194 ui -> SessionStart();
200 G4String command =
"/control/execute ";
202 UImanager -> ApplyCommand(command+fileName);
209 pMatrix -> StoreDoseFluenceAscii();
214 if(let -> doCalculation)
217 let -> StoreLetAscii();
226 delete geometryMessenger;
227 delete geometryController;
static HadrontherapyMatrix * GetInstance()
void SetVerboseLevel(G4int vl)
G4bool IsReferencePhysList(const G4String &)
void SetGeometry(G4String)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static HadrontherapyLet * GetInstance()
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void RegisterPhysics(G4VPhysicsConstructor *)
int main(int argc, char **argv)
G4GLOB_DLL std::ostream G4cout
static G4ScoringManager * GetScoringManager()
static HadrontherapyAnalysisManager * GetInstance()