ATLAS Offline Software
LocalDirection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // LocalDirection.h, (c) ATLAS Detector software
8 
9 #ifndef TRKEVENTPRIMITIVES_LOCALDIRECTION_H
10 #define TRKEVENTPRIMITIVES_LOCALDIRECTION_H
11 
12 #include <iostream>
13 
14 class MsgStream;
15 
17 namespace Trk {
18 
81 {
82 
83 public:
84  LocalDirection()=default;
85  LocalDirection(double axz, double ayz)
86  : m_angleXZ(axz)
87  , m_angleYZ(ayz)
88  {}
89 
91  double angleXZ() const;
92 
94  double angleYZ() const;
95 
96 protected:
97  double m_angleXZ = 0.;
98  double m_angleYZ = 0.;
99 
100  };
101 
103 inline double LocalDirection::angleXZ() const { return m_angleXZ; }
104 
106 inline double LocalDirection::angleYZ() const { return m_angleYZ; }
107 
109 MsgStream& operator << ( MsgStream& sl, const LocalDirection& lomo);
110 std::ostream& operator << ( std::ostream& sl, const LocalDirection& lomo);
111 
112 }// end of namespace
113 
114 #endif // TRKEVENTPRIMITIVES_LOCALDIRECTION_H
Trk::LocalDirection::m_angleXZ
double m_angleXZ
Definition: LocalDirection.h:97
Trk::LocalDirection::LocalDirection
LocalDirection(double axz, double ayz)
Definition: LocalDirection.h:85
Trk::LocalDirection::angleYZ
double angleYZ() const
access method for angle of local YZ projection
Definition: LocalDirection.h:106
Trk::LocalDirection::LocalDirection
LocalDirection()=default
Trk::LocalDirection
represents the three-dimensional global direction with respect to a planar surface frame.
Definition: LocalDirection.h:81
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LocalDirection::m_angleYZ
double m_angleYZ
Definition: LocalDirection.h:98
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition: AlignModule.cxx:204
Trk::LocalDirection::angleXZ
double angleXZ() const
access method for angle of local XZ projection
Definition: LocalDirection.h:103