|
ACTS
Experiment-independent tracking
|
Policy which adds all candidates of the configured type to the stream. More...
#include <Acts/Navigation/TryAllNavigationPolicy.hpp>
Classes | |
| struct | Config |
Public Member Functions | |
| TryAllNavigationPolicy (const GeometryContext &gctx, const TrackingVolume &volume, const Logger &logger) | |
| Constructor from a volume. | |
| TryAllNavigationPolicy (const GeometryContext &gctx, const TrackingVolume &volume, const Logger &logger, const Config &config) | |
| Constructor from a volume. | |
| void | connect (NavigationDelegate &delegate) const override |
| Connect the policy to a navigation delegate. | |
| void | initializeCandidates (const GeometryContext &gctx, const NavigationArguments &args, AppendOnlyNavigationStream &stream, const Logger &logger) const |
| Add all candidates to the stream. | |
| 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. | |
Policy which adds all candidates of the configured type to the stream.
| Acts::TryAllNavigationPolicy::TryAllNavigationPolicy | ( | const GeometryContext & | gctx, |
| const TrackingVolume & | volume, | ||
| const Logger & | logger, | ||
| const Config & | config ) |
Constructor from a volume.
| gctx | is the geometry context |
| volume | is the volume to navigate |
| logger | is the logger |
| config | The configuration for the policy |
| Acts::TryAllNavigationPolicy::TryAllNavigationPolicy | ( | const GeometryContext & | gctx, |
| const TrackingVolume & | volume, | ||
| const Logger & | logger ) |
Constructor from a volume.
| gctx | is the geometry context |
| volume | is the volume to navigate |
| logger | is the logger |
|
overridevirtual |
Connect the policy to a navigation delegate.
| delegate | is the navigation delegate |
Implements Acts::INavigationPolicy.
| void Acts::TryAllNavigationPolicy::initializeCandidates | ( | const GeometryContext & | gctx, |
| const NavigationArguments & | args, | ||
| AppendOnlyNavigationStream & | stream, | ||
| const Logger & | logger ) const |
Add all candidates to the stream.
| gctx | is the geometry context |
| args | are the navigation arguments |
| stream | is the navigation stream to update |
| logger | is the logger |