Class GeometryObject

Inheritance Relationships

Derived Types

Class Documentation

class Acts::GeometryObject

Base class to provide GeometryID 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 GeometryID &geoID)

Constructor from a value.

Parameters
  • geoID: the geometry identifier of the object

void assignGeoID(const GeometryID &geoID)

Set the value.

Parameters
  • geoID: the geometry identifier to be assigned

const Vector3D 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 GeometryID &geoID() const

Return

the geometry id by reference

GeometryObject &operator=(const GeometryObject &geoID)

Assignment operator.

Parameters
  • geoID: the source geoID

Protected Attributes

GeometryID m_geoID