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;
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
int main(int argc, char **argv)
static void setTheSeed(long seed, int lux=3)
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
static IORTAnalysisManager * GetInstance()
void SetGeometry(G4String)
static void setTheEngine(HepRandomEngine *theNewEngine)
static IORTMatrix * GetInstance()
static G4ScoringManager * GetScoringManager()
void SetVerboseLevel(G4int vl)
G4int ApplyCommand(const char *aCommand)