ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkEventPrimitives
src
LocalDirection.cxx
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.cxx, (c) ATLAS Detector software
8
9
#include "
TrkEventPrimitives/LocalDirection.h
"
10
//Gaudi
11
#include "GaudiKernel/MsgStream.h"
12
13
15
MsgStream&
Trk::operator <<
( MsgStream& ls,
const
Trk::LocalDirection
& lom)
16
{
17
ls << std::setiosflags(std::ios::fixed) << std::setprecision(3);
18
// ls << "(angleXZ, angleYZ, magnitude) = ";
19
ls <<
"(angleXZ, angleYZ) = "
;
20
ls <<
"("
<< lom.
angleXZ
();
21
ls <<
","
<< lom.
angleYZ
() <<
")"
;
22
ls << std::setprecision(-1);
23
return
ls;
24
}
25
26
std::ostream&
Trk::operator <<
( std::ostream& ls,
const
Trk::LocalDirection
& lom)
27
{
28
ls << std::setiosflags(std::ios::fixed) << std::setprecision(3);
29
// ls << "(angleXZ, angleYZ, magnitude) = ";
30
ls <<
"(angleXZ, angleYZ) = "
;
31
ls <<
"("
<< lom.
angleXZ
();
32
ls <<
","
<< lom.
angleYZ
() <<
")"
;
33
ls << std::setprecision(-1);
34
return
ls;
35
}
36
37
38
LocalDirection.h
Trk::LocalDirection
represents the three-dimensional global direction with respect to a planar surface frame.
Definition
LocalDirection.h:81
Trk::LocalDirection::angleXZ
double angleXZ() const
access method for angle of local XZ projection
Definition
LocalDirection.h:103
Trk::LocalDirection::angleYZ
double angleYZ() const
access method for angle of local YZ projection
Definition
LocalDirection.h:106
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition
AlignModule.cxx:204
Generated on
for ATLAS Offline Software by
1.17.0