TrackingGeometryVisitor to load the aligned surface and volume transforms into the DetectorAlignStore of a given subdetector.
More...
#include <TrackingGeoAlignVisitor.h>
TrackingGeometryVisitor to load the aligned surface and volume transforms into the DetectorAlignStore of a given subdetector.
The tracking geometry tree is traversed and the store is passed to the VolumePlacement and SurfacePlacement instances. If the detectorType of the two matches, the placement writes its aligned transforms ino the store
Definition at line 19 of file TrackingGeoAlignVisitor.h.
◆ TrackingGeoAlignVisitor() [1/3]
Constructor.
- Parameters
-
| store; | Mutable reference to the alignment store to fill |
Definition at line 15 of file TrackingGeoAlignVisitor.cxx.
15 :
DetectorAlignStore & m_store
◆ TrackingGeoAlignVisitor() [2/3]
| ActsTrk::TrackingGeoAlignVisitor::TrackingGeoAlignVisitor |
( |
const TrackingGeoAlignVisitor & | other | ) |
|
|
deletenoexcept |
Delete the copy constructor.
◆ TrackingGeoAlignVisitor() [3/3]
| ActsTrk::TrackingGeoAlignVisitor::TrackingGeoAlignVisitor |
( |
TrackingGeoAlignVisitor && | other | ) |
|
|
delete |
Delete the move constructor.
◆ alignedObjects()
| unsigned ActsTrk::TrackingGeoAlignVisitor::alignedObjects |
( |
| ) |
const |
◆ operator=() [1/2]
Delete the copy assignemnt operator.
◆ operator=() [2/2]
Delete the move assignemnt operator.
◆ visitSurface()
| void ActsTrk::TrackingGeoAlignVisitor::visitSurface |
( |
const Acts::Surface & | surface | ) |
|
|
finaloverride |
Override the visitSurface to align the sensitive surfaces.
Definition at line 29 of file TrackingGeoAlignVisitor.cxx.
29 {
30
31 if (!surface.isAlignable() || !surface.isSensitive()) {
32 return;
33 }
34
35 const auto* placement = dynamic_cast<const ISurfacePlacement*>(surface.surfacePlacement());
36 if(!placement) {
37 return;
38 }
40 }
◆ visitVolume()
| void ActsTrk::TrackingGeoAlignVisitor::visitVolume |
( |
const Acts::TrackingVolume & | volume | ) |
|
|
finaloverride |
Override the visitVolume to align the volume and its portals.
Definition at line 18 of file TrackingGeoAlignVisitor.cxx.
18 {
19 if (!volume.isAlignable()) {
20 return;
21 }
22 const auto* placement = dynamic_cast<const IVolumePlacement*>(volume.volumePlacement());
23 if(!placement) {
24 return;
25 }
27 }
◆ m_aligned
| unsigned ActsTrk::TrackingGeoAlignVisitor::m_aligned {} |
|
private |
◆ m_store
The documentation for this class was generated from the following files: