File GeometryObject.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class GeometryObject
- #include <Acts/Geometry/GeometryObject.hpp>
Base class to provide GeometryIdentifier interface:
simple set and get
It also provides the binningPosition method for Geometry geometrical object to be binned in BinnedArrays
Subclassed by Acts::Layer, Acts::Surface, Acts::Volume
Public Functions
-
GeometryObject() = default
Defaulted construrctor.
-
GeometryObject(const GeometryObject&) = default
Defaulted copy constructor.
-
inline GeometryObject(const GeometryIdentifier &geometryId)
Constructor from a value.
- Parameters
geometryId – the geometry identifier of the object
-
inline void assignGeometryId(const GeometryIdentifier &geometryId)
Set the value.
- Parameters
geometryId – the geometry identifier to be assigned
-
virtual Vector3 binningPosition(const GeometryContext &gctx, BinningValue bValue) const = 0
Force a binning position method.
- Parameters
gctx – The current geometry context object, e.g. alignment
bValue – is the value in which you want to bin
- Returns
vector 3D used for the binning schema
-
inline virtual double binningPositionValue(const GeometryContext &gctx, BinningValue bValue) const
Implement the binningValue.
- Parameters
gctx – The current geometry context object, e.g. alignment
bValue – is the dobule in which you want to bin
- Returns
float to be used for the binning schema
-
inline const GeometryIdentifier &geometryId() const
- Returns
the geometry id by reference
-
inline GeometryObject &operator=(const GeometryObject &geometryId)
Assignment operator.
- Parameters
geometryId – the source geometryId
Protected Attributes
-
GeometryIdentifier m_geometryId¶
-
class GeometryObject