65G4ErrorPropagatorManager::theG4ErrorPropagatorManager = 0;
70 if( theG4ErrorPropagatorManager == NULL ) {
74 return theG4ErrorPropagatorManager;
84 char* g4emverb = std::getenv(
"G4EVERBOSE");
93 theEquationOfMotion = 0;
95 StartG4ErrorRunManagerHelper();
99 theG4ErrorPropagationNavigator = 0;
110 delete theEquationOfMotion;
111 delete theG4ErrorPropagationNavigator;
112 delete thePropagator;
113 delete theG4ErrorRunManagerHelper;
114 delete theG4ErrorPropagatorManager;
119void G4ErrorPropagatorManager::StartG4ErrorRunManagerHelper()
124 if( theG4ErrorRunManagerHelper == 0 ) {
137void G4ErrorPropagatorManager::StartNavigator()
139 if( theG4ErrorPropagationNavigator == 0 ) {
197 std::ostringstream message;
199 G4Exception(
"G4ErrorPropagatorManager::InitGeant4e()",
235 if( !fieldMgr )
return 0;
241 if( !driver )
return 0;
253 driver->SetEquationOfMotion( theEquationOfMotion );
385 nam =
"G4ErrorState_PreInit";
388 nam =
"G4ErrorState_Init";
391 nam =
"G4ErrorState_Propagating";
394 nam =
"G4ErrorState_TargetCloserThanBoundary";
397 nam =
"G4ErrorState_StoppedAtTarget";
418 nam =
"G4State_PreInit";
421 nam =
"G4State_Init";
424 nam =
"G4State_Idle";
427 nam =
"G4State_GeomClosed";
430 nam =
"G4State_EventProc";
433 nam =
"G4State_Quit";
436 nam =
"G4State_Abort";
@ G4ErrorState_TargetCloserThanBoundary
@ G4ErrorState_Propagating
@ G4ErrorState_StoppedAtTarget
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4VIntegrationDriver * GetIntegrationDriver()
static void SetVerbose(G4int ver)
static G4ErrorPropagatorData * GetErrorPropagatorData()
void SetMode(G4ErrorMode mode)
void SetState(G4ErrorState sta)
void SetSteppingManagerVerboseLevel()
void SetUserInitialization(G4VUserDetectorConstruction *userInit)
G4int Propagate(G4ErrorTrajState *currentTS, const G4ErrorTarget *target, G4ErrorMode mode=G4ErrorMode_PropForwards)
G4ErrorPropagatorManager()
void SetUserAction(G4UserTrackingAction *userAction)
~G4ErrorPropagatorManager()
G4String PrintG4ErrorState()
G4int PropagateOneStep(G4ErrorTrajState *currentTS, G4ErrorMode mode=G4ErrorMode_PropForwards)
G4bool InitFieldForBackwards()
static G4ErrorPropagatorManager * GetErrorPropagatorManager()
void InitTrackPropagation()
G4int PropagateOneStep(G4ErrorTrajState *currentTS)
void SetStepN(const G4int sn)
G4int Propagate(G4ErrorTrajState *currentTS, const G4ErrorTarget *target, G4ErrorMode mode=G4ErrorMode_PropForwards)
void InitializeGeometry()
static G4ErrorRunManagerHelper * GetRunManagerKernel()
void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetUserAction(G4UserEventAction *userAction)
static G4EventManager * GetEventManager()
G4TrackingManager * GetTrackingManager() const
void SetChordFinder(G4ChordFinder *aChordFinder)
const G4Field * GetDetectorField() const
G4ChordFinder * GetChordFinder()
static G4GeometryManager * GetInstance()
void OpenGeometry(G4VPhysicalVolume *vol=nullptr)
void SetVerboseLevel(G4int level)
G4int GetVerboseLevel() const
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4VPhysicalVolume * GetWorldVolume() const
G4VIntersectionLocator * GetIntersectionLocator()
const G4ApplicationState & GetCurrentState() const
static G4StateManager * GetStateManager()
G4bool SetNewState(const G4ApplicationState &requestedState)
void SetNavigator(G4Navigator *value)
void SetVerboseLevel(G4int vLevel)
G4int GetVerboseLevel() const
G4SteppingManager * GetSteppingManager() const
static G4TransportationManager * GetTransportationManager()
G4PropagatorInField * GetPropagatorInField() const
G4Navigator * GetNavigatorForTracking() const
G4FieldManager * GetFieldManager() const
void SetNavigatorForTracking(G4Navigator *newNavigator)
virtual G4EquationOfMotion * GetEquationOfMotion()=0
void SetNavigatorFor(G4Navigator *fNavigator)