|
ACTS
Experiment-independent tracking
|
Material maps writer backend. More...
#include <detray/io/backend/material_map_writer.hpp>
Public Types | |
| using | payload_type |
| Payload type that the reader processes. | |
Static Public Member Functions | |
| template<class detector_t> | |
| static auto | header_to_payload (const detector_t &det, const std::string_view det_name) |
| Convert the header information into its payload. | |
| template<class detector_t> | |
| static payload_type | to_payload (const detector_t &det, const typename detector_t::name_map &) |
Convert the material description of a detector det into its io payload. | |
Static Public Attributes | |
| static constexpr std::string_view | tag = "material_maps" |
| Tag the writer as "material_map". | |
Material maps writer backend.
Fills a material detector_grids_payload from a detector instance
Payload type that the reader processes.
|
static |
Convert the header information into its payload.
| detector_t | Detector type to serialize. |
| det | Detector whose material grids are written. |
| det_name | Name recorded in the serialized header. |
|
static |
Convert the material description of a detector det into its io payload.
| detector_t | Detector type to serialize. |
| det | Detector whose material maps are serialized. |