97 int main(
int argc ,
char ** argv)
127 char* path = getenv(
"PHYSLIST");
128 if (path) { physName =
G4String(path); }
136 G4cout <<
"Going to register G4ParallelWorldPhysics" <<
G4endl;
151 runManager -> SetUserAction(pPrimaryGenerator);
155 runManager -> SetUserAction(pRunAction);
158 runManager -> SetUserAction(pEventAction);
161 runManager -> SetUserAction(steppingAction);
168 #ifdef G4ANALYSIS_USE_ROOT
181 G4String command =
"/control/execute ";
194 UImanager->
ApplyCommand(
"/control/execute defaultMacroWithReferencePhysicsList.mac");
198 UImanager->
ApplyCommand(
"/control/execute defaultMacro.mac");
211 pMatrix -> TotalEnergyDeposit();
212 pMatrix -> StoreDoseFluenceAscii();
213 #ifdef G4ANALYSIS_USE_ROOT
214 pMatrix -> StoreDoseFluenceRoot();
219 if(let -> doCalculation)
222 let -> StoreLetAscii();
223 #ifdef G4ANALYSIS_USE_ROOT
224 let -> StoreLetRoot();
229 #ifdef G4ANALYSIS_USE_ROOT
230 if (analysis -> IsTheTFile()) analysis -> flush();
239 delete geometryMessenger;
240 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)
G4int ApplyCommand(const char *aCommand)