|
ACTS
Experiment-independent tracking
|
configuration for the barrel module generator More...
#include <detray/test/common/factories/barrel_generator.hpp>
Public Member Functions | |
| constexpr barrel_generator_config & | half_length (const scalar_t hz) |
| Setters. | |
| barrel_generator_config & | module_bounds (const std::vector< scalar_t > &bnds) |
| Set the module bounds. | |
| constexpr barrel_generator_config & | tilt_phi (const scalar_t tilt) |
| Set the tilt phi. | |
| constexpr barrel_generator_config & | radius (const scalar_t r) |
| Set the radius. | |
| constexpr barrel_generator_config & | radial_stagger (const scalar_t r_st) |
| Set the radial stagger. | |
| constexpr barrel_generator_config & | z_overlap (const scalar_t zo) |
| Set the z overlap. | |
| constexpr barrel_generator_config & | binning (const unsigned int n_phi, const unsigned int n_z) |
| Set the binning. | |
| constexpr barrel_generator_config & | binning (const std::pair< unsigned int, const unsigned int > &binning) |
| Set the binning. | |
| constexpr scalar_t | half_length () const |
| Getters. | |
| const std::vector< scalar_t > & | module_bounds () const |
| Return the module bounds. | |
| constexpr scalar_t | tilt_phi () const |
| Return the tilt phi. | |
| constexpr scalar_t | radius () const |
| Return the radius. | |
| constexpr scalar_t | radial_stagger () const |
| Return the radial stagger. | |
| constexpr scalar_t | z_overlap () const |
| Return the z overlap. | |
| constexpr const auto & | binning () const |
| Return the binning. | |
Public Attributes | |
| std::pair< unsigned int, unsigned int > | m_binning = {16u, 14u} |
| Number of modules in phi and z. | |
| scalar_t | m_half_z {500.f * unit<scalar_t>::mm} |
| Half length of the barrel (z). | |
| std::vector< scalar_t > | m_mask_values |
| Boundary values for the module masks. | |
| scalar_t | m_radial_stagger {0.5f * unit<scalar_t>::mm} |
| Radial module stagger. | |
| scalar_t | m_radius {32.f * unit<scalar_t>::mm} |
| Layer radius. | |
| scalar_t | m_tilt_phi {0.14f} |
| Phi tilt for modules. | |
| scalar_t | m_z_overlap {2.f * unit<scalar_t>::mm} |
| Module overlap in z. | |
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.
| binning | number of bins in phi and z |
|
constexpr |
Set the binning.
| n_phi | number of bins in phi |
| n_z | number of bins in z |
|
constexpr |
Getters.
Return the half length.
|
constexpr |
Setters.
Set the half length.
| hz | half length along z |
| const std::vector< scalar_t > & detray::barrel_generator_config< scalar_t >::module_bounds | ( | ) | const |
Return the module bounds.
| barrel_generator_config & detray::barrel_generator_config< scalar_t >::module_bounds | ( | const std::vector< scalar_t > & | bnds | ) |
Set the module bounds.
| bnds | module mask boundary values |
|
constexpr |
Return the radial stagger.
|
constexpr |
Set the radial stagger.
| r_st | radial stagger |
|
constexpr |
Return the radius.
|
constexpr |
Set the radius.
| r | barrel radius |
|
constexpr |
Return the tilt phi.
|
constexpr |
Set the tilt phi.
| tilt | module tilt angle |
|
constexpr |
Return the z overlap.
|
constexpr |
Set the z overlap.
| zo | overlap in z |
| std::vector<scalar_t> detray::barrel_generator_config< scalar_t >::m_mask_values |
Boundary values for the module masks.