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

A struct to access generated vertices from surface polyhedrons These vertices are then used to find the bin boundary box for the indexed grid. More...

#include <Acts/Geometry/ReferenceGenerators.hpp>

Inheritance diagram for Acts::PolyhedronReferenceGenerator:
[legend]
Collaboration diagram for Acts::PolyhedronReferenceGenerator:
[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

Public Attributes

bool addBarycenter = false
 This is for the barycenter addition.
double expansionValue = 0.0
 Absolute expansion value for the reference points.
int nSegements = 1
 The number of segments for the polyhedron approximation.

Detailed Description

A struct to access generated vertices from surface polyhedrons These vertices are then used to find the bin boundary box for the indexed grid.

The grid filling then completes the empty bins in between and expands if necessary.

Member Function Documentation

◆ references()

const std::vector< Vector3 > Acts::PolyhedronReferenceGenerator::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.

Member Data Documentation

◆ addBarycenter

bool Acts::PolyhedronReferenceGenerator::addBarycenter = false

This is for the barycenter addition.

◆ expansionValue

double Acts::PolyhedronReferenceGenerator::expansionValue = 0.0

Absolute expansion value for the reference points.

◆ nSegements

int Acts::PolyhedronReferenceGenerator::nSegements = 1

The number of segments for the polyhedron approximation.