88 int main(
int argc ,
char ** argv)
 
   91   CLHEP::HepRandom::setTheEngine(
new CLHEP::RanecuEngine());
 
   94   G4int seed = time(NULL); 
 
   95   CLHEP::HepRandom::setTheSeed(seed);
 
  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);    
 
  156 #ifdef G4ANALYSIS_USE_ROOT 
  170       G4String command = 
"/control/execute ";
 
  183           UImanager->
ApplyCommand(
"/control/execute defaultMacroWithReferencePhysicsList.mac");
 
  187           UImanager->
ApplyCommand(
"/control/execute defaultMacro.mac");  
 
  201         pMatrix -> TotalEnergyDeposit(); 
 
  202         pMatrix -> StoreDoseFluenceAscii();
 
  203 #ifdef G4ANALYSIS_USE_ROOT 
  204         pMatrix -> StoreDoseFluenceRoot();
 
  208 #ifdef G4ANALYSIS_USE_ROOT 
  209   if (analysis -> IsTheTFile()) analysis -> flush();     
 
  218   delete geometryMessenger;
 
  219   delete geometryController;
 
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
A class for connecting the simulation to an analysis package. 
static G4UImanager * GetUIpointer()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
static IORTAnalysisManager * GetInstance()
Get the pointer to the analysis manager. 
void SetGeometry(G4String)
Select a geometry by name. 
int main(int argc, char **argv)
Controller for geometry selection. 
static IORTMatrix * GetInstance()
static G4ScoringManager * GetScoringManager()
void SetVerboseLevel(G4int vl)
G4int ApplyCommand(const char *aCommand)