66G4ErrorPropagatorManager::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;
120void G4ErrorPropagatorManager::StartG4ErrorRunManagerHelper()
125 if( theG4ErrorRunManagerHelper == 0 ) {
138void G4ErrorPropagatorManager::StartNavigator()
140 if( theG4ErrorPropagationNavigator == 0 ) {
198 G4cerr <<
"G4ErrorPropagatorManager::InitGeant4e: Illegal application state - "
199 <<
"G4ErrorPropagatorManager::InitGeant4e() ignored." <<
G4endl;
237 if( !fieldMgr )
return 0;
245 if( !stepper )
return 0;
389 nam =
"G4ErrorState_PreInit";
392 nam =
"G4ErrorState_Init";
395 nam =
"G4ErrorState_Propagating";
398 nam =
"G4ErrorState_TargetCloserThanBoundary";
401 nam =
"G4ErrorState_StoppedAtTarget";
422 nam =
"G4State_PreInit";
425 nam =
"G4State_Init";
428 nam =
"G4State_Idle";
431 nam =
"G4State_GeomClosed";
434 nam =
"G4State_EventProc";
437 nam =
"G4State_Quit";
440 nam =
"G4State_Abort";
@ G4ErrorState_TargetCloserThanBoundary
@ G4ErrorState_Propagating
@ G4ErrorState_StoppedAtTarget
G4DLLIMPORT std::ostream G4cerr
G4DLLIMPORT std::ostream G4cout
G4MagInt_Driver * 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()
void OpenGeometry(G4VPhysicalVolume *vol=0)
static G4GeometryManager * GetInstance()
const G4MagIntegratorStepper * GetStepper() const
G4EquationOfMotion * GetEquationOfMotion()
void SetEquationOfMotion(G4EquationOfMotion *newEquation)
void SetVerboseLevel(G4int level)
G4int GetVerboseLevel() const
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4VPhysicalVolume * GetWorldVolume() const
G4VIntersectionLocator * GetIntersectionLocator()
G4ApplicationState GetCurrentState() const
static G4StateManager * GetStateManager()
G4bool SetNewState(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)
void SetNavigatorFor(G4Navigator *fNavigator)