Class ProtoLayerHelper

Nested Relationships

Class Documentation

class Acts::ProtoLayerHelper

This class is designed to parse a vector of Surfaces and sort them into corresponding proto layers.

Public Functions

ProtoLayerHelper(const Config &cfg, std::unique_ptr<const Logger> logger = getDefaultLogger("ProtoLayerHelper", Logging::INFO))

Constructor with explicit config.

Parameters
  • cfg: Explicit config struct

  • logger: logging instance

~ProtoLayerHelper() = default

Destructor.

std::vector<ProtoLayer> protoLayers(const GeometryContext &gctx, const std::vector<const Surface*> &surfaces, BinningValue bValue, double joinTolerance) 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 arrays

  • bValue: The binning value for the sorting

  • joinTolerance: The tolerance for which bins are joined

struct Config

Nested configuration struct.