|
ACTS
Experiment-independent tracking
|
This class is designed to parse a vector of Surfaces and sort them into corresponding proto layers. More...
#include <Acts/Geometry/ProtoLayerHelper.hpp>
Classes | |
| struct | Config |
Public Types | |
| using | SortingConfig = std::pair<AxisDirection, double> |
| Type alias for sorting configuration with axis direction and tolerance. | |
Public Member Functions | |
| ProtoLayerHelper (const Config &, std::unique_ptr< const Logger > logger=getDefaultLogger("ProtoLayerHelper", Logging::INFO)) | |
| Constructor with explicit config. | |
| ~ProtoLayerHelper ()=default | |
| std::vector< ProtoLayer > | protoLayers (const GeometryContext &gctx, const std::vector< const Surface * > &surfaces, const SortingConfig &sorting) const |
| Sort the surfaces into ProtoLayers. | |
| std::vector< ProtoLayer > | protoLayers (const GeometryContext &gctx, const std::vector< const Surface * > &surfaces, const std::vector< SortingConfig > &sortings) const |
| Sort the surfaces into ProtoLayers, sequential sorting. | |
This class is designed to parse a vector of Surfaces and sort them into corresponding proto layers.
| using Acts::ProtoLayerHelper::SortingConfig = std::pair<AxisDirection, double> |
Type alias for sorting configuration with axis direction and tolerance.
|
explicit |
Constructor with explicit config.
| logger | logging instance |
|
default |
| std::vector< ProtoLayer > Acts::ProtoLayerHelper::protoLayers | ( | const GeometryContext & | gctx, |
| const std::vector< const Surface * > & | surfaces, | ||
| const SortingConfig & | sorting ) const |
Sort the surfaces into ProtoLayers.
| gctx | The geometry context (usually building context at this stage) |
| surfaces | The surfaces to be sorted into arrays |
| sorting | The sorting setup, one single sorting |
| std::vector< ProtoLayer > Acts::ProtoLayerHelper::protoLayers | ( | const GeometryContext & | gctx, |
| const std::vector< const Surface * > & | surfaces, | ||
| const std::vector< SortingConfig > & | sortings ) const |
Sort the surfaces into ProtoLayers, sequential sorting.
| gctx | The geometry context (usually building context at this stage) |
| surfaces | The surfaces to be sorted into arrays |
| sortings | The sequential sorting setup |