File ILayerArrayCreator.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

Typedefs

typedef BinnedArray<LayerPtr> LayerArray

A BinnedArray to a std::shared_ptr of a layer.

Layers are constructedd with shared_ptr factories, hence the layer array is describes as:

typedef std::shared_ptr<const Layer> LayerPtr

A std::shared_ptr to a Layer.

typedef std::vector<LayerPtr> LayerVector

A vector of std::shared_ptr to layers.

class ILayerArrayCreator
#include <Acts/Geometry/ILayerArrayCreator.hpp>

Interface class ILayerArrayCreators, it inherits from IAlgTool.

It receives the LayerVector and creaets an array with NaivgationLayer objects filled in between.

Subclassed by Acts::LayerArrayCreator

Public Functions

virtual ~ILayerArrayCreator() = default

Virtual destructor.

virtual std::unique_ptr<const LayerArray> layerArray(const GeometryContext &gctx, const LayerVector &layers, double min, double max, BinningType btype = arbitrary, BinningValue bvalue = binX) const = 0

LayerArrayCreator interface method.

Parameters
  • gctx – is the geometry context for witch the volume is built

  • layers – are the layers to be moved into an array

  • min – is the minimul value for binning

  • max – is the maximum value for binning

  • btype – is the binning type

  • bvalue – is the value in which the binning should be done

Returns

unqiue pointer to a new LayerArray