![]() |
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. | |
| Amg::Transform3D | 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 Amg::Transform3D > | 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 291 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Detector type.
Implements ActsTrk::IDetectorElement.
Definition at line 311 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 279 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Implements ActsTrk::IDetectorElement.
Definition at line 303 of file ActsDetectorElement.cxx.
|
inline |
| IdentityHelper ActsDetectorElement::identityHelper | ( | ) | const |
Definition at line 254 of file ActsDetectorElement.cxx.
| Amg::Transform3D 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 268 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 271 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 265 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 275 of file ActsDetectorElement.cxx.
| Acts::Surface & ActsDetectorElement::surface | ( | ) |
Mutable surface to this detector element.
Definition at line 287 of file ActsDetectorElement.cxx.
| const Acts::Surface & ActsDetectorElement::surface | ( | ) | const |
Return surface associated with this identifier, which should come from the.
Definition at line 283 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 308 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.