|
ACTS
Experiment-independent tracking
|
configuration for the cylinder portal generator More...
#include <detray/builders/cylinder_portal_generator.hpp>
Public Member Functions | |
| constexpr cylinder_portal_config & | build_inner (const bool b) |
| SettersSet whether to create an inner cylindrical portal. | |
| constexpr cylinder_portal_config & | do_autofit (const bool b) |
| Set whether portal bounds are fitted from the contained surfaces. | |
| constexpr cylinder_portal_config & | envelope (const scalar_t e) |
| Set the gap between fitted portals and the contained surfaces. | |
| constexpr cylinder_portal_config & | fixed_inner_radius (const scalar_t r) |
| Set the inner radius used when autofitting is disabled. | |
| constexpr cylinder_portal_config & | fixed_outer_radius (const scalar_t r) |
| Set the outer radius used when autofitting is disabled. | |
| constexpr cylinder_portal_config & | fixed_half_length (const scalar_t z) |
| Set the half-length used when autofitting is disabled. | |
| constexpr cylinder_portal_config & | link_north (const dindex l) |
| Set the volume adjacent to the north endcap. | |
| constexpr cylinder_portal_config & | link_south (const dindex l) |
| Set the volume adjacent to the south endcap. | |
| constexpr cylinder_portal_config & | link_east (const dindex l) |
| Set the volume adjacent to the outer cylindrical surface. | |
| constexpr cylinder_portal_config & | link_west (const dindex l) |
| Set the volume adjacent to the inner cylindrical surface. | |
| constexpr bool | build_inner () const |
| Getters. | |
| constexpr bool | do_autofit () const |
| constexpr scalar_t | envelope () const |
| constexpr scalar_t | fixed_inner_radius () const |
| constexpr scalar_t | fixed_outer_radius () const |
| constexpr scalar_t | fixed_half_length () const |
| constexpr const auto & | volume_links () const |
| constexpr const auto & | link_north () const |
| constexpr const auto & | link_south () const |
| constexpr const auto & | link_east () const |
| constexpr const auto & | link_west () const |
Public Attributes | |
| bool | m_build_inner {true} |
| Build inner cylinder portal (will use the same distance to the layer that was found for the outer cylinder portal). | |
| bool | m_do_autofit {true} |
| Autofit the lower/upper z extend and inner/outer radii. | |
| scalar_t | m_envelope {100.f * unit<scalar_t>::um} |
| Minimal envelope for the portals (used in autofitting). | |
| scalar_t | m_fixed_inner_r {0.f} |
| Fixed inner radius during autofit. | |
| scalar_t | m_fixed_outer_r {0.f} |
| Fixed outer radius during autofit. | |
| scalar_t | m_fixed_z {0.f} |
| Fixed length of the cylinder. | |
| std::vector< dindex > | m_volume_links |
| The portal volumes links (north, south, east, west). | |
configuration for the cylinder portal generator
|
constexpr |
Getters.
|
constexpr |
SettersSet whether to create an inner cylindrical portal.
| b | True to create the inner portal. |
|
constexpr |
|
constexpr |
Set whether portal bounds are fitted from the contained surfaces.
| b | True to fit bounds automatically. |
|
constexpr |
|
constexpr |
Set the gap between fitted portals and the contained surfaces.
| e | Portal envelope distance. |
|
constexpr |
|
constexpr |
Set the half-length used when autofitting is disabled.
| z | Fixed half-length along the cylinder axis. |
|
constexpr |
|
constexpr |
Set the inner radius used when autofitting is disabled.
| r | Fixed inner radius. |
|
constexpr |
|
constexpr |
Set the outer radius used when autofitting is disabled.
| r | Fixed outer radius. |
|
constexpr |
|
constexpr |
Set the volume adjacent to the outer cylindrical surface.
| l | Adjacent volume index. |
|
constexpr |
|
constexpr |
Set the volume adjacent to the north endcap.
| l | Adjacent volume index. |
|
constexpr |
|
constexpr |
Set the volume adjacent to the south endcap.
| l | Adjacent volume index. |
|
constexpr |
|
constexpr |
Set the volume adjacent to the inner cylindrical surface.
| l | Adjacent volume index. |
|
constexpr |
| std::vector<dindex> detray::cylinder_portal_config< scalar_t >::m_volume_links |
The portal volumes links (north, south, east, west).