|
ACTS
Experiment-independent tracking
|
Bind transform and mask data together for surface building. More...
#include <detray/builders/surface_factory_interface.hpp>
Public Member Functions | |
| surface_data (const surface_id type, const typename detector_t::transform3_type &trf, navigation_link volume_link, const boundary_coll_type &mask_boundaries, const dindex idx=dindex_invalid, const std::uint64_t source=detail::invalid_value< std::uint64_t >()) | |
| Parametrized constructor - surface with only one mask. | |
| surface_data (const surface_id type, const typename detector_t::transform3_type &trf, std::vector< navigation_link > volume_link, const std::vector< boundary_coll_type > &mask_boundaries, const dindex idx=dindex_invalid, const std::uint64_t source=detail::invalid_value< std::uint64_t >()) | |
| Parametrized constructor. | |
| auto | get_data () -> std::tuple< surface_id &, std::vector< navigation_link > &, dindex &, std::uint64_t &, std::vector< boundary_coll_type > &, typename detector_t::transform3_type & > |
Bind transform and mask data together for surface building.
Surface data is kept in separate detector containers and linked by indices, so during geometry building, great care has to be taken to make sure that all components of a surface get sorted and linked into the containers together and associated with the correct surface.
| detray::surface_data< detector_t >::surface_data | ( | const surface_id | type, |
| const typename detector_t::transform3_type & | trf, | ||
| navigation_link | volume_link, | ||
| const boundary_coll_type & | mask_boundaries, | ||
| const dindex | idx = dindex_invalid, | ||
| const std::uint64_t | source = detail::invalid_value<std::uint64_t>() ) |
Parametrized constructor - surface with only one mask.
| type | the surface type (portal|sensitive|passive) |
| trf | the surface placement transformation |
| volume_link | the mask volume link (used for navigation) |
| mask_boundaries | define the extent of the surface |
| idx | the index of the surface in the global detector lookup, needs to be passed only if a special ordering should be observed |
| source | Optional source identifier associated with the surface. |
| detray::surface_data< detector_t >::surface_data | ( | const surface_id | type, |
| const typename detector_t::transform3_type & | trf, | ||
| std::vector< navigation_link > | volume_link, | ||
| const std::vector< boundary_coll_type > & | mask_boundaries, | ||
| const dindex | idx = dindex_invalid, | ||
| const std::uint64_t | source = detail::invalid_value<std::uint64_t>() ) |
Parametrized constructor.
| type | the surface type (portal|sensitive|passive) |
| trf | the surface placement transformation |
| volume_link | the volume link of each mask (used for navigation) |
| mask_boundaries | define the extent of each mask of the surface |
| idx | the index of the surface in the global detector lookup, needs to be passed only if a special ordering should be observed |
| source | Optional source identifier associated with the surface. |
| auto detray::surface_data< detector_t >::get_data | ( | ) | ->std::tuple< surface_id &, std::vector< navigation_link > &, dindex &, std::uint64_t &, std::vector< boundary_coll_type > &, typenamedetector_t::transform3_type & > |