File LayerArrayCreator.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.
-
class LayerArrayCreator : public Acts::ILayerArrayCreator
- #include <Acts/Geometry/LayerArrayCreator.hpp>
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
-
inline void setLogger(std::unique_ptr<const Logger> logger)
set logging instance
Private Functions
Private helper method for creating a surface for the NavigationLayer, it clones the.
- Parameters
layer – object and thus needs the
gctx – geometry context.
bValue – is the Binning value for the layer array
offset – is the sift for the navigation layer
-
struct Config
- #include <Acts/Geometry/LayerArrayCreator.hpp>
This struct stores the configuration of the tracking geometry.
-
inline LayerArrayCreator(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerArrayCreator", Logging::INFO))
-
class LayerArrayCreator : public Acts::ILayerArrayCreator