|
ACTS
Experiment-independent tracking
|
Base interface for all surface lookups. More...
#include <Acts/Surfaces/SurfaceArray.hpp>
Public Member Functions | |
| virtual | ~ISurfaceGridLookup ()=0 |
| Pure virtual destructor. | |
| virtual std::vector< AxisDirection > | binningValues () const |
| The binning values described by this surface grid lookup They are in order of the axes (optional) and empty for eingle lookups. | |
| virtual void | fill (const GeometryContext &gctx, const SurfaceVector &surfaces)=0 |
Fill provided surfaces into the contained Grid. | |
| virtual std::vector< const IAxis * > | getAxes () const =0 |
Returns copies of the axes used in the grid as AnyAxis. | |
| virtual Vector3 | getBinCenter (std::size_t bin) const =0 |
Gets the center position of bin bin in global coordinates. | |
| virtual std::optional< AnyGridConstView< SurfaceVector > > | getGridView () const =0 |
| Get a view of the grid for inspection. | |
| virtual bool | isValidBin (std::size_t bin) const =0 |
| Checks if global bin is valid. | |
| virtual const SurfaceVector & | lookup (const Vector3 &position, const Vector3 &direction) const =0 |
Performs lookup at pos and returns bin content as const reference. | |
| virtual const SurfaceVector & | lookup (std::size_t bin) const =0 |
| Performs lookup at global bin and returns bin content as const reference. | |
| virtual SurfaceVector & | lookup (std::size_t bin)=0 |
| Performs lookup at global bin and returns bin content as reference. | |
| virtual const SurfaceVector & | neighbors (const Vector3 &position, const Vector3 &direction) const =0 |
Performs a lookup at pos, but returns neighbors as well. | |
| virtual std::size_t | size () const =0 |
| Returns the total size of the grid (including under/overflow bins). | |
| virtual const Surface * | surfaceRepresentation () const =0 |
| Get the representative surface used for this lookup. | |
Base interface for all surface lookups.
|
pure virtual |
Pure virtual destructor.
|
virtual |
The binning values described by this surface grid lookup They are in order of the axes (optional) and empty for eingle lookups.
Reimplemented in Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Fill provided surfaces into the contained Grid.
| gctx | The current geometry context object, e.g. alignment |
| surfaces | Input surface pointers |
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Returns copies of the axes used in the grid as AnyAxis.
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Gets the center position of bin bin in global coordinates.
| bin | the global bin index |
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Get a view of the grid for inspection.
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Checks if global bin is valid.
| bin | the global bin index |
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Performs lookup at pos and returns bin content as const reference.
| position | Lookup position |
| direction | Lookup direction |
SurfaceVector at given bin Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Performs lookup at global bin and returns bin content as const reference.
| bin | Global lookup bin |
SurfaceVector at given bin Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Performs lookup at global bin and returns bin content as reference.
| bin | Global lookup bin |
SurfaceVector at given bin Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Performs a lookup at pos, but returns neighbors as well.
| position | Lookup position |
| direction | Lookup direction |
SurfaceVector at given bin. Copy of all bins selected Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Returns the total size of the grid (including under/overflow bins).
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.
|
pure virtual |
Get the representative surface used for this lookup.
Implemented in Acts::SurfaceArray::SingleElementLookup, and Acts::SurfaceArray::SurfaceGridLookup< Axis1, Axis2 >.