|
ACTS
Experiment-independent tracking
|
Homogeneous material reader backend. More...
#include <detray/io/backend/homogeneous_material_reader.hpp>
Public Types | |
| using | payload_type = detector_homogeneous_material_payload |
| Payload type that the reader processes. | |
Static Public Member Functions | |
| template<detray::concepts::scalar scalar_t> | |
| static auto | from_payload (const material_param_payload &mat_data) |
| template<detray::concepts::scalar scalar_t> | |
| static material_data< scalar_t > | from_payload (const surface_material_payload &slab_data) |
| template<class detector_t> | |
| static void | from_payload (detector_builder< typename detector_t::metadata, volume_builder > &det_builder, const payload_type &det_mat_data) |
Convert the detector material det_mat_data from its IO payload. | |
Static Public Attributes | |
| static constexpr std::string_view | tag = "homogeneous_material" |
| Tag the reader as "homogeneous material". | |
Homogeneous material reader backend.
Fills a detector_builder from a detector_homogeneous_material_payload
|
static |
| mat_data |
|
static |
| slab_data |
|
static |
Convert the detector material det_mat_data from its IO payload.
| detector_t | Detector type being constructed. |
| det_builder | Builder receiving material stores and links. |
| det_mat_data | Serialized homogeneous material payload. |