|
ACTS
Experiment-independent tracking
|
A cylindrical space point grid used for seeding in a cylindrical detector geometry. More...
#include <Acts/Seeding/CylindricalSpacePointGrid.hpp>
Classes | |
| struct | Config |
| Configuration parameters for the cylindrical space point grid. More... | |
Public Types | |
| using | GridBase |
| Type alias for the CRTP base class. | |
| using | PhiAxisType = GridBase::AxisTypeAt<0> |
| Type alias for the phi axis (equidistant binning, closed boundaries). | |
| using | RAxisType = GridBase::AxisTypeAt<2> |
| Type alias for the r axis (variable binning, open boundaries). | |
| using | ZAxisType = GridBase::AxisTypeAt<1> |
| Type alias for the z axis (variable binning, open boundaries). | |
Public Member Functions | |
| CylindricalSpacePointGrid (const Config &config, std::unique_ptr< const Logger > logger=getDefaultLogger("CylindricalSpacePointGrid", Logging::Level::INFO)) | |
| Construct a cylindrical space point grid with the given configuration and an optional logger. | |
| std::optional< std::size_t > | binIndex (float phi, float z, float r) const |
| Get the bin index for a space point given its azimuthal angle, radial distance, and z-coordinate. | |
| Range1D< float > | computeRadiusRange (const SpacePointContainer &spacePoints) const |
| Compute the range of radii in the grid. | |
| std::optional< std::size_t > | insert (const ConstSpacePointProxy &sp) |
| Insert a space point into the grid. | |
| std::optional< std::size_t > | insert (SpacePointIndex index, float phi, float z, float r) |
| Insert a space point into the grid. | |
| void | sortBinsByR (const SpacePointContainer &spacePoints) |
| Sort the bins in the grid by the space point radius, which is required by some algorithms that operate on the grid. | |
A cylindrical space point grid used for seeding in a cylindrical detector geometry.
The grid is defined in cylindrical coordinates (phi, z, r) and allows for efficient access to space points based on their azimuthal angle, z-coordinate, and radial distance.
Type alias for the CRTP base class.
|
explicit |
Construct a cylindrical space point grid with the given configuration and an optional logger.
| config | Configuration for the cylindrical grid |
| logger | Optional logger instance for debugging output |
| std::optional< std::size_t > Acts::CylindricalSpacePointGrid::binIndex | ( | float | phi, |
| float | z, | ||
| float | r ) const |
Get the bin index for a space point given its azimuthal angle, radial distance, and z-coordinate.
| phi | The azimuthal angle of the space point in radians |
| z | The z-coordinate of the space point |
| r | The radial distance of the space point from the origin |
| Range1D< float > Acts::CylindricalSpacePointGrid::computeRadiusRange | ( | const SpacePointContainer & | spacePoints | ) | const |
Compute the range of radii in the grid.
This requires the grid to be filled with space points and sorted by radius. The sorting can be done with the sortBinsByR method.
| spacePoints | The space point container to compute the radius range |
| std::optional< std::size_t > Acts::CylindricalSpacePointGrid::insert | ( | const ConstSpacePointProxy & | sp | ) |
Insert a space point into the grid.
| sp | The space point to insert |
| std::optional< std::size_t > Acts::CylindricalSpacePointGrid::insert | ( | SpacePointIndex | index, |
| float | phi, | ||
| float | z, | ||
| float | r ) |
Insert a space point into the grid.
| index | The index of the space point to insert |
| phi | The azimuthal angle of the space point in radians |
| z | The z-coordinate of the space point |
| r | The radial distance of the space point from the origin |
| void Acts::CylindricalSpacePointGrid::sortBinsByR | ( | const SpacePointContainer & | spacePoints | ) |
Sort the bins in the grid by the space point radius, which is required by some algorithms that operate on the grid.
| spacePoints | The space point container to sort the bins by radius |