51 {
return fRunManagerKernel; }
57 if(fRunManagerKernel) {
58 G4Exception(
"G4ErrorRunManagerHelper::G4ErrorRunManagerHelper()",
60 "G4eRunManageKernel constructed twice.");
62 fRunManagerKernel =
this;
66 if( theG4RunManagerKernel == 0 ) {
69 G4cout <<
" creating G4RunManagerKernel " << theG4RunManagerKernel <<
G4endl;
73 theUserPhysicsList = 0;
95 theUserWorld = userInit;
102 theUserPhysicsList = userInit;
111 if( theUserWorld != 0 ) {
121 ->GetNavigatorForTracking()->GetWorldVolume() == 0 ) {
122 G4Exception(
"G4ErrorRunManagerHelper::InitializeGeometry()",
124 "No world defined in your geometry!" );
135 G4cout <<
" G4ErrorRunManagerHelper::InitializePhysics " <<
G4endl;
138 if( theUserPhysicsList != 0 ) {
139 theG4RunManagerKernel->
SetPhysics(theUserPhysicsList);
146 G4cerr <<
" WARNING G4ErrorRunManagerHelper::InitializePhysics() physics list is not G4ErrorPhysicsList. Are you sure? " <<
G4endl;