ATLAS Offline Software
Loading...
Searching...
No Matches
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
10//Gaudi
11#include "GaudiKernel/MsgStream.h"
12
13
15MsgStream& 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
26std::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
represents the three-dimensional global direction with respect to a planar surface frame.
double angleXZ() const
access method for angle of local XZ projection
double angleYZ() const
access method for angle of local YZ projection
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output