#include <G4ErrorRunManagerHelper.hh>
Definition at line 51 of file G4ErrorRunManagerHelper.hh.
G4ErrorRunManagerHelper::G4ErrorRunManagerHelper |
( |
| ) |
|
Definition at line 56 of file G4ErrorRunManagerHelper.cc.
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;
static G4RunManagerKernel * GetRunManagerKernel()
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetVerboseLevel(G4int vl)
G4ErrorRunManagerHelper::~G4ErrorRunManagerHelper |
( |
| ) |
|
|
virtual |
void G4ErrorRunManagerHelper::InitializeGeometry |
( |
| ) |
|
Definition at line 108 of file G4ErrorRunManagerHelper.cc.
112 if( theUserWorld != 0 ) {
119 ->GetNavigatorForTracking()->GetWorldVolume() == 0 ) {
120 G4Exception(
"G4ErrorRunManagerHelper::InitializeGeometry()",
122 "No world defined in your geometry!" );
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
void G4ErrorRunManagerHelper::InitializePhysics |
( |
| ) |
|
Definition at line 130 of file G4ErrorRunManagerHelper.cc.
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()",
void SetPhysics(G4VUserPhysicsList *uPhys)
G4VUserPhysicsList * GetUserPhysicsList() const
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4RunManager * GetRunManager()
void G4ErrorRunManagerHelper::RunInitialization |
( |
| ) |
|
void G4ErrorRunManagerHelper::RunTermination |
( |
| ) |
|
Definition at line 168 of file G4ErrorRunManagerHelper.cc.
void SetUserAction(G4UserEventAction *userAction)
static G4EventManager * GetEventManager()
Definition at line 176 of file G4ErrorRunManagerHelper.cc.
void SetUserAction(G4UserEventAction *userAction)
static G4EventManager * GetEventManager()
The documentation for this class was generated from the following files: