|
ACTS
Experiment-independent tracking
|
The LayerArrayCreator is a simple Tool that helps to construct LayerArrays from std::vector of Acts::CylinderLayer, Acts::DiscLayer, Acts::PlaneLayer. More...
#include <Acts/Geometry/LayerArrayCreator.hpp>
Classes | |
| struct | Config |
| This struct stores the configuration of the tracking geometry. More... | |
Public Member Functions | |
| LayerArrayCreator (const Config &, std::unique_ptr< const Logger > logger=getDefaultLogger("LayerArrayCreator", Logging::INFO)) | |
| Constructor. | |
| ~LayerArrayCreator () override=default | |
| Destructor. | |
| std::unique_ptr< const LayerArray > | layerArray (const GeometryContext &gctx, const LayerVector &layersInput, double min, double max, BinningType bType=arbitrary, AxisDirection aDir=AxisDirection::AxisX) const override |
| LayerArrayCreator interface method. | |
| void | setLogger (std::unique_ptr< const Logger > logger) |
| set logging instance | |
| Public Member Functions inherited from Acts::ILayerArrayCreator | |
| virtual | ~ILayerArrayCreator ()=default |
| Virtual destructor. | |
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.
|
explicit |
Constructor.
| logger | logging instance |
|
overridedefault |
Destructor.
|
overridevirtual |
LayerArrayCreator interface method.
| gctx | is 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 |
| aDir | is the axis direction for the layer binning |
Implements Acts::ILayerArrayCreator.
| void Acts::LayerArrayCreator::setLogger | ( | std::unique_ptr< const Logger > | logger | ) |
set logging instance
| logger | Logger instance to use |