ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::fill_by_pos Struct Reference

Fill a surface grid using the surface translation. More...

#include <detray/builders/bin_fillers.hpp>

Public Member Functions

template<concepts::surface_grid grid_t, typename volume_t, typename surface_container_t, typename mask_container, typename transform_container, typename context_t, typename... Args>
auto operator() (grid_t &grid, const volume_t &vol, const surface_container_t &surfaces, const transform_container &transforms, const mask_container &, const context_t ctx, Args &&...) const -> void
 Populate a surface grid from the translations of its sensitive surfaces.

Detailed Description

Fill a surface grid using the surface translation.

Parameters
gridthe grid that should be filled
detthe detector from which to get the surface placements
volthe volume the grid belongs to
ctxthe geometry context

Member Function Documentation

◆ operator()()

template<concepts::surface_grid grid_t, typename volume_t, typename surface_container_t, typename mask_container, typename transform_container, typename context_t, typename... Args>
auto detray::fill_by_pos::operator() ( grid_t & grid,
const volume_t & vol,
const surface_container_t & surfaces,
const transform_container & transforms,
const mask_container & ,
const context_t ctx,
Args && ... ) const->void

Populate a surface grid from the translations of its sensitive surfaces.

Parameters
gridGrid to populate.
volVolume whose surfaces are selected.
surfacesSurface lookup data to filter.
transformsTransform store used to obtain surface positions.
ctxGeometry context for transform lookup.