46#ifndef G4ITPATHFINDER_HH
47#define G4ITPATHFINDER_HH 1
140 for(
G4int num=0; num< G4ITNavigator::fMaxNav; ++num )
163 G4double pCurrentProposedStepLength,
178 G4bool relativeSearch=
true);
295 G4int fNoActiveNavigators;
297 G4ITNavigator* fpNavigator[G4ITNavigator::fMaxNav];
299 G4int fVerboseLevel{0};
317 if( (navId < G4ITNavigator::fMaxNav) && (navId >=0) ) { vol=
fpTrackState->fLocatedVolume[navId]; }
323 G4int old= fVerboseLevel; fVerboseLevel= newLevel;
return old;
333 unsigned int noGeometries=
fpTrackState->fNoGeometriesLimiting;
349 if( (n>fNoActiveNavigators)||(n<0)) { n=0; }
350 return fpNavigator[n];
#define fMinSafety_atSafLocation
#define fLastLocatedPosition
#define fMinSafety_PreStepPt
#define fNoGeometriesLimiting
#define fPreSafetyMinValue
#define fFieldExertedForce
#define fPreSafetyLocation
#define fNewSafetyComputed
#define fCurrentPreStepSafety
#define fPreStepCenterRenewed
G4ITNavigator * GetNavigator(G4int n) const
void ReportMove(const G4ThreeVector &OldV, const G4ThreeVector &NewV, const G4String &Quantity) const
static G4ITPathFinder * GetInstance()
G4bool IsParticleLooping() const
G4double ObtainSafety(G4int navId, G4ThreeVector &globalCenterPoint)
G4double GetCurrentSafety() const
void SetMaxLoopCount(G4int new_max)
G4double DoNextLinearStep(const G4FieldTrack &FieldTrack, G4double proposedStepLength)
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
void ReLocate(const G4ThreeVector &position)
G4int SetVerboseLevel(G4int lev=-1)
void EnableParallelNavigation(G4bool enableChoice=true)
G4double GetMinimumStep() const
void PushPostSafetyToPreSafety()
G4int GetMaxLoopCount() const
G4bool UseSafetyForOptimization(G4bool)
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=nullptr)
G4double DoNextCurvedStep(const G4FieldTrack &FieldTrack, G4double proposedStepLength, G4VPhysicalVolume *pCurrentPhysVolume)
unsigned int GetNumberGeometriesLimitingStep() const
~G4ITPathFinder() override
G4VPhysicalVolume * GetLocatedVolume(G4int navId) const
G4TouchableHandle CreateTouchableHandle(G4int navId) const
G4String & LimitedString(ELimited lim)
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
G4double ComputeSafety(const G4ThreeVector &globalPoint)
G4double LastPreSafety(G4int navId, G4ThreeVector &globalCenterPoint, G4double &minSafety)
StateTypeHandle fpTrackState
G4ThreeVector fPreStepLocation
G4double fMinSafety_atSafLocation
G4bool fPreStepCenterRenewed
G4ThreeVector fPreSafetyLocation
G4int fNoGeometriesLimiting
G4ThreeVector fSafetyLocation
~G4TrackState() override=default
G4double fPreSafetyMinValue
G4ThreeVector fLastLocatedPosition
G4double fMinSafety_PreStepPt