Class TrackingGeometryBuilder¶
Defined in File TrackingGeometryBuilder.hpp
Inheritance Relationships¶
Base Type¶
public Acts::ITrackingGeometryBuilder
(Class ITrackingGeometryBuilder)
Class Documentation¶
-
class
Acts
::
TrackingGeometryBuilder
: public Acts::ITrackingGeometryBuilder¶ The Acts::TrackingGeometry Builder for volumes that wrap around another.
It retrieves an array of std::functions that build the TrackingGeometry sequentially in order, with the following options:
contained (e.g. a final insertion of a beam pipe of longer extend)
wrapped (e.g. an outer detector wrapping an inner one)
attached (e.g. a neighbor detector attaching to the previous one)
The returned volume of each step must be processable by the previous step
Public Functions
-
TrackingGeometryBuilder
(const Config &cgbConfig, std::unique_ptr<const Logger> logger = getDefaultLogger("TrackingGeometryBuilder", Logging::INFO))¶ Constructor.
- Parameters
[in] cgbConfig
: is the configuration struct for this builder[in] logger
: logging instance
-
~TrackingGeometryBuilder
() override = default¶ Destructor.
-
void
setConfiguration
(const Config &cgbConfig)¶ Set configuration method.
- Parameters
cgbConfig
: is the new configuration struct
-
void
setLogger
(std::unique_ptr<const Logger> newLogger)¶ set logging instance
- Parameters
newLogger
: the new logging instance
-
std::unique_ptr<const TrackingGeometry>
trackingGeometry
(const GeometryContext &gctx) const final¶ TrackingGeometry Interface method.
- Return
a unique pointer to a TrackingGeometry
- Parameters
gctx
: geometry context of that building call
-
struct
Config
¶ Nested Configuration for the CylinderVolumeBuilder.
Public Members
-
std::shared_ptr<const IMaterialDecorator>
materialDecorator
= nullptr¶ The optional material decorator for this.
-
std::vector< std::function< std::shared_ptr< TrackingVolume > const GeometryContext &gctx, const TrackingVolumePtr &, const VolumeBoundsPtr &)> > trackingVolumeBuilders
The list of tracking volume builders.
-
std::shared_ptr<const ITrackingVolumeHelper>
trackingVolumeHelper
= nullptr¶ The tracking volume helper for detector construction.
-
std::shared_ptr<const IMaterialDecorator>