63 fVerbose -> SetManager(
this);
69 fVerbose -> SetManager(
this);
75 ->GetNavigatorForTracking());
77 fSelectedAtRestDoItVector
79 fSelectedAlongStepDoItVector
81 fSelectedPostStepDoItVector
85 ->GetNavigatorForTracking());
104 delete fSelectedAtRestDoItVector;
105 delete fSelectedAlongStepDoItVector;
106 delete fSelectedPostStepDoItVector;
107 delete fUserSteppingAction;
109 if(KillVerbose)
delete fVerbose;
117#ifdef GEANT4_USE_TIMEMORY
129 else if (verboseLevel==-1)
151 fN2ndariesAtRestDoIt = 0;
152 fN2ndariesAlongStepDoIt = 0;
153 fN2ndariesPostStepDoIt = 0;
169 if( MAXofAtRestLoops>0 )
171 InvokeAtRestDoItProcs();
192 DefinePhysicalStepLength();
197 G4double GeomStepLength = PhysicalStep;
203 InvokeAlongStepDoItProcs();
211 endpointSafety= std::max( proposedSafety - GeomStepLength, kCarTolerance);
220 InvokePostStepDoItProcs();
238 if(verboseLevel>0) fVerbose->
StepInfo();
248 if( fSensitive != 0 )
250 fSensitive->
Hit(fStep);
256 if( fUserSteppingAction !=
nullptr )
277 PreStepPointIsGeom =
false;
279 fParticleChange =
nullptr;
280 fPreviousStepSize = 0.;
287 GeometricalStep = 0.;
289 PreStepPointIsGeom =
false;
292 TempInitVelocity = 0.;
294 sumEnergyChange = 0.;
319 &direction,
false,
false );
332 if ( newTopVolume != oldTopVolume
359 fCurrentVolume = fTouchableHandle->
GetVolume();
363 if( fCurrentVolume==
nullptr )
368 G4cerr <<
"ERROR - G4SteppingManager::SetInitialStep()" <<
G4endl
369 <<
" Primary particle starting at - "
371 <<
" - is outside of the world volume." <<
G4endl;
372 G4Exception(
"G4SteppingManager::SetInitialStep()",
"Tracking0010",
377 G4cout <<
"WARNING - G4SteppingManager::SetInitialStep()" <<
G4endl
378 <<
" Initial track position is outside world! - "
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::vector< G4int > G4SelectedPostStepDoItVector
std::vector< G4int > G4SelectedAtRestDoItVector
std::vector< G4int > G4SelectedAlongStepDoItVector
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()
G4Region * GetRegion() const
G4TouchableHistory * CreateTouchableHistory() const
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=nullptr, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
G4UserSteppingAction * GetRegionalSteppingAction() const
void SetSafety(const G4double aValue)
void SetStepStatus(const G4StepStatus aValue)
const G4ThreeVector & GetPosition() const
G4VSensitiveDetector * GetSensitiveDetector() const
G4VPhysicalVolume * GetPhysicalVolume() const
void DeleteSecondaryVector()
void SetPointerToVectorOfAuxiliaryPoints(std::vector< G4ThreeVector > *vec)
void InitializeStep(G4Track *aValue)
G4SteppingControl GetControlFlag() const
void ResetTotalEnergyDeposit()
void SetStepLength(G4double value)
void CopyPostToPreStepPoint()
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4TrackVector * NewSecondaryVector()
G4StepPoint * GetPostStepPoint() const
void SetTrack(G4Track *value)
void SetNavigator(G4Navigator *value)
void SetInitialStep(G4Track *valueTrack)
G4TrackStatus GetTrackStatus() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
void SetStepLength(G4double value)
G4VPhysicalVolume * GetVolume() const
void SetVertexPosition(const G4ThreeVector &aValue)
const G4TouchableHandle & GetNextTouchableHandle() const
void SetVertexMomentumDirection(const G4ThreeVector &aValue)
void SetNextTouchableHandle(const G4TouchableHandle &apValue)
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4int GetCurrentStepNumber() const
void SetOriginTouchableHandle(const G4TouchableHandle &apValue)
void AddTrackLength(const G4double aValue)
const G4DynamicParticle * GetDynamicParticle() const
const G4TouchableHandle & GetTouchableHandle() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
void SetVertexKineticEnergy(const G4double aValue)
G4int GetParentID() const
void SetLogicalVolumeAtVertex(const G4LogicalVolume *)
static G4TransportationManager * GetTransportationManager()
virtual void UserSteppingAction(const G4Step *)
G4LogicalVolume * GetLogicalVolume() const
virtual G4int GetRegularStructureId() const =0
G4bool Hit(G4Step *aStep)
static G4VSteppingVerbose * GetInstance()
virtual void AlongStepDoItAllDone()=0
static void SetInstance(G4VSteppingVerbose *Instance)
virtual void PostStepDoItAllDone()=0
virtual void AtRestDoItInvoked()=0
virtual void StepInfo()=0
static void SetSilent(G4int fSilent)
virtual void TrackingStarted()=0
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const