|
ACTS
Experiment-independent tracking
|
configuration for the barrel module generator More...
#include <detray/test/common/factories/endcap_generator.hpp>
Public Member Functions | |
| constexpr endcap_generator_config & | side (const int s) |
| Setters. | |
| constexpr endcap_generator_config & | center (const scalar_t z) |
| Set the center. | |
| constexpr endcap_generator_config & | inner_radius (const scalar_t r) |
| Set the inner radius. | |
| constexpr endcap_generator_config & | outer_radius (const scalar_t r) |
| Set the outer radius. | |
| endcap_generator_config & | module_bounds (const std::vector< std::vector< scalar_t > > &bnds) |
| Set the module bounds. | |
| constexpr endcap_generator_config & | ring_stagger (const scalar_t rs) |
| Set the ring stagger. | |
| constexpr endcap_generator_config & | phi_stagger (const std::vector< scalar_t > &ps) |
| Set the phi stagger. | |
| constexpr endcap_generator_config & | phi_sub_stagger (const std::vector< scalar_t > &ps) |
| Set the phi sub stagger. | |
| constexpr endcap_generator_config & | module_tilt (const std::vector< scalar_t > &t) |
| Set the module tilt. | |
| constexpr endcap_generator_config & | binning (const std::vector< unsigned int > &b) |
| Set the binning. | |
| constexpr int | side () const |
| Getters. | |
| constexpr scalar_t | center () const |
| Return the center. | |
| constexpr scalar_t | inner_radius () const |
| Return the inner radius. | |
| constexpr scalar_t | outer_radius () const |
| Return the outer radius. | |
| const auto & | module_bounds () const |
| Return the module bounds. | |
| constexpr scalar_t | ring_stagger () const |
| Return the ring stagger. | |
| constexpr const auto & | phi_stagger () const |
| Return the phi stagger. | |
| constexpr const auto & | phi_sub_stagger () const |
| Return the phi sub stagger. | |
| constexpr const auto & | module_tilt () const |
| Return the module tilt. | |
| constexpr const auto & | binning () const |
| Return the binning. | |
Public Attributes | |
| std::vector< unsigned int > | m_binning = {40u, 68u} |
| Number of modules in phi (per ring). | |
| scalar_t | m_center_z {0.f} |
| Center position (|z|). | |
| scalar_t | m_inner_radius {25.f * unit<scalar_t>::mm} |
| Inner layer radius. | |
| std::vector< std::vector< scalar_t > > | m_mask_values |
| Boundary values for the module masks (per ring). | |
| scalar_t | m_outer_radius {180.f * unit<scalar_t>::mm} |
| Outer layer radius. | |
| std::vector< scalar_t > | m_phi_stagger |
| Stagger in phi (per ring). | |
| std::vector< scalar_t > | m_phi_sub_stagger |
| Substagger in phi (per ring). | |
| scalar_t | m_ring_stagger {2.f * unit<scalar_t>::mm} |
| Stagger between the two rings. | |
| int | m_side {-1} |
| Construct positive or negative endcap. | |
| std::vector< scalar_t > | m_tilt = {0.f, 0.f} |
| Module tilt (per ring). | |
configuration for the barrel module generator
The default values correspond to the toy detector inner pixel layer
|
constexpr |
Return the binning.
|
constexpr |
Set the binning.
| b | number of modules in phi for each ring |
|
constexpr |
Return the center.
|
constexpr |
Set the center.
| z | center position along z |
|
constexpr |
Return the inner radius.
|
constexpr |
Set the inner radius.
| r | inner radius |
| const auto & detray::endcap_generator_config< scalar_t >::module_bounds | ( | ) | const |
Return the module bounds.
| endcap_generator_config & detray::endcap_generator_config< scalar_t >::module_bounds | ( | const std::vector< std::vector< scalar_t > > & | bnds | ) |
Set the module bounds.
| bnds | module mask boundaries for each ring |
|
constexpr |
Return the module tilt.
|
constexpr |
Set the module tilt.
| t | module tilt values |
|
constexpr |
Return the outer radius.
|
constexpr |
Set the outer radius.
| r | outer radius |
|
constexpr |
Return the phi stagger.
|
constexpr |
Set the phi stagger.
| ps | stagger values in phi |
|
constexpr |
Return the phi sub stagger.
|
constexpr |
Set the phi sub stagger.
| ps | sub-stagger values in phi |
|
constexpr |
Return the ring stagger.
|
constexpr |
Set the ring stagger.
| rs | stagger between rings |
|
constexpr |
Getters.
Return the side.
|
constexpr |
Setters.
Set the side.
| s | endcap side |
| std::vector<std::vector<scalar_t> > detray::endcap_generator_config< scalar_t >::m_mask_values |
Boundary values for the module masks (per ring).
| std::vector<scalar_t> detray::endcap_generator_config< scalar_t >::m_phi_stagger |
Stagger in phi (per ring).
| std::vector<scalar_t> detray::endcap_generator_config< scalar_t >::m_phi_sub_stagger |
Substagger in phi (per ring).