|
ACTS
Experiment-independent tracking
|
A navigation policy that uses grid based navigation for indexed surfaces Navigate through a multilayer structure by creating an artificial path on the grid. More...
#include <Acts/Navigation/IndexGridNavigationPolicy.hpp>
Public Types | |
| using | IndexGridType = IndexGrid<GridType> |
Public Member Functions | |
| IndexGridNavigationPolicy (const GeometryContext &gctx, const TrackingVolume &volume, const Logger &logger, const IndexGridNavigationConfig &config, const IndexGridType &grid) | |
| Main constructor, which expects the grid and will fill it with the surfaces from the volume passed. | |
| void | connect (NavigationDelegate &delegate) const override |
| Connect this policy with a navigation delegate. | |
| const IndexGridType & | indexGrid () const |
| Give const access to the index grid. | |
| void | initializeCandidates (const GeometryContext &gctx, const NavigationArguments &args, AppendOnlyNavigationStream &stream, const Logger &logger) const |
| Update the navigation state from the surface array. | |
| Public Member Functions inherited from Acts::INavigationPolicy | |
| virtual | ~INavigationPolicy ()=default |
| Virtual destructor so policies can be held through this base class. | |
| virtual void | visit (const std::function< void(const INavigationPolicy &)> &visitor) const |
| Convenience function to walk over all navigation policies. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Acts::INavigationPolicy | |
| static void | noopInitializeCandidates (const GeometryContext &, const NavigationArguments &, const AppendOnlyNavigationStream &, const Logger &) |
| Noop update function that is suitable as a default for default navigation delegates. | |
| Protected Member Functions inherited from Acts::INavigationPolicy | |
| template<NavigationPolicyConcept T> | |
| void | connectDefault (NavigationDelegate &delegate) const |
| Internal helper function for derived classes that conform to the concept and have a conventional updateState method. | |
A navigation policy that uses grid based navigation for indexed surfaces Navigate through a multilayer structure by creating an artificial path on the grid.
| using Acts::IndexGridNavigationPolicy< GridType >::IndexGridType = IndexGrid<GridType> |
|
explicit |
Main constructor, which expects the grid and will fill it with the surfaces from the volume passed.
volume | gctx | The geometrycontext object |
| volume | The tracking volume holding the surfaces that will be the indexed objects |
| logger | A logging instance |
| config | The configuration of the Navigation Policy |
| grid | The index grid to use for navigation |
|
overridevirtual |
Connect this policy with a navigation delegate.
| delegate | The navigation delegate to connect to |
Implements Acts::INavigationPolicy.
| const IndexGridType & Acts::IndexGridNavigationPolicy< GridType >::indexGrid | ( | ) | const |
Give const access to the index grid.
| void Acts::IndexGridNavigationPolicy< GridType >::initializeCandidates | ( | const GeometryContext & | gctx, |
| const NavigationArguments & | args, | ||
| AppendOnlyNavigationStream & | stream, | ||
| const Logger & | logger ) const |
Update the navigation state from the surface array.
| gctx | the geometry context |
| args | The navigation arguments |
| stream | The navigation stream to update |
| logger | The logger |