|
ACTS
Experiment-independent tracking
|
Nested functor that fills the edges from a mask container. More...
#include <detray/navigation/volume_graph.hpp>
Public Member Functions | |
| template<typename mask_group_t, typename mask_range_t> | |
| vector_t< edge > | operator() (const mask_group_t &mask_group, const mask_range_t &mask_range, const dindex volume_id) |
| Builds the collection of graph edges for a given node. | |
Nested functor that fills the edges from a mask container.
| vector_t< edge > detray::volume_graph< detector_t, node_inspector, vector_t >::edge_generator::edges_builder::operator() | ( | const mask_group_t & | mask_group, |
| const mask_range_t & | mask_range, | ||
| const dindex | volume_id ) |
Builds the collection of graph edges for a given node.
From the volume index and a mask link owned by one of the volumes surfaces a vector of graph edges is built. The mask container calls this functor and provides the correct mask group from which the surface masks can be obtained from the surfaces mask range.
| mask_group | the group of masks in the mask container of the detector |
| volume_id | the index of the volume/node for which to build edges |
| mask_range | the range of masks in the group for which to build edges |