ATLAS Offline Software
|
Ensure that the extensions for the Vector3D are properly loaded. More...
#include <GeoAlignmentStore.h>
Public Types | |
using | DeltaMap = TransformMap< GeoAlignableTransform, GeoTrf::Transform3D > |
using | DeltaMapPtr = GeoModel::TransientConstSharedPtr< DeltaMap > |
using | PositioningMap = TransformMap< GeoNodePositioning, GeoTrf::Transform3D > |
using | PositioningMapPtr = GeoModel::TransientConstSharedPtr< PositioningMap > |
Public Member Functions | |
GeoAlignmentStore ()=default | |
Default constructor. More... | |
virtual | ~GeoAlignmentStore () override=default |
Default destructor. More... | |
virtual void | setDelta (const GeoAlignableTransform *alignableNode, const GeoTrf::Transform3D &transform) override |
: Assign the alignment delta transform with a alignable GeoModel node More... | |
void | setDelta (const GeoAlignableTransform *alignableNode, std::shared_ptr< const GeoTrf::Transform3D > trans) |
: Assign the alignment delta transform with a alignable GeoModel node More... | |
virtual const GeoTrf::Transform3D * | getDelta (const GeoAlignableTransform *alignableNode) const override final |
: Retrieve the alignment distortion associated with the alignable node. More... | |
virtual void | setAbsPosition (const GeoNodePositioning *fullPhysVol, const GeoTrf::Transform3D &physVolTrf) override final |
: Caches the absolute transform including the alignment distortions that's associated with the full physical volume. More... | |
virtual const GeoTrf::Transform3D * | getAbsPosition (const GeoNodePositioning *fullPhysVol) const override final |
: Returns the aligned transform associated with the full physical volume. More... | |
virtual void | setDefAbsPosition (const GeoNodePositioning *fullPhysVol, const GeoTrf::Transform3D &unAlignedTrf) override final |
: Caches the aboslute transform of the perfectly aligned physical volume. More... | |
virtual const GeoTrf::Transform3D * | getDefAbsPosition (const GeoNodePositioning *fullPhysVol) const override final |
: Returns the nominal position of the full phyiscal volume. More... | |
bool | append (const GeoAlignmentStore &other) |
: Copies, the deltas, the absolute and the nominal positions of the other map to this object. More... | |
void | clearPosCache () |
: Clears the position cache More... | |
void | lockDelta () |
: Locks the delta transform cache More... | |
void | lockPosCache () |
: Locks the position cache More... | |
DeltaMapPtr | getDeltas () const |
PositioningMapPtr | getAbsPositions () const |
PositioningMapPtr | getDefAbsPositions () const |
Private Attributes | |
DeltaMapPtr | m_deltas {std::make_unique<DeltaMap>()} |
PositioningMapPtr | m_absPositions {std::make_unique<PositioningMap>()} |
PositioningMapPtr | m_defAbsPositions {std::make_unique<PositioningMap>()} |
Ensure that the extensions for the Vector3D are properly loaded.
Ensure that the extensions for the Vector3D are properly loaded
Definition at line 24 of file GeoAlignmentStore.h.
using GeoAlignmentStore::DeltaMap = TransformMap<GeoAlignableTransform, GeoTrf::Transform3D> |
Definition at line 76 of file GeoAlignmentStore.h.
Definition at line 77 of file GeoAlignmentStore.h.
using GeoAlignmentStore::PositioningMap = TransformMap<GeoNodePositioning, GeoTrf::Transform3D> |
Definition at line 79 of file GeoAlignmentStore.h.
Definition at line 80 of file GeoAlignmentStore.h.
|
default |
Default constructor.
|
overridevirtualdefault |
Default destructor.
bool GeoAlignmentStore::append | ( | const GeoAlignmentStore & | other | ) |
: Copies, the deltas, the absolute and the nominal positions of the other map to this object.
Returns false if the two maps partially overlap.
Definition at line 29 of file GeoAlignmentStore.cxx.
void GeoAlignmentStore::clearPosCache | ( | ) |
|
inlinefinaloverridevirtual |
: Returns the aligned transform associated with the full physical volume.
Returns a nullptr if the physical volume has not been added before
Definition at line 95 of file GeoAlignmentStore.h.
GeoAlignmentStore::PositioningMapPtr GeoAlignmentStore::getAbsPositions | ( | ) | const |
Definition at line 38 of file GeoAlignmentStore.cxx.
|
inlinefinaloverridevirtual |
: Returns the nominal position of the full phyiscal volume.
Returns a nullptr if the nominal position of the full physical volume has not been added before to the map
Definition at line 98 of file GeoAlignmentStore.h.
GeoAlignmentStore::PositioningMapPtr GeoAlignmentStore::getDefAbsPositions | ( | ) | const |
Definition at line 41 of file GeoAlignmentStore.cxx.
|
inlinefinaloverridevirtual |
: Retrieve the alignment distortion associated with the alignable node.
Returns a nullptr if no distorion has been set before
alignableNode | Pointer to the alignable node in the GeoModel tree |
Definition at line 92 of file GeoAlignmentStore.h.
GeoAlignmentStore::DeltaMapPtr GeoAlignmentStore::getDeltas | ( | ) | const |
Definition at line 35 of file GeoAlignmentStore.cxx.
void GeoAlignmentStore::lockDelta | ( | ) |
: Locks the delta transform cache
Definition at line 20 of file GeoAlignmentStore.cxx.
void GeoAlignmentStore::lockPosCache | ( | ) |
: Locks the position cache
Definition at line 23 of file GeoAlignmentStore.cxx.
|
finaloverridevirtual |
: Caches the absolute transform including the alignment distortions that's associated with the full physical volume.
fullPhysVol | Full physical volume in the GeoModel tree to which the transforms belongs to |
physVolTrf | Aligned placement of the physical volume in space |
Definition at line 14 of file GeoAlignmentStore.cxx.
|
finaloverridevirtual |
: Caches the aboslute transform of the perfectly aligned physical volume.
fullPhysVol | Full physical volume in the GeoModel tree to which the transforms belongs to |
unAlignedTrf | Nominal placement of the full physical volume. |
Definition at line 17 of file GeoAlignmentStore.cxx.
|
overridevirtual |
: Assign the alignment delta transform with a alignable GeoModel node
alignableNode | Transform node in the GeoModel tree to align |
transform | Distortion of the node and the subsequent subtree |
Definition at line 7 of file GeoAlignmentStore.cxx.
void GeoAlignmentStore::setDelta | ( | const GeoAlignableTransform * | alignableNode, |
std::shared_ptr< const GeoTrf::Transform3D > | trans | ||
) |
: Assign the alignment delta transform with a alignable GeoModel node
alignableNode | Transform node in the GeoModel tree to align |
transform | Distortion of the node and the subsequent subtree |
Definition at line 11 of file GeoAlignmentStore.cxx.
|
private |
Definition at line 83 of file GeoAlignmentStore.h.
|
private |
Definition at line 84 of file GeoAlignmentStore.h.
|
private |
Definition at line 82 of file GeoAlignmentStore.h.