ATLAS Offline Software
SCT_ForwardFrameTransformation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SCT_ForwardFrameTransformation.h
8 // (c) ATLAS Detector software
10 
11 #ifndef INDETREADOUTGEOMETRY_SCT_FORWARDFRAMETRANSFORMATION_H
12 #define INDETREADOUTGEOMETRY_SCT_FORWARDFRAMETRANSFORMATION_H
13 
14 namespace InDetDD {
15 
16 class SCT_ForwardPolarPosition;
17 class SiLocalPosition;
18 
19 
28 
30  // Public methods:
32  public:
33 
36 
41  SCT_ForwardFrameTransformation(const double etaCenter,const double phiCenter,
42  const double radius);
43 
45  virtual ~SCT_ForwardFrameTransformation() = default;
46 
49 
52 
54  // Const methods:
56 
58  double etaCenter() const;
59 
61  double phiCenter() const;
62 
64  double radius() const;
65 
68 
71 
73  // Private methods:
75  private:
76 
78 
80  // Private data:
82  private:
83  double m_etaCenter;
84  double m_phiCenter;
85  double m_radius;
86 };
87 
89 // Inline methods:
92 {
93  return m_etaCenter;
94 }
95 
97 {
98  return m_phiCenter;
99 }
100 
102 {
103  return m_radius;
104 }
105 
106 } // namespace InDetDD
107 
108 #endif // INDETREADOUTGEOMETRY_SCT_FORWARDFRAMETRANSFORMATION_H
InDetDD::SCT_ForwardFrameTransformation::polarFromCartesian
SCT_ForwardPolarPosition polarFromCartesian(const SiLocalPosition &cartesian) const
create a SCT_ForwardPolarPosition from a SiLocalPosition
Definition: SCT_ForwardFrameTransformation.cxx:54
InDetDD::SCT_ForwardFrameTransformation::operator=
SCT_ForwardFrameTransformation & operator=(SCT_ForwardFrameTransformation &&)=default
Default move assignment operator:
InDetDD::SCT_ForwardFrameTransformation::SCT_ForwardFrameTransformation
SCT_ForwardFrameTransformation()
InDetDD::SCT_ForwardPolarPosition
Definition: SCT_ForwardPolarPosition.h:25
InDetDD::SCT_ForwardFrameTransformation::phiCenter
double phiCenter() const
phi coordinate of modulecenter:
Definition: SCT_ForwardFrameTransformation.h:96
InDetDD::SCT_ForwardFrameTransformation::radius
double radius() const
r from module center to beam:
Definition: SCT_ForwardFrameTransformation.h:101
InDetDD::SiLocalPosition
Definition: SiLocalPosition.h:31
InDetDD::SCT_ForwardFrameTransformation
Definition: SCT_ForwardFrameTransformation.h:27
InDetDD::SCT_ForwardFrameTransformation::operator=
SCT_ForwardFrameTransformation & operator=(const SCT_ForwardFrameTransformation &frame)
Assignment operator:
Definition: SCT_ForwardFrameTransformation.cxx:42
InDetDD::SCT_ForwardFrameTransformation::cartesianFromPolar
SiLocalPosition cartesianFromPolar(const SCT_ForwardPolarPosition &polar) const
create a SiLocalPosition from a SCT_ForwardPolarPosition
Definition: SCT_ForwardFrameTransformation.cxx:65
InDetDD::SCT_ForwardFrameTransformation::~SCT_ForwardFrameTransformation
virtual ~SCT_ForwardFrameTransformation()=default
Destructor:
InDetDD::SCT_ForwardFrameTransformation::m_etaCenter
double m_etaCenter
eta coordinate of module center
Definition: SCT_ForwardFrameTransformation.h:83
InDetDD::SCT_ForwardFrameTransformation::etaCenter
double etaCenter() const
eta coordinate of module center:
Definition: SCT_ForwardFrameTransformation.h:91
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::SCT_ForwardFrameTransformation::SCT_ForwardFrameTransformation
SCT_ForwardFrameTransformation(const SCT_ForwardFrameTransformation &frame)
Copy constructor:
InDetDD::SCT_ForwardFrameTransformation::m_phiCenter
double m_phiCenter
phi coordinate of module center
Definition: SCT_ForwardFrameTransformation.h:84
InDetDD::SCT_ForwardFrameTransformation::m_radius
double m_radius
r from module center to beam
Definition: SCT_ForwardFrameTransformation.h:85