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