ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::TryAllOverstepNavigator::State Struct Reference

Nested State struct. More...

#include <Acts/Propagator/TryAllNavigator.hpp>

Inheritance diagram for Acts::TryAllOverstepNavigator::State:
[legend]
Collaboration diagram for Acts::TryAllOverstepNavigator::State:
[legend]

Public Member Functions

 State (const Options &options_)
 Constructor for overstep navigator state.
const NavigationTargetactiveTarget () const
 Provides easy access to the active intersection target.
bool endOfTargets () const
 Check if all navigation candidates have been processed.
Public Member Functions inherited from Acts::TryAllNavigatorBase::State
 State (const Options &options_)
 Constructor with options.

Public Attributes

int activeTargetIndex = -1
 The current active target index of the navigation state.
std::vector< NavigationTargetactiveTargets
 The vector of active targets to work through.
std::optional< Vector3lastPosition
 The position before the last step.
Public Attributes inherited from Acts::TryAllNavigatorBase::State
const SurfacecurrentSurface = nullptr
 Currently active surface during propagation.
const TrackingVolumecurrentVolume = nullptr
 Currently active tracking volume during propagation.
bool navigationBreak = false
 If a break has been detected.
std::vector< detail::NavigationObjectCandidate > navigationCandidates
 The vector of navigation candidates to work through.
Options options
 Navigation options containing configuration for this propagation.
const SurfacestartSurface = nullptr
 Surface where the propagation started.
NavigatorStatistics statistics
 Navigation statistics.
const SurfacetargetSurface = nullptr
 Surface that is the target of the propagation.

Detailed Description

Nested State struct.

It acts as an internal state which is created for every propagation and meant to keep thread-local navigation information.

Constructor & Destructor Documentation

◆ State()

Acts::TryAllOverstepNavigator::State::State ( const Options & options_)
explicit

Constructor for overstep navigator state.

Parameters
options_Navigator options to initialize state with

Member Function Documentation

◆ activeTarget()

const NavigationTarget & Acts::TryAllOverstepNavigator::State::activeTarget ( ) const

Provides easy access to the active intersection target.

Returns
Reference to the currently active intersection candidate

◆ endOfTargets()

bool Acts::TryAllOverstepNavigator::State::endOfTargets ( ) const

Check if all navigation candidates have been processed.

Returns
True if no more candidates are available for navigation

Member Data Documentation

◆ activeTargetIndex

int Acts::TryAllOverstepNavigator::State::activeTargetIndex = -1

The current active target index of the navigation state.

◆ activeTargets

std::vector<NavigationTarget> Acts::TryAllOverstepNavigator::State::activeTargets

The vector of active targets to work through.

◆ lastPosition

std::optional<Vector3> Acts::TryAllOverstepNavigator::State::lastPosition

The position before the last step.