EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Base interface for all surface lookups. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/SurfaceArray.hpp>
Public Member Functions | |
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 Vector3D &position)=0 |
Performs lookup at pos and returns bin content as reference. | |
virtual const SurfaceVector & | lookup (const Vector3D &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 Vector3D &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 Vector3D | 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. | |
Base interface for all surface lookups.
Definition at line 35 of file SurfaceArray.hpp.
View newest version in sPHENIX GitHub at line 35 of file SurfaceArray.hpp
|
pure virtualdefault |
Pure virtual destructor.
|
inlinevirtual |
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< Axes >.
Definition at line 110 of file SurfaceArray.hpp.
View newest version in sPHENIX GitHub at line 110 of file SurfaceArray.hpp
|
pure virtual |
Attempts to fix sub-optimal binning by filling closest Surfaces into empty bin.
gctx | The current geometry context object, e.g. alignment |
surfaces | The surface pointers to fill |
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
Referenced by Acts::SurfaceArrayCreator::completeBinning().
|
pure virtual |
Get the number of dimensions of the grid.
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
Referenced by lmidat().
|
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::SurfaceGridLookup< Axes >.
Referenced by Acts::SurfaceArrayCreator::surfaceArrayOnCylinder(), Acts::SurfaceArrayCreator::surfaceArrayOnDisc(), and Acts::SurfaceArrayCreator::surfaceArrayOnPlane().
|
pure virtual |
Returns copies of the axes used in the grid as AnyAxis
.
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
Referenced by Acts::SurfaceArrayCreator::surfaceArrayOnCylinder(), and Acts::SurfaceArrayCreator::surfaceArrayOnDisc().
|
pure virtual |
Gets the center position of bin bin
in global coordinates.
bin | the global bin index |
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
|
pure virtual |
Checks if global bin is valid.
bin | the global bin index |
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
|
pure virtual |
Performs lookup at pos
and returns bin content as reference.
position | Lookup position |
SurfaceVector
at given bin Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
Referenced by pepsimainerhic().
|
pure virtual |
Performs lookup at pos
and returns bin content as const reference.
position | Lookup position |
SurfaceVector
at given bin Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
|
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::SurfaceGridLookup< Axes >.
|
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::SurfaceGridLookup< Axes >.
|
pure virtual |
Performs a lookup at pos
, but returns neighbors as well.
position | Lookup position |
SurfaceVector
at given bin. Copy of all bins selected Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.
|
pure virtual |
Returns the total size of the grid (including under/overflow bins)
Implemented in Acts::SurfaceArray::SurfaceGridLookup< Axes >.