File TrackingVolumeArrayCreator.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Typedefs
-
using TrackingVolumeOrderPosition = std::pair<TrackingVolumePtr, Vector3>¶
-
class TrackingVolumeArrayCreator : public Acts::ITrackingVolumeArrayCreator
- #include <Acts/Geometry/TrackingVolumeArrayCreator.hpp>
The TrackingVolumeArrayCreator is a simple Tool that helps to construct binned arrays of TrackingVolumes for both, confinement in another volume and navigation issues.
Public Functions
-
inline TrackingVolumeArrayCreator(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerArrayCreator", Logging::INFO))
Constructor.
- Parameters
logger – logging instance
-
~TrackingVolumeArrayCreator() override = default
Destructor.
-
inline void setLogger(std::unique_ptr<const Logger> logger)
Set logging instance.
- Parameters
logger – is the logging instance to be set
-
virtual std::shared_ptr<const TrackingVolumeArray> trackingVolumeArray(const GeometryContext &gctx, const TrackingVolumeVector &tVolumes, BinningValue bValue) const override
create a tracking volume array
- Parameters
gctx – [in] the geometry context for this building
tVolumes – [in] is the vector of TrackingVolumes to be
bValue – [in] is the binning value
- Returns
new created volume array
-
struct Config
- #include <Acts/Geometry/TrackingVolumeArrayCreator.hpp>
This struct stores the configuration of the tracking geometry.
-
inline TrackingVolumeArrayCreator(const Config&, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerArrayCreator", Logging::INFO))
-
using TrackingVolumeOrderPosition = std::pair<TrackingVolumePtr, Vector3>¶