Class Acts::LayerArrayCreator¶
-
class Acts::LayerArrayCreator : public Acts::ILayerArrayCreator¶
The LayerArrayCreator is a simple Tool that helps to construct LayerArrays from std::vector of Acts::CylinderLayer, Acts::DiscLayer, Acts::PlaneLayer.
It fills the gaps automatically with Acts::NavigationLayer to be processed easily in the Navigation of the Extrapolation process.
Public Functions
-
inline LayerArrayCreator(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerArrayCreator", Logging::INFO))¶
Constructor.
- Parameters
logger – logging instance
-
~LayerArrayCreator() override = default¶
Destructor.
-
virtual std::unique_ptr<const LayerArray> layerArray(const GeometryContext &gctx, const LayerVector &layersInput, double min, double max, BinningType bType = arbitrary, BinningValue bValue = binX) const override¶
LayerArrayCreator interface method.
- Parameters
gctx – ist the geometry context for witch the array is built
layersInput – are the layers to be moved into an array
min – is the minimum 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
unique pointer to a newly created LayerArray
-
struct Config¶
This struct stores the configuration of the tracking geometry.
-
inline LayerArrayCreator(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerArrayCreator", Logging::INFO))¶