![]() |
ATLAS Offline Software
|
#include <ActsDetectorElement.h>
Public Types | |
| using | DetectorType = ActsTrk::DetectorType |
| using | AlignmentStore = ActsTrk::GeometryContext::AlignmentStore |
Public Member Functions | |
| ActsDetectorElement (const InDetDD::SiDetectorElement &detElem) | |
| ActsDetectorElement (const Acts::Transform3 &trf, const InDetDD::TRT_BaseElement &detElem, const Identifier &id) | |
| Constructor for a straw surface. | |
| ActsDetectorElement (const InDetDD::HGTD_DetectorElement &detElem, const Identifier &id) | |
| Constructor for an HGTD surface. | |
| virtual | ~ActsDetectorElement ()=default |
| Destructor. | |
| Identifier | identify () const override final |
| Identifier. | |
| DetectorType | detectorType () const override final |
| Detector type. | |
| IdentifierHash | identifyHash () const |
| Identifier hash. | |
| virtual unsigned int | storeAlignedTransforms (ActsTrk::DetectorAlignStore &alignStore) const override |
| Caches the aligned transformation in the provided store. | |
| const Acts::Transform3 & | localToGlobalTransform (const Acts::GeometryContext &tgContext) const |
| const Acts::Transform3 & | localToGlobalTransform (const ActsTrk::GeometryContext &gctx) const override |
| Returns the aligned local to global transform from the passed geometry context. | |
| virtual const Acts::Transform3 & | localToGlobalTransform (const ActsTrk::DetectorAlignStore *store) const final override |
| Returns the reference to the aligned local to global transform from the DetectorAlignStore actually holding the transform of the Detector element. | |
| const Acts::Surface & | surface () const |
| Return surface associated with this identifier, which should come from the. | |
| Acts::Surface & | surface () |
| Mutable surface to this detector element. | |
| const Trk::Surface & | atlasSurface () const |
| Return a shared pointer on the ATLAS surface associated with this identifier,. | |
| double | thickness () const |
| Returns the thickness of the module. | |
| IdentityHelper | identityHelper () const |
| const Acts::Transform3 & | getDefaultTransform () const |
| Returns default transform. | |
| const GeoVDetectorElement * | upstreamDetectorElement () const |
| Returns the underllying GeoModel detectorelement that this one is based on. | |
| Acts::Transform3 | localToGlobal (const ActsTrk::DetectorAlignStore *store) const |
Private Attributes | |
| IdentifierHash | m_idHash {} |
| DetectorType | m_type {DetectorType::UnDefined} |
| ActsTrk::ReadoutSurfacePositioning< ActsDetectorElement > | m_trfCache {0, this} |
| std::shared_ptr< ActsTrk::SurfacePlacement > | m_surfHolder {} |
| const GeoVDetectorElement * | m_detElement {nullptr} |
| Detector element as variant. | |
| std::shared_ptr< const Acts::SurfaceBounds > | m_bounds {} |
| Boundaries of the detector element. | |
| double | m_thickness {0.} |
| Thickness of this detector element. | |
| std::unique_ptr< const Acts::Transform3 > | m_trtTrf {} |
| Identifier | m_explicitIdentifier {} |
Definition at line 58 of file ActsDetectorElement.h.
Definition at line 61 of file ActsDetectorElement.h.
Definition at line 60 of file ActsDetectorElement.h.
| ActsDetectorElement::ActsDetectorElement | ( | const InDetDD::SiDetectorElement & | detElem | ) |
Definition at line 65 of file ActsDetectorElement.cxx.
| ActsDetectorElement::ActsDetectorElement | ( | const Acts::Transform3 & | trf, |
| const InDetDD::TRT_BaseElement & | detElem, | ||
| const Identifier & | id ) |
Constructor for a straw surface.
| transform | Transform to the straw system |
Definition at line 145 of file ActsDetectorElement.cxx.
| ActsDetectorElement::ActsDetectorElement | ( | const InDetDD::HGTD_DetectorElement & | detElem, |
| const Identifier & | id ) |
Constructor for an HGTD surface.
Definition at line 182 of file ActsDetectorElement.cxx.
|
virtualdefault |
Destructor.
| const Trk::Surface & ActsDetectorElement::atlasSurface | ( | ) | const |
Return a shared pointer on the ATLAS surface associated with this identifier,.
Definition at line 290 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Detector type.
Implements ActsTrk::IDetectorElement.
Definition at line 310 of file ActsDetectorElement.cxx.
| const Acts::Transform3 & ActsDetectorElement::getDefaultTransform | ( | ) | const |
Returns default transform.
For TRT this is static and set in constructor. For silicon detectors it is calulated from GM, and stored. Thus the method is not const. The store is mutexed.
Definition at line 278 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Implements ActsTrk::IDetectorElement.
Definition at line 302 of file ActsDetectorElement.cxx.
|
inline |
| IdentityHelper ActsDetectorElement::identityHelper | ( | ) | const |
Definition at line 253 of file ActsDetectorElement.cxx.
| Acts::Transform3 ActsDetectorElement::localToGlobal | ( | const ActsTrk::DetectorAlignStore * | store | ) | const |
Pixel or Sct
Definition at line 212 of file ActsDetectorElement.cxx.
| const Acts::Transform3 & ActsDetectorElement::localToGlobalTransform | ( | const Acts::GeometryContext & | tgContext | ) | const |
Definition at line 267 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Returns the reference to the aligned local to global transform from the DetectorAlignStore actually holding the transform of the Detector element.
| store | Pointer to the alignment store. If not provided the nominal transform is returned |
Implements ActsTrk::IDetectorElement.
Definition at line 270 of file ActsDetectorElement.cxx.
|
overridevirtual |
Returns the aligned local to global transform from the passed geometry context.
| gctx | Reference to the ATLAS geometry context |
Implements ActsTrk::IDetectorElement.
Definition at line 264 of file ActsDetectorElement.cxx.
|
overridevirtual |
Caches the aligned transformation in the provided store.
Returns the number of cached elements
Implements ActsTrk::IDetectorElement.
Definition at line 274 of file ActsDetectorElement.cxx.
| Acts::Surface & ActsDetectorElement::surface | ( | ) |
Mutable surface to this detector element.
Definition at line 286 of file ActsDetectorElement.cxx.
| const Acts::Surface & ActsDetectorElement::surface | ( | ) | const |
Return surface associated with this identifier, which should come from the.
Definition at line 282 of file ActsDetectorElement.cxx.
| double ActsDetectorElement::thickness | ( | ) | const |
| const GeoVDetectorElement * ActsDetectorElement::upstreamDetectorElement | ( | ) | const |
Returns the underllying GeoModel detectorelement that this one is based on.
Definition at line 307 of file ActsDetectorElement.cxx.
|
private |
|
private |
|
private |
Definition at line 139 of file ActsDetectorElement.h.
|
private |
Definition at line 125 of file ActsDetectorElement.h.
|
private |
Definition at line 129 of file ActsDetectorElement.h.
|
private |
|
private |
Definition at line 127 of file ActsDetectorElement.h.
|
private |
Definition at line 137 of file ActsDetectorElement.h.
|
private |
Definition at line 126 of file ActsDetectorElement.h.