ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkMaterialOnTrack
src
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
5
#include "
TrkMaterialOnTrack/ScatteringAngles.h
"
6
#include "GaudiKernel/MsgStream.h"
7
#include <string>
8
9
10
// Overload of << operator for MsgStream for debug output
11
MsgStream&
12
Trk::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
22
std::ostream&
23
Trk::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
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:63
ScatteringAngles.h
Trk::ScatteringAngles
represents a deflection of the track caused through multiple scattering in material.
Definition
ScatteringAngles.h:26
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.14.0