ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class MsgStream;
15
17namespace Trk {
18
79
81{
82
83public:
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
96protected:
97 double m_angleXZ = 0.;
98 double m_angleYZ = 0.;
99
100 };
101
103inline double LocalDirection::angleXZ() const { return m_angleXZ; }
104
106inline double LocalDirection::angleYZ() const { return m_angleYZ; }
107
109MsgStream& operator << ( MsgStream& sl, const LocalDirection& lomo);
110std::ostream& operator << ( std::ostream& sl, const LocalDirection& lomo);
111
112}// end of namespace
113
114#endif // TRKEVENTPRIMITIVES_LOCALDIRECTION_H
represents the three-dimensional global direction with respect to a planar surface frame.
double angleXZ() const
access method for angle of local XZ projection
LocalDirection()=default
LocalDirection(double axz, double ayz)
double angleYZ() const
access method for angle of local YZ projection
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output