Struct Acts::Experimental::CenterReferenceGeneratorΒΆ

struct CenterReferenceGenerator

A struct to access the center position.

This generator will provide only one filling point and hence only a single bin in the indexed grid.

Public Functions

inline const std::vector<Vector3> references(const GeometryContext &gctx, const Surface &surface) const

Helper to access the Center point of for filling the grid.

Parameters
  • gctx – the geometry context of this operation

  • surface – the surface for which the reference point is to be accessed

Returns

a vector of referene points for filling