Class GeometryObject

Inheritance Relationships

Derived Types

Class Documentation

class Acts::GeometryObject

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.

GeometryObject(const GeometryIdentifier &geometryId)

Constructor from a value.

Parameters
  • geometryId: the geometry identifier of the object

void assignGeometryId(const GeometryIdentifier &geometryId)

Set the value.

Parameters
  • geometryId: the geometry identifier to be assigned

Vector3 binningPosition(const GeometryContext &gctx, BinningValue bValue) const = 0

Force a binning position method.

Return

vector 3D used for the binning schema

Parameters
  • gctx: The current geometry context object, e.g. alignment

  • bValue: is the value in which you want to bin

double binningPositionValue(const GeometryContext &gctx, BinningValue bValue) const

Implement the binningValue.

Return

float to be used for the binning schema

Parameters
  • gctx: The current geometry context object, e.g. alignment

  • bValue: is the dobule in which you want to bin

const GeometryIdentifier &geometryId() const

Return

the geometry id by reference

GeometryObject &operator=(const GeometryObject &geometryId)

Assignment operator.

Parameters
  • geometryId: the source geometryId

Protected Attributes

GeometryIdentifier m_geometryId