ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::AxisDirectionReferenceGenerator< bVAL > Struct Template Reference

A struct to access reference positions based on bin values. More...

#include <Acts/Geometry/ReferenceGenerators.hpp>

Inheritance diagram for Acts::AxisDirectionReferenceGenerator< bVAL >:
[legend]
Collaboration diagram for Acts::AxisDirectionReferenceGenerator< bVAL >:
[legend]

Public Member Functions

const std::vector< Vector3references (const GeometryContext &gctx, const Surface &surface) const override
 Helper to access a reference position based on binning value.
Public Member Functions inherited from Acts::IReferenceGenerator
virtual ~IReferenceGenerator ()=default

Detailed Description

template<AxisDirection bVAL>
struct Acts::AxisDirectionReferenceGenerator< bVAL >

A struct to access reference positions based on bin values.

Template Parameters
bVALthe binning value to be used for the binning position call

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

Member Function Documentation

◆ references()

template<AxisDirection bVAL>
const std::vector< Vector3 > Acts::AxisDirectionReferenceGenerator< bVAL >::references ( const GeometryContext & gctx,
const Surface & surface ) const
overridevirtual

Helper to access a reference position based on binning value.

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.