85 #ifdef G4MULTITHREADED
102 int main(
int argc ,
char ** argv)
113 #ifdef G4MULTITHREADED
146 char* path = getenv(
"PHYSLIST");
147 if (path) { physName =
G4String(path); }
155 G4cout <<
"Going to register G4ParallelWorldPhysics" <<
G4endl;
177 #ifdef G4ANALYSIS_USE_ROOT
195 UImanager -> ApplyCommand(
"/control/execute macro/defaultMacro.mac");
196 ui -> SessionStart();
202 G4String command =
"/control/execute ";
204 UImanager -> ApplyCommand(command+fileName);
211 pMatrix -> TotalEnergyDeposit();
212 pMatrix -> StoreDoseFluenceAscii();
213 #ifdef G4ANALYSIS_USE_ROOT
215 pMatrix -> StoreDoseFluenceRoot();
220 if(let -> doCalculation)
223 let -> StoreLetAscii();
224 #ifdef G4ANALYSIS_USE_ROOT
226 let -> StoreLetRoot();
231 #ifdef G4ANALYSIS_USE_ROOT
232 if (analysis -> IsTheTFile()) analysis -> flush();
240 delete geometryMessenger;
241 delete geometryController;
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
static HadrontherapyAnalysisManager * GetInstance()
void RegisterPhysics(G4VPhysicsConstructor *)
static HadrontherapyLet * GetInstance()
int main(int argc, char **argv)
static G4UImanager * GetUIpointer()
static HadrontherapyMatrix * GetInstance()
G4GLOB_DLL std::ostream G4cout
void SetGeometry(G4String)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
static void setTheEngine(HepRandomEngine *theNewEngine)
static G4ScoringManager * GetScoringManager()
void SetVerboseLevel(G4int vl)