|
ACTS
Experiment-independent tracking
|
Configuration for the material map generator. More...
#include <detray/builders/material_map_generator.hpp>
Classes | |
| struct | map_config |
| How to configure the generation for a specific type of material map. More... | |
Public Member Functions | |
| template<typename mask_id_t> | |
| constexpr material_map_config & | set_map_config (mask_id_t map_type, surface_id sf_type, const map_config &cfg) |
| SettersStore the configuration for one mask and surface category. | |
| template<typename mask_id_t> | |
| bool | has_config (mask_id_t map_type, surface_id sf_type) const |
| GettersCheck whether a configuration exists for a mask and surface category. | |
| template<typename mask_id_t> | |
| const auto & | get_map_config (mask_id_t map_type, surface_id sf_type) const |
| Get the configuration for a mask and surface category. | |
| template<typename mask_id_t> | |
| auto & | get_map_config (mask_id_t map_type, surface_id sf_type) |
| Get the mutable configuration for a mask and surface category. | |
Public Attributes | |
| std::map< std::pair< unsigned int, surface_id >, map_config > | m_map_configs |
| Configuration for different types of material maps: The key consists of the mask type id and the surface type id. | |
Configuration for the material map generator.
| auto & detray::material_map_config< scalar_t >::get_map_config | ( | mask_id_t | map_type, |
| surface_id | sf_type ) |
Get the mutable configuration for a mask and surface category.
| map_type | Mask identifier selecting the shape configuration. |
| sf_type | Surface category using the map. |
| const auto & detray::material_map_config< scalar_t >::get_map_config | ( | mask_id_t | map_type, |
| surface_id | sf_type ) const |
Get the configuration for a mask and surface category.
| map_type | Mask identifier selecting the shape configuration. |
| sf_type | Surface category using the map. |
| bool detray::material_map_config< scalar_t >::has_config | ( | mask_id_t | map_type, |
| surface_id | sf_type ) const |
GettersCheck whether a configuration exists for a mask and surface category.
| map_type | Mask identifier selecting the shape configuration. |
| sf_type | Surface category using the map. |
|
constexpr |
SettersStore the configuration for one mask and surface category.
| map_type | Mask identifier selecting the shape configuration. |
| sf_type | Surface category using the map. |
| cfg | Binning and material variation settings. |