ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::io::surface_payload Struct Reference

A payload for surfaces. More...

#include <detray/io/frontend/payloads.hpp>

Collaboration diagram for detray::io::surface_payload:
[legend]

Public Attributes

std::optional< std::uint64_t > identifier
 Write the surface identifier as an additional information.
std::optional< std::size_t > index_in_coll
 Position of the surface in the volume surface container.
std::vector< mask_payload > masks {}
 Mask definitions attached to the surface.
std::optional< material_link_payload > material
 Write the material link of the surface as additional information.
std::uint64_t source {}
 Identifier of the source object (e.g. value of ACTS::GeometryIdentifier).
transform_payload transform {}
 Placement transform of the surface.
detray::surface_id type {detray::surface_id::e_sensitive}
 Either sensitive, passive or portal.

Detailed Description

A payload for surfaces.

Member Data Documentation

◆ identifier

std::optional<std::uint64_t> detray::io::surface_payload::identifier
Initial value:
{
detray::detail::invalid_value<std::uint64_t>()}

Write the surface identifier as an additional information.

◆ index_in_coll

std::optional<std::size_t> detray::io::surface_payload::index_in_coll

Position of the surface in the volume surface container.

Optional, if no specific ordering