2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
7 // Get the number of straws:
9 TRT_BaseElement::nStraws() const
14 inline const GeoTrf::Transform3D&
15 TRT_BaseElement::defTransform() const
17 return getMaterialGeom()->getDefAbsoluteTransform();
20 inline const Trk::Surface&
21 TRT_BaseElement::surface() const
23 return elementSurface();
26 inline const Trk::SurfaceBounds&
27 TRT_BaseElement::bounds() const
29 if (!m_surfaceCache.isValid()) {
32 return *(m_surfaceCache.ptr()->bounds());
35 inline const Amg::Transform3D&
36 TRT_BaseElement::transform() const
38 if (!m_surfaceCache.isValid()) {
41 return m_surfaceCache.ptr()->transform();
44 inline const Amg::Vector3D&
45 TRT_BaseElement::center() const
47 if (!m_surfaceCache.isValid()) {
50 return m_surfaceCache.ptr()->center();
53 inline const Amg::Vector3D&
54 TRT_BaseElement::normal() const
56 if (!m_surfaceCache.isValid()) {
59 return m_surfaceCache.ptr()->normal();
62 inline Trk::DetectorElemType
63 TRT_BaseElement::detectorType() const
65 return Trk::DetectorElemType::TRT;
69 TRT_BaseElement::identify() const
75 TRT_BaseElement::identifyHash() const
80 inline const TRT_Conditions*
81 TRT_BaseElement::conditions() const