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

A functor to update the mask index in surface objects. More...

#include <detray/builders/volume_builder.hpp>

Public Member Functions

template<typename group_t, typename index_t, typename surface_t>
void operator() (const group_t &group, const index_t &, surface_t &sf) const
 Update a surface's mask index after mask groups are appended.

Detailed Description

A functor to update the mask index in surface objects.

Member Function Documentation

◆ operator()()

template<typename group_t, typename index_t, typename surface_t>
void detray::detail::mask_index_update::operator() ( const group_t & group,
const index_t & ,
surface_t & sf ) const

Update a surface's mask index after mask groups are appended.

Parameters
groupMask group whose size determines the new offset.
sfSurface descriptor whose mask link is updated.