![]() |
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 (const ActsTrk::DetectorAlignStore &alignStore) const override |
| Caches the aligned transformation in the provided store. | |
| virtual const Acts::Transform3 & | localToGlobalTransform (const Acts::GeometryContext &gctx) const final override |
| virtual const Acts::Transform3 & | localToGlobalTransform (const ActsTrk::DetectorAlignStore *store) const final override |
| Returns the reference to the aligned local to global transform from the StoreObject actually holding the transform of the Detector element. | |
| virtual const Acts::Surface & | surface () const final override |
| Return surface associated with this identifier, which should come from the. | |
| virtual bool | isSensitive () const final override |
| Returns whether the detector element is sensitive. | |
| virtual Acts::Surface & | surface () final override |
| 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::TransformCacheDetEle< ActsDetectorElement > | m_trfCache {0, this} |
| 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::shared_ptr< Acts::Surface > | m_surface {} |
| Corresponding Surface. | |
| std::unique_ptr< const Amg::Transform3D > | m_trtTrf {} |
| Identifier | m_explicitIdentifier {} |
Definition at line 44 of file ActsDetectorElement.h.
Definition at line 47 of file ActsDetectorElement.h.
Definition at line 46 of file ActsDetectorElement.h.
| ActsDetectorElement::ActsDetectorElement | ( | const InDetDD::SiDetectorElement & | detElem | ) |
Definition at line 53 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 133 of file ActsDetectorElement.cxx.
| ActsDetectorElement::ActsDetectorElement | ( | const InDetDD::HGTD_DetectorElement & | detElem, |
| const Identifier & | id ) |
Constructor for an HGTD surface.
Definition at line 171 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 277 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Detector type.
Implements ActsTrk::IDetectorElementBase.
Definition at line 297 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 265 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Implements ActsTrk::IDetectorElementBase.
Definition at line 289 of file ActsDetectorElement.cxx.
|
inline |
| IdentityHelper ActsDetectorElement::identityHelper | ( | ) | const |
Definition at line 244 of file ActsDetectorElement.cxx.
|
inlinefinaloverridevirtual |
Returns whether the detector element is sensitive.
Definition at line 87 of file ActsDetectorElement.h.
| Amg::Transform3D ActsDetectorElement::localToGlobal | ( | const ActsTrk::DetectorAlignStore * | store | ) | const |
Pixel or Sct
Definition at line 202 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Definition at line 252 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Returns the reference to the aligned local to global transform from the StoreObject actually holding the transform of the Detector element.
| store | Pointer to the alignment store. If not provided the nominal transform is returned |
Implements ActsTrk::IDetectorElementBase.
Definition at line 255 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 259 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Return surface associated with this identifier, which should come from the.
Definition at line 269 of file ActsDetectorElement.cxx.
|
finaloverridevirtual |
Mutable surface to this detector element.
Definition at line 273 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 294 of file ActsDetectorElement.cxx.
|
private |
|
private |
|
private |
Definition at line 126 of file ActsDetectorElement.h.
|
private |
Definition at line 112 of file ActsDetectorElement.h.
|
private |
|
private |
|
private |
Definition at line 114 of file ActsDetectorElement.h.
|
private |
Definition at line 124 of file ActsDetectorElement.h.
|
private |
Definition at line 113 of file ActsDetectorElement.h.