Analysis Software
Documentation for sPHENIX simulation software
|
Lookup implementation which wraps one element and always returns this element when lookup is called. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/SurfaceArray.hpp>
Public Member Functions | |
SingleElementLookup (SurfaceVector::value_type element) | |
Default constructor. | |
Public Member Functions inherited from Acts::SurfaceArray::ISurfaceGridLookup | |
virtual void | fill (const GeometryContext &gctx, const SurfaceVector &surfaces)=0 |
Fill provided surfaces into the contained Grid . | |
virtual size_t | completeBinning (const GeometryContext &gctx, const SurfaceVector &surfaces)=0 |
Attempts to fix sub-optimal binning by filling closest Surfaces into empty bin. | |
virtual SurfaceVector & | lookup (const Vector3 &position)=0 |
Performs lookup at pos and returns bin content as reference. | |
virtual const SurfaceVector & | lookup (const Vector3 &position) const =0 |
Performs lookup at pos and returns bin content as const reference. | |
virtual SurfaceVector & | lookup (size_t bin)=0 |
Performs lookup at global bin and returns bin content as reference. | |
virtual const SurfaceVector & | lookup (size_t bin) const =0 |
Performs lookup at global bin and returns bin content as const reference. | |
virtual const SurfaceVector & | neighbors (const Vector3 &position) const =0 |
Performs a lookup at pos , but returns neighbors as well. | |
virtual size_t | size () const =0 |
Returns the total size of the grid (including under/overflow bins) | |
virtual Vector3 | getBinCenter (size_t bin) const =0 |
Gets the center position of bin bin in global coordinates. | |
virtual std::vector< const IAxis * > | getAxes () const =0 |
Returns copies of the axes used in the grid as AnyAxis . | |
virtual size_t | dimensions () const =0 |
Get the number of dimensions of the grid. | |
virtual bool | isValidBin (size_t bin) const =0 |
Checks if global bin is valid. | |
virtual std::vector< BinningValue > | 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 | ~ISurfaceGridLookup ()=0 |
Pure virtual destructor. | |
Lookup implementation which wraps one element and always returns this element when lookup is called.
Definition at line 353 of file SurfaceArray.hpp.
View newest version in sPHENIX GitHub at line 353 of file SurfaceArray.hpp
|
inline |
Default constructor.
element | the one and only element. |
Definition at line 356 of file SurfaceArray.hpp.
View newest version in sPHENIX GitHub at line 356 of file SurfaceArray.hpp