ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::CenterReferenceGenerator Struct Reference

A struct to access the center position as a sole reference. More...

#include <Acts/Geometry/ReferenceGenerators.hpp>

Inheritance diagram for Acts::CenterReferenceGenerator:
[legend]
Collaboration diagram for Acts::CenterReferenceGenerator:
[legend]

Public Member Functions

const std::vector< Vector3references (const GeometryContext &gctx, const Surface &surface) const override
 Helper to access the Center point of for filling the grid.
Public Member Functions inherited from Acts::IReferenceGenerator
virtual ~IReferenceGenerator ()=default

Detailed Description

A struct to access the center position as a sole reference.

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

Member Function Documentation

◆ references()

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

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

Parameters
gctxthe geometry context of this operation
surfacethe surface for which the reference point is to be accessed
Returns
a vector of reference points for filling

Implements Acts::IReferenceGenerator.