48 G4ErrorRunManagerHelper::fRunManagerKernel = 0;
 
   52 { 
return fRunManagerKernel; }
 
   58   if(fRunManagerKernel) {
 
   59     G4Exception(
"G4ErrorRunManagerHelper::G4ErrorRunManagerHelper()",
 
   61                 "G4eRunManageKernel constructed twice.");
 
   63   fRunManagerKernel = 
this;
 
   67   if( theG4RunManagerKernel == 0 ) {
 
   70     G4cout << 
" creating G4RunManagerKernel " <<  theG4RunManagerKernel << 
G4endl;
 
   74   theUserPhysicsList = 0;
 
   96   theUserWorld = userInit;
 
  103   theUserPhysicsList = userInit;
 
  112   if( theUserWorld != 0 ) {
 
  119          ->GetNavigatorForTracking()->GetWorldVolume() == 0 ) {
 
  120       G4Exception(
"G4ErrorRunManagerHelper::InitializeGeometry()",
 
  122                   "No world defined in your geometry!" );
 
  133   G4cout << 
"  G4ErrorRunManagerHelper::InitializePhysics "  << 
G4endl;
 
  136   if( theUserPhysicsList != 0 ) {
 
  137     theG4RunManagerKernel->
SetPhysics(theUserPhysicsList);
 
  144         std::ostringstream message;
 
  145         message << 
"Physics list is not G4ErrorPhysicsList. Are you sure?";
 
  146         G4Exception(
"G4ErrorRunManagerHelper::InitializePhysics()",
 
virtual G4VPhysicalVolume * Construct()=0
void SetPhysics(G4VUserPhysicsList *uPhys)
G4VUserPhysicsList * GetUserPhysicsList() const 
virtual ~G4ErrorRunManagerHelper()
static G4RunManagerKernel * GetRunManagerKernel()
G4bool RunInitialization(G4bool fakeRun=false)
G4ErrorRunManagerHelper()
G4GLOB_DLL std::ostream G4cout
void SetUserAction(G4UserTrackingAction *userAction)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
static G4RunManager * GetRunManager()
void InitializeGeometry()
void SetUserAction(G4UserEventAction *userAction)
static G4EventManager * GetEventManager()
static G4ErrorRunManagerHelper * GetRunManagerKernel()
void SetVerboseLevel(G4int vl)
void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
void SetUserInitialization(G4VUserDetectorConstruction *userInit)