|
ACTS
Experiment-independent tracking
|
Material map reader backend. More...
#include <detray/io/backend/material_map_reader.hpp>
Public Types | |
| using | bin_index_type = axis::multi_bin<dim> |
| Multi-axis bin index type used by material grids. | |
| using | payload_type |
| Payload type that the reader processes. | |
Static Public Member Functions | |
| template<concepts::detector detector_t> | |
| static void | from_payload (detector_builder< typename detector_t::metadata, volume_builder > &det_builder, payload_type &&grids_data) |
Convert the material grids grids_data from their IO payload. | |
Static Public Attributes | |
| static constexpr std::size_t | dim {DIM()} |
| Dimension of the material-grid bin index. | |
| static constexpr std::string_view | tag = "material_maps" |
| Tag the reader as "material_maps". | |
Material map reader backend.
Fills a detector_builder from a material detector_grids_payload
| using detray::io::material_map_reader< DIM >::payload_type |
Payload type that the reader processes.
|
static |
Convert the material grids grids_data from their IO payload.
| detector_t | Detector type being constructed. |
| det_builder | Builder receiving the material grids. |
| grids_data | Serialized material-grid payload, consumed by the reader. |