88 int main(
int argc ,
char ** argv)
123 char* path = getenv(
"PHYSLIST");
124 if (path) { physName =
G4String(path); }
139 runManager -> SetUserAction(pPrimaryGenerator);
143 runManager -> SetUserAction(pRunAction);
146 runManager -> SetUserAction(pEventAction);
149 runManager -> SetUserAction(steppingAction);
168 G4String command =
"/control/execute ";
181 UImanager->
ApplyCommand(
"/control/execute defaultMacroWithReferencePhysicsList.mac");
185 UImanager->
ApplyCommand(
"/control/execute defaultMacro.mac");
199 pMatrix -> TotalEnergyDeposit();
200 pMatrix -> StoreDoseFluenceAscii();
201 pMatrix -> StoreDoseFluenceRoot();
212 delete geometryMessenger;
213 delete geometryController;
static void setTheSeed(long seed, int lux=3)
G4int ApplyCommand(const char *aCommand)
void SetVerboseLevel(G4int vl)
G4bool IsReferencePhysList(const G4String &)
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
static G4UImanager * GetUIpointer()
static IORTMatrix * GetInstance()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetGeometry(G4String)
static void setTheEngine(HepRandomEngine *theNewEngine)
int main(int argc, char **argv)
static IORTAnalysisManager * GetInstance()
static G4ScoringManager * GetScoringManager()