Class TrackingGeometry¶
Defined in File TrackingGeometry.hpp
Class Documentation¶
-
class
Acts
::
TrackingGeometry
¶ The TrackingGeometry class is the owner of the constructed TrackingVolumes.
It enables both, a global search for an asociatedVolume (respectively, if existing, a global search of an associated Layer or the next associated Layer), such as a continous navigation by BoundarySurfaces between the confined TrackingVolumes.
Public Functions
-
TrackingGeometry
(const MutableTrackingVolumePtr &highestVolume, const IMaterialDecorator *materialDecorator = nullptr)¶ Constructor.
- Parameters
highestVolume
: is the world volumematerialDecorator
: is a dediated decorator that can assign surface or volume based material to the TrackingVolume
-
~TrackingGeometry
()¶ Destructor.
-
const Layer *
associatedLayer
(const GeometryContext &gctx, const Vector3D &gp) const¶ Forward the associated Layer information.
gctx is the context for this request (e.g. alignment)
- Return
plain pointer to assocaiated layer
- Parameters
gp
: is the global position of the call
-
const Surface *
getBeamline
() const¶ surface representing the beam pipe
- Note
The ownership is not passed, e.g. do not delete the pointer
- Return
raw pointer to surface representing the beam pipe (could be a null pointer)
-
const TrackingVolume *
highestTrackingVolume
() const¶ Access to the world volume.
- Return
plain pointer to the world volume
-
const TrackingVolume *
lowestTrackingVolume
(const GeometryContext &gctx, const Vector3D &gp) const¶ return the lowest tracking Volume
- Return
plain pointer to the lowest TrackingVolume
- Parameters
gctx
: The current geometry context object, e.g. alignmentgp
: is the global position of the call
Register the beam tube.
- Parameters
beam
: is the beam line surface
-
const TrackingVolume *
trackingVolume
(const std::string &name) const¶ return the lowest tracking Volume
- Return
plain pointer to the lowest TrackingVolume
- Parameters
name
: is the name for the volume search
-