Struct Acts::Navigator::State¶
-
struct State
Nested State struct.
It acts as an internal state which is created for every propagation/extrapolation step and keep thread-local navigation information
Public Functions
-
inline auto navBoundary() const
-
inline auto navLayer() const
-
inline auto navSurface() const
Public Members
-
const Surface *currentSurface = nullptr
Navigation state - external state: the current surface.
-
const TrackingVolume *currentVolume = nullptr
Navigation state: the current volume.
-
ExternalSurfaces externalSurfaces = {}
Externally provided surfaces - these are tried to be hit.
-
bool forceIntersectBoundaries = false
Force intersection with boundaries.
-
bool lastHierarchySurfaceReached = false
Indicator that the last VolumeHierarchy surface was reached skip the next layer targeting to the next boundary/volume.
-
NavigationBoundaries navBoundaries = {}
the vector of boundary surfaces to work through
-
std::size_t navBoundaryIndex = navBoundaries.size()
the current boundary index of the navigation state
-
bool navigationBreak = false
Navigation state : a break has been detected.
-
std::size_t navLayerIndex = navLayers.size()
the current layer index of the navigation state
-
NavigationLayers navLayers = {}
the vector of navigation layers to work through
-
std::size_t navSurfaceIndex = navSurfaces.size()
the current surface index of the navigation state
-
NavigationSurfaces navSurfaces = {}
the vector of navigation surfaces to work through
-
const Layer *startLayer = nullptr
Navigation state: the start layer.
-
bool startLayerResolved = false
Indicator for start layer treatment.
-
const Surface *startSurface = nullptr
Navigation state: the start surface.
-
const TrackingVolume *startVolume = nullptr
Navigation state: the start volume.
-
const Layer *targetLayer = nullptr
Navigation state: the target layer.
-
bool targetReached = false
Indicator if the target is reached.
-
const Surface *targetSurface = nullptr
Navigation state: the target surface.
-
const TrackingVolume *targetVolume = nullptr
Navigation state: the target volume.
-
const TrackingVolume *worldVolume = nullptr
Navigation sate: the world volume.
-
inline auto navBoundary() const