ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::concepts::material_slab Concept Reference

Material parameters with a thickness. More...

#include <detray/material/concepts.hpp>

Concept definition

template<class M>
concept detray::concepts::material_slab = requires(const M slab) {
typename M::material_type;
{ slab.thickness() } -> std::same_as<typename M::scalar_type>;
{ slab.thickness_in_X0() } -> std::same_as<typename M::scalar_type>;
{ slab.thickness_in_L0() } -> std::same_as<typename M::scalar_type>;
{
slab.path_segment(typename M::scalar_type(), typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
{
slab.path_segment_in_X0(typename M::scalar_type(),
typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
{
slab.path_segment_in_L0(typename M::scalar_type(),
typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
}
Material parameters.
Definition concepts.hpp:19
Material parameters with a thickness.
Definition concepts.hpp:48

Detailed Description

Material parameters with a thickness.