Class ProtoLayerHelper¶
Defined in File ProtoLayerHelper.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class
Acts::ProtoLayerHelper¶ This class is designed to parse a vector of Surfaces and sort them into corresponding proto layers.
Public Types
-
using
SortingConfig= std::pair<BinningValue, double>¶
Public Functions
-
ProtoLayerHelper(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("ProtoLayerHelper", Logging::INFO))¶ Constructor with explicit config.
- Parameters
cfg: Explicit config structlogger: logging instance
-
~ProtoLayerHelper() = default¶
-
std::vector<ProtoLayer>
protoLayers(const GeometryContext &gctx, const std::vector<const Surface*> &surfaces, const SortingConfig &sorting) const¶ Sort the surfaces into ProtoLayers.
- Return
A vector of ProtoLayers
- Parameters
gctx: The geometry context (usually building context at this stage)surfaces: The surfaces to be sorted into arrayssorting: The sorting setup, one single sorting
-
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.
- Return
A vector of ProtoLayers
- Parameters
gctx: The geometry context (usually building context at this stage)surfaces: The surfaces to be sorted into arrayssortings: The sequential sorting setup
-
struct
Config¶
-
using