58 : fUserSteppingAction(0), verboseLevel(0)
70 fVerbose -> SetManager(
this);
75 fVerbose -> SetManager(
this);
80 ->GetNavigatorForTracking());
82 fSelectedAtRestDoItVector
84 fSelectedAlongStepDoItVector
86 fSelectedPostStepDoItVector
90 ->GetNavigatorForTracking());
105 delete fSelectedAtRestDoItVector;
106 delete fSelectedAlongStepDoItVector;
107 delete fSelectedPostStepDoItVector;
108 if (fUserSteppingAction)
delete fUserSteppingAction;
125 if(verboseLevel>0) fVerbose->
NewStep();
127 if(verboseLevel==-1) {
143 fN2ndariesAtRestDoIt = 0;
144 fN2ndariesAlongStepDoIt = 0;
145 fN2ndariesPostStepDoIt = 0;
158 if( MAXofAtRestLoops>0 ){
159 InvokeAtRestDoItProcs();
180 DefinePhysicalStepLength();
185 G4double GeomStepLength = PhysicalStep;
191 InvokeAlongStepDoItProcs();
199 endpointSafety= std::max( proposedSafety - GeomStepLength, kCarTolerance);
209 InvokePostStepDoItProcs();
228 if(verboseLevel>0) fVerbose->
StepInfo();
235 GetSensitiveDetector();
236 if( fSensitive != 0 ) {
237 fSensitive->
Hit(fStep);
242 if( fUserSteppingAction != 0 ) {
261 PreStepPointIsGeom =
false;
264 fPreviousStepSize = 0.;
271 GeometricalStep = 0.;
273 PreStepPointIsGeom =
false;
277 TempInitVelocity = 0.;
279 sumEnergyChange = 0.;
302 &direction,
false,
false );
329 fCurrentVolume = fTouchableHandle->
GetVolume();
332 if( fCurrentVolume==0 ){
336 G4cerr <<
"ERROR - G4SteppingManager::SetInitialStep()" <<
G4endl
337 <<
" Primary particle starting at - "
339 <<
" - is outside of the world volume." <<
G4endl;
340 G4Exception(
"G4SteppingManager::SetInitialStep()",
"Tracking0010",
345 G4cout <<
"WARNING - G4SteppingManager::SetInitialStep()" <<
G4endl
346 <<
" Initial track position is outside world! - "
std::vector< G4int > G4SelectedAlongStepDoItVector
std::vector< G4int > G4SelectedAtRestDoItVector
std::vector< G4int > G4SelectedPostStepDoItVector
G4DLLIMPORT std::ostream G4cerr
G4DLLIMPORT std::ostream G4cout
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()
G4Region * GetRegion() const
G4TouchableHistory * CreateTouchableHistory() const
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4UserSteppingAction * GetRegionalSteppingAction() const
void SetSafety(const G4double aValue)
void SetStepStatus(const G4StepStatus aValue)
const G4ThreeVector & GetPosition() const
G4VPhysicalVolume * GetPhysicalVolume() const
void DeleteSecondaryVector()
void InitializeStep(G4Track *aValue)
G4SteppingControl GetControlFlag() const
void ResetTotalEnergyDeposit()
void SetStepLength(G4double value)
void CopyPostToPreStepPoint()
G4StepPoint * GetPreStepPoint() const
void SetPointerToVectorOfAuxiliaryPoints(std::vector< G4ThreeVector > *theNewVectorPointer)
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 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
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)