ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::material_map_config< scalar_t >::map_config Struct Reference

How to configure the generation for a specific type of material map. More...

#include <detray/builders/material_map_generator.hpp>

Collaboration diagram for detray::material_map_config< scalar_t >::map_config:
[legend]

Public Attributes

std::size_t axis_index {0u}
 Along which of the two axes to scale the material thickness.
dindex map_id {dindex_invalid}
 Type id value of the material map in a given detector.
material< scalar_t > mapped_material {silicon_tml<scalar_t>()}
 Material to be filled into the maps.
std::function< std::vector< material_slab< scalar_t > >(const dvector< dvector< scalar_t > > &, const std::size_t, material< scalar_t >, const scalar_t, const scalar_t)> mat_generator {detray::detail::generate_cyl_mat<scalar_t>}
 How to vary the material thickness along the bins.
darray< std::size_t, 2 > n_bins {20u, 20u}
 Number of bins for material maps.
scalar_t scalor {1.f}
 Scale factor for the material thickness calculation.
scalar_t thickness {0.15f * unit<scalar_t>::mm}
 Minimal thickness of the material slabs in the material maps.

Detailed Description

template<concepts::scalar scalar_t>
struct detray::material_map_config< scalar_t >::map_config

How to configure the generation for a specific type of material map.