ATLAS Offline Software
NoiseOnSurface.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 // NoiseOnSurface.cxx , (c) ATLAS Detector software
8 
9 #include <iostream>
10 #include <iomanip>
11 #include "GaudiKernel/MsgStream.h"
13 
15 // Overload of << operator std::ostream
17 
18 std::ostream& Trk::operator <<
19  (std::ostream& sl,const Trk::NoiseOnSurface& se)
20 {
21  return se.dump(sl);
22 }
23 
24 MsgStream& Trk::operator <<
25 (MsgStream& sl, const Trk::NoiseOnSurface& se)
26 {
27  return se.dump(sl);
28 }
30 // Print track parameters information
32 
33 std::ostream& Trk::NoiseOnSurface::dump( std::ostream& out ) const
34 {
35  out<<"Noise(Azi,Pol,Mom,cMom) :"
36  <<std::setw(15)<<std::setprecision(9)<< m_covarianceAzim
37  <<std::setw(15)<<std::setprecision(9)<< m_covariancePola
38  <<std::setw(15)<<std::setprecision(9)<< m_covarianceIMom
39  <<std::setw(15)<<std::setprecision(9)<< m_correctionIMom;
40 
41  return out;
42 }
44 // Print track parameters information
46 
47 MsgStream& Trk::NoiseOnSurface::dump(MsgStream& out) const
48 {
49  out<<"Noise(Azi,Pol,Mom,cMom) :"
50  <<std::setw(15)<<std::setprecision(9)<< m_covarianceAzim
51  <<std::setw(15)<<std::setprecision(9)<< m_covariancePola
52  <<std::setw(15)<<std::setprecision(9)<< m_covarianceIMom
53  <<std::setw(15)<<std::setprecision(9)<< m_correctionIMom;
54 
55  return out;
56 }
Trk::NoiseOnSurface::dump
std::ostream & dump(std::ostream &) const
Definition: NoiseOnSurface.cxx:33
Trk::NoiseOnSurface::m_covariancePola
double m_covariancePola
Definition: NoiseOnSurface.h:60
Trk::NoiseOnSurface::m_correctionIMom
double m_correctionIMom
Definition: NoiseOnSurface.h:62
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
keylayer_zslicemap.se
se
Definition: keylayer_zslicemap.py:194
Trk::NoiseOnSurface
Definition: NoiseOnSurface.h:23
Trk::NoiseOnSurface::m_covarianceIMom
double m_covarianceIMom
Definition: NoiseOnSurface.h:61
Trk::NoiseOnSurface::m_covarianceAzim
double m_covarianceAzim
Definition: NoiseOnSurface.h:59
NoiseOnSurface.h