ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::io::grid_bin_payload< content_t > Struct Template Reference

A payload for a single grid bin. More...

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

Collaboration diagram for detray::io::grid_bin_payload< content_t >:
[legend]

Public Attributes

std::vector< content_t > content {}
 Bin content for the bin (e.g. coll. of surface indices or material slab).
std::vector< unsigned int > loc_index {}
 Bin index per axis (global index is determined by serializer).

Detailed Description

template<typename content_t = std::size_t>
struct detray::io::grid_bin_payload< content_t >

A payload for a single grid bin.

Note
The local indices and bin content container need to have the same ordering for the data to be matched