|
ACTS
Experiment-independent tracking
|
Homogeneous material writer backend. More...
#include <detray/io/backend/homogeneous_material_writer.hpp>
Public Types | |
| using | payload_type = detector_homogeneous_material_payload |
| Payload type that the reader processes. | |
Static Public Member Functions | |
| template<class detector_t> | |
| static homogeneous_material_header_payload | 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. | |
| template<detray::concepts::material_params material_t> | |
| static material_param_payload | to_payload (const material_t &mat) |
Convert surface material mat into its io payload. | |
| template<detray::concepts::algebra algebra_t, detray::concepts::homogeneous_material material_t> | |
| static surface_material_payload | to_payload (const material_t &mat, std::size_t sf_idx) |
| Convert a homogeneous material surface entry to payload form. | |
| template<class detector_t> | |
| static material_volume_payload | to_payload (const typename detector_t::volume_type &vol_desc, const detector_t &det) |
Convert the material description of a volume vol_desc into its io payload. | |
Static Public Attributes | |
| static constexpr std::string_view | tag = "homogeneous_material" |
| Tag the writer as "homogeneous_material". | |
Homogeneous material writer backend.
Fills a detector_homogeneous_material_payload from a detector instance
|
static |
Convert the header information into its payload.
| detector_t | Detector type to serialize. |
| det | Detector providing the material store and surface links. |
| 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 descriptions are serialized. |
|
static |
Convert surface material mat into its io payload.
| material_t | Material parameter type. |
| mat | Material properties to serialize. |
|
static |
Convert a homogeneous material surface entry to payload form.
| algebra_t | Algebra backend used by the detector. |
| material_t | Homogeneous material type. |
| mat | Material and thickness attached to the surface. |
| sf_idx | Index of the owning surface in its collection. |
|
static |
Convert the material description of a volume vol_desc into its io payload.
| detector_t | Detector type to serialize. |
| vol_desc | Volume descriptor whose surfaces are inspected. |
| det | Detector providing material data and surface descriptors. |