66 G4ErrorPropagatorManager::theG4ErrorPropagatorManager = 0;
71 if( theG4ErrorPropagatorManager == NULL ) {
75 return theG4ErrorPropagatorManager;
85 char* g4emverb = getenv(
"G4EVERBOSE");
94 theEquationOfMotion = 0;
96 StartG4ErrorRunManagerHelper();
100 theG4ErrorPropagationNavigator = 0;
111 delete theEquationOfMotion;
112 delete theG4ErrorPropagationNavigator;
113 delete thePropagator;
114 delete theG4ErrorRunManagerHelper;
115 delete theG4ErrorPropagatorManager;
120 void G4ErrorPropagatorManager::StartG4ErrorRunManagerHelper()
125 if( theG4ErrorRunManagerHelper == 0 ) {
138 void G4ErrorPropagatorManager::StartNavigator()
140 if( theG4ErrorPropagationNavigator == 0 ) {
198 std::ostringstream message;
200 G4Exception(
"G4ErrorPropagatorManager::InitGeant4e()",
236 if( !fieldMgr )
return 0;
244 if( !stepper )
return 0;
248 if ( !dynamic_cast<G4ErrorMag_UsualEqRhs*>(equation) ) {
388 nam =
"G4ErrorState_PreInit";
391 nam =
"G4ErrorState_Init";
394 nam =
"G4ErrorState_Propagating";
397 nam =
"G4ErrorState_TargetCloserThanBoundary";
400 nam =
"G4ErrorState_StoppedAtTarget";
421 nam =
"G4State_PreInit";
424 nam =
"G4State_Init";
427 nam =
"G4State_Idle";
430 nam =
"G4State_GeomClosed";
433 nam =
"G4State_EventProc";
436 nam =
"G4State_Quit";
439 nam =
"G4State_Abort";
G4int PropagateOneStep(G4ErrorTrajState *currentTS, G4ErrorMode mode=G4ErrorMode_PropForwards)
G4ChordFinder * GetChordFinder()
void SetUserAction(G4UserTrackingAction *userAction)
void SetEquationOfMotion(G4EquationOfMotion *newEquation)
static constexpr double mm
G4SteppingManager * GetSteppingManager() const
void SetNavigator(G4Navigator *value)
G4String PrintG4ErrorState()
G4int Propagate(G4ErrorTrajState *currentTS, const G4ErrorTarget *target, G4ErrorMode mode=G4ErrorMode_PropForwards)
void InitTrackPropagation()
const G4MagIntegratorStepper * GetStepper() const
G4int PropagateOneStep(G4ErrorTrajState *currentTS)
void SetVerboseLevel(G4int vLevel)
G4int GetVerboseLevel() const
G4Navigator * GetNavigatorForTracking() const
~G4ErrorPropagatorManager()
G4ErrorPropagatorManager()
void SetChordFinder(G4ChordFinder *aChordFinder)
static G4ErrorPropagatorManager * GetErrorPropagatorManager()
void SetVerboseLevel(G4int level)
void SetState(G4ErrorState sta)
static G4StateManager * GetStateManager()
G4TrackingManager * GetTrackingManager() const
G4EquationOfMotion * GetEquationOfMotion()
static void SetVerbose(G4int ver)
G4GLOB_DLL std::ostream G4cout
G4bool SetNewState(G4ApplicationState requestedState)
void SetUserInitialization(G4VUserDetectorConstruction *userInit)
void SetMode(G4ErrorMode mode)
G4bool InitFieldForBackwards()
G4ApplicationState GetCurrentState() const
static G4GeometryManager * GetInstance()
void SetStepN(const G4int sn)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void InitializeGeometry()
void SetUserAction(G4UserEventAction *userAction)
void SetWorldVolume(G4VPhysicalVolume *pWorld)
static G4EventManager * GetEventManager()
G4int Propagate(G4ErrorTrajState *currentTS, const G4ErrorTarget *target, G4ErrorMode mode=G4ErrorMode_PropForwards)
void SetNavigatorFor(G4Navigator *fNavigator)
G4int GetVerboseLevel() const
void OpenGeometry(G4VPhysicalVolume *vol=0)
static G4ErrorRunManagerHelper * GetRunManagerKernel()
static G4ErrorPropagatorData * GetErrorPropagatorData()
const G4Field * GetDetectorField() const
G4MagInt_Driver * GetIntegrationDriver()
G4PropagatorInField * GetPropagatorInField() const
G4VIntersectionLocator * GetIntersectionLocator()
void SetNavigatorForTracking(G4Navigator *newNavigator)
void SetSteppingManagerVerboseLevel()
G4VPhysicalVolume * GetWorldVolume() const
void SetUserInitialization(G4VUserDetectorConstruction *userInit)