|
ACTS
Experiment-independent tracking
|
A wrapper class around a KDTree of surfaces. More...
#include <Acts/Geometry/KdtSurfaces.hpp>
Public Types | |
| using | Entry = std::pair<Query, std::shared_ptr<Surface>> |
| Broadcast the entry. | |
| using | KDTS |
| Broadcast the surface KDT type. | |
| using | Query = std::array<double, kDIM> |
| Broadcast the query definition. | |
Public Member Functions | |
| KdtSurfaces (const GeometryContext &gctx, const std::vector< std::shared_ptr< Surface > > &surfaces, const std::array< AxisDirection, kDIM > &casts, const std::shared_ptr< IReferenceGenerator > &rgen=std::make_shared< PolyhedronReferenceGenerator >()) | |
| Constructor from a vector of surfaces. | |
| std::vector< std::shared_ptr< Surface > > | surfaces (const Extent &extent) const |
| Query with an Extent object. | |
| std::vector< std::shared_ptr< Surface > > | surfaces (const RangeXD< kDIM, double > &range) const |
| Query with a Range object. | |
A wrapper class around a KDTree of surfaces.
It also deals with the conversion from global query to KDTree lookup positions
| using Acts::KdtSurfaces< kDIM, bSize >::Entry = std::pair<Query, std::shared_ptr<Surface>> |
Broadcast the entry.
| using Acts::KdtSurfaces< kDIM, bSize >::KDTS |
Broadcast the surface KDT type.
| using Acts::KdtSurfaces< kDIM, bSize >::Query = std::array<double, kDIM> |
Broadcast the query definition.
| Acts::KdtSurfaces< kDIM, bSize >::KdtSurfaces | ( | const GeometryContext & | gctx, |
| const std::vector< std::shared_ptr< Surface > > & | surfaces, | ||
| const std::array< AxisDirection, kDIM > & | casts, | ||
| const std::shared_ptr< IReferenceGenerator > & | rgen = std::make_shared<PolyhedronReferenceGenerator>() ) |
Constructor from a vector of surfaces.
| gctx | the geometry context of this call |
| surfaces | the surfaces to be filled into the tree |
| casts | the cast list from global position into kdtree local |
| rgen | the reference point generator |
| std::vector< std::shared_ptr< Surface > > Acts::KdtSurfaces< kDIM, bSize >::surfaces | ( | const Extent & | extent | ) | const |
Query with an Extent object.
| extent | is the range Extent to be queried |
| std::vector< std::shared_ptr< Surface > > Acts::KdtSurfaces< kDIM, bSize >::surfaces | ( | const RangeXD< kDIM, double > & | range | ) | const |
Query with a Range object.
| range | is the range to be queried |