File IndexedSurfacesGenerator.hpp

namespace Acts


This file is foreseen for the Geometry module to replace Extent

namespace Experimental
template<typename surface_container>
struct IndexedSurfacesGenerator
#include <Acts/Detector/IndexedSurfacesGenerator.hpp>

A templated indexed grid generator.

This Generator creates a SurfaceCandidatesUpdator delegate which can then be used in the DetectorVolume class for updating given surface candidates.

Template Parameters

objects_container – the objects container

Public Functions

inline const Logger &logger() const

Access to the logger.


a const reference to the logger

template<typename axis_generator, typename reference_generator>
inline SurfaceCandidatesUpdator operator()(const GeometryContext &gctx, const axis_generator &aGenerator, const reference_generator &rGenerator) const

Create the Surface candidate updator.

Template Parameters
  • axis_generator – does generate the axis of the grid

  • reference_generator – does generate the reference query points

  • gctx – the geometry context

  • aGenerator – the axis generator

  • rGenerator – the reference generataor


a SurfaceCandidateUpdator delegate

Public Members

std::vector<std::size_t> assignToAll = {}
std::vector<std::size_t> binExpansion = {}
std::vector<BinningValue> bValues = {}

The binning.

std::unique_ptr<const Logger> oLogger = getDefaultLogger("IndexedSurfacesGenerator", Logging::INFO)

Screen output logger.

surface_container surfaces = {}

The surfaces to be indexed (including surfaces that are assigned to all bins)

Transform3 transform = Transform3::Identity()

The transform into the local binning schema.