ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::Experimental::TryAllNavigator::State Struct Referencefinal

Nested state struct. More...

#include <Acts/Propagator/TryAllNavigator.hpp>

Collaboration diagram for Acts::Experimental::TryAllNavigator::State:
[legend]

Public Member Functions

 State (const Options &options_)
const NavigationTargetactiveTargetBehind () const
 Provides easy access to the active intersection target.
const std::vector< NavigationTarget > & currentTargets () const
 Provides easy access to the current active targets, prioritizing targets behind the current position.
bool hasTargetsBehind () const
 Checks if there are still active targets behind the current position that have not been tried yet.

Public Attributes

std::int32_t activeTargetBehindIndex = -1
 Index to keep track of which target behind the current position is currently active.
std::vector< NavigationTargetactiveTargetsAhead
 The vector of active targets ahead of the current position.
std::vector< NavigationTargetactiveTargetsBehind
 The vector of active targets behind the current position.
const SurfacecurrentSurface = nullptr
 Currently active surface during propagation.
const TrackingVolumecurrentVolume = nullptr
 Currently active tracking volume during propagation.
std::optional< Vector3lastPosition
 The position before the last step.
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.

Constructor & Destructor Documentation

◆ State()

Acts::Experimental::TryAllNavigator::State::State ( const Options & options_)
explicit
Parameters
options_Navigator options to initialise state with

Member Function Documentation

◆ activeTargetBehind()

const NavigationTarget & Acts::Experimental::TryAllNavigator::State::activeTargetBehind ( ) const

Provides easy access to the active intersection target.

Returns
Reference to the currently active intersection candidate

◆ currentTargets()

const std::vector< NavigationTarget > & Acts::Experimental::TryAllNavigator::State::currentTargets ( ) const

Provides easy access to the current active targets, prioritizing targets behind the current position.

Returns
Reference to the vector of currently active intersection candidates, prioritizing targets behind the current position

◆ hasTargetsBehind()

bool Acts::Experimental::TryAllNavigator::State::hasTargetsBehind ( ) const

Checks if there are still active targets behind the current position that have not been tried yet.

Returns
True if there are still active targets behind the current position, false otherwise