|
ACTS
Experiment-independent tracking
|
#include <Acts/Seeding2/CylindricalSpacePointKDTree.hpp>
Public Types | |
| using | Dim = CylindricalSpacePointKDTree::Dim |
| Enumeration of the different dimensions in which we can apply cuts. | |
| using | SpacePointIndex = CylindricalSpacePointKDTree::SpacePointIndex |
| Space point index type used in the grid. | |
| using | Tree = CylindricalSpacePointKDTree::Tree |
| The k-d tree type used by this seeder internally, which is three-dimensional, contains internal spacepoint pointers, uses the Acts scalar type for coordinates, stores its coordinates in std::arrays, and has leaf size 4. | |
Public Member Functions | |
| CylindricalSpacePointKDTreeBuilder (std::unique_ptr< const Logger > logger=getDefaultLogger("CylindricalSpacePointKDTree", Logging::Level::INFO)) | |
| Construct a cylindrical space point grid with the given configuration and an optional logger. | |
| CylindricalSpacePointKDTree | build () |
| void | clear () |
| Clear the grid and drop all state. | |
| void | extend (const SpacePointContainer2::ConstRange &spacePoints) |
| Fill the grid with space points from the container. | |
| void | insert (const ConstSpacePointProxy2 &sp) |
| Insert a space point into the grid. | |
| void | insert (SpacePointIndex index, float phi, float r, float z) |
| Insert a space point into the grid. | |
| void | reserve (std::size_t n) |
| std::size_t | size () const |
| Get the number of space points in the grid. | |
Static Public Attributes | |
| static constexpr std::size_t | NDims = CylindricalSpacePointKDTree::NDims |
| Set the number of dimensions in which to embed points. | |
| using Acts::Experimental::CylindricalSpacePointKDTreeBuilder::Dim = CylindricalSpacePointKDTree::Dim |
Enumeration of the different dimensions in which we can apply cuts.
| using Acts::Experimental::CylindricalSpacePointKDTreeBuilder::SpacePointIndex = CylindricalSpacePointKDTree::SpacePointIndex |
Space point index type used in the grid.
| using Acts::Experimental::CylindricalSpacePointKDTreeBuilder::Tree = CylindricalSpacePointKDTree::Tree |
The k-d tree type used by this seeder internally, which is three-dimensional, contains internal spacepoint pointers, uses the Acts scalar type for coordinates, stores its coordinates in std::arrays, and has leaf size 4.
|
explicit |
Construct a cylindrical space point grid with the given configuration and an optional logger.
| CylindricalSpacePointKDTree Acts::Experimental::CylindricalSpacePointKDTreeBuilder::build | ( | ) |
| void Acts::Experimental::CylindricalSpacePointKDTreeBuilder::clear | ( | ) |
Clear the grid and drop all state.
The object will behave like a newly constructed one.
| void Acts::Experimental::CylindricalSpacePointKDTreeBuilder::extend | ( | const SpacePointContainer2::ConstRange & | spacePoints | ) |
Fill the grid with space points from the container.
| spacePoints | The space point container to fill the grid with |
| void Acts::Experimental::CylindricalSpacePointKDTreeBuilder::insert | ( | const ConstSpacePointProxy2 & | sp | ) |
Insert a space point into the grid.
| sp | The space point to insert |
| void Acts::Experimental::CylindricalSpacePointKDTreeBuilder::insert | ( | SpacePointIndex | index, |
| float | phi, | ||
| float | r, | ||
| float | z ) |
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 |
| r | The radial distance of the space point from the origin |
| z | The z-coordinate of the space point |
| void Acts::Experimental::CylindricalSpacePointKDTreeBuilder::reserve | ( | std::size_t | n | ) |
| std::size_t Acts::Experimental::CylindricalSpacePointKDTreeBuilder::size | ( | ) | const |
Get the number of space points in the grid.
|
staticconstexpr |
Set the number of dimensions in which to embed points.
This is just 3 for now (phi, r, and z), but we might want to increase or decrease this number in the future.