ATLAS Offline Software
Loading...
Searching...
No Matches
ScatteringAngles.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "GaudiKernel/MsgStream.h"
7#include <string>
8
9
10// Overload of << operator for MsgStream for debug output
11MsgStream&
12Trk::operator<<(MsgStream& sl, const Trk::ScatteringAngles& saos)
13{
14 std::string name("ScatteringAngles: ");
15 sl << name << "deltaPhi : " << saos.deltaPhi() << endmsg;
16 sl << name << "deltaTheta : " << saos.deltaTheta() << endmsg;
17 sl << name << "sigmaDeltaPhi : " << saos.sigmaDeltaPhi() << endmsg;
18 sl << name << "sigmaDeltaTheta : " << saos.sigmaDeltaTheta() << endmsg;
19 return sl;
20}
21// Overload of << operator for std::ostream for debug output
22std::ostream&
23Trk::operator<<(std::ostream& sl, const Trk::ScatteringAngles& saos)
24{
25 sl << "ScatteringAngles: " << std::endl;
26 sl << "\t deltaPhi : " << saos.deltaPhi() << std::endl;
27 sl << "\t deltaTheta : " << saos.deltaTheta() << std::endl;
28 sl << "\t sigmaDeltaPhi : " << saos.sigmaDeltaPhi() << std::endl;
29 sl << "\t sigmaDeltaTheta : " << saos.sigmaDeltaTheta() << std::endl;
30 return sl;
31}
32
#define endmsg
represents a deflection of the track caused through multiple scattering in material.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output