2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 #include "InDetIdentifier/TRT_ID.h"
9 /** Type information */
10 inline TRT_BaseElement::Type
11 TRT_BarrelElement::type() const
13 return TRT_BaseElement::BARREL;
16 inline const TRT_BarrelElement*
17 TRT_BarrelElement::nextInPhi() const
22 inline const TRT_BarrelElement*
23 TRT_BarrelElement::previousInPhi() const
25 return m_previousInPhi;
28 inline const TRT_BarrelElement*
29 TRT_BarrelElement::nextInR() const
34 inline const TRT_BarrelElement*
35 TRT_BarrelElement::previousInR() const
40 inline const TRT_BarrelCode&
41 TRT_BarrelElement::getCode() const
46 // Get X Position - should not be used anymore
48 TRT_BarrelElement::strawXPos(unsigned int straw) const
50 return strawCenter(straw).x();
53 // Get Y Position - should not be used anymore
55 TRT_BarrelElement::strawYPos(unsigned int straw) const
57 return strawCenter(straw).y();
60 // Get Z Position - should not be used anymore
62 TRT_BarrelElement::strawZPos(unsigned int straw) const
64 return strawCenter(straw).z();
67 // Get the length of the straws:
69 TRT_BarrelElement::strawLength() const
71 return m_descriptor->strawLength();