|
ACTS
Experiment-independent tracking
|
Bind components for material together. More...
#include <detray/builders/homogeneous_material_factory.hpp>
Public Member Functions | |
| constexpr | material_data (const scalar_t thickness, const material< scalar_t > &mat, const std::size_t sf_idx=detail::invalid_value< std::size_t >()) |
| Construct from a predefined material. | |
| constexpr | material_data (const scalar_t thickness, const std::vector< scalar_t > &material_paramters, const material_state state=material_state::e_solid, const std::size_t sf_idx=detail::invalid_value< std::size_t >()) |
| Construct from all parameters: | |
| constexpr | material_data (const std::size_t sf_idx=detail::invalid_value< std::size_t >()) |
| Construct empty data for a given surface. | |
| void | append (const scalar_t thickness, const material< scalar_t > &mat) |
| Append new material. | |
| void | append (const scalar_t thickness, const std::vector< scalar_t > &material_paramters, const material_state state=material_state::e_solid) |
| Append new material. | |
| void | append (material_data &&other) |
| Append new material from. | |
| constexpr auto | get_data () -> std::tuple< std::size_t &, std::vector< material< scalar_t > > &, std::vector< scalar_t > & > |
Bind components for material together.
|
explicitconstexpr |
Construct empty data for a given surface.
| sf_idx | the index of the surface this material belongs to, needs to be passed only if a special oredering must be observed |
|
constexpr |
Construct from a predefined material.
| mat | predefined material, see 'detray/material/predefined_materials.hpp' |
| thickness | of the material slab/rod |
| sf_idx | the index of the surface this material belongs to, needs to be passed only if a special oredering must be observed |
|
constexpr |
Construct from all parameters:
| thickness | of the material slab/rod |
| material_paramters | Vector containing radiation length, nuclear interaction length, relative atomic mass, charge number, and molar density. |
| state | of the material (liquid, solid etc.) |
| sf_idx | the index of the surface this material belongs to, needs to be passed only if a special oredering must be observed |
| void detray::material_data< scalar_t >::append | ( | const scalar_t | thickness, |
| const material< scalar_t > & | mat ) |
Append new material.
| thickness | of the material slab/rod |
| mat | predefined material, see 'detray/material/predefined_materials.hpp' |
| void detray::material_data< scalar_t >::append | ( | const scalar_t | thickness, |
| const std::vector< scalar_t > & | material_paramters, | ||
| const material_state | state = material_state::e_solid ) |
Append new material.
| thickness | of the material slab/rod |
| material_paramters | Vector containing radiation length, nuclear interaction length, relative atomic mass, charge number, and molar density. |
| state | of the material (liquid, solid etc.) |
| void detray::material_data< scalar_t >::append | ( | material_data< scalar_t > && | other | ) |
Append new material from.
| other | material_data - move |
|
constexpr |