ATLAS Offline Software
EnergyLoss.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // EnergyLoss.cxx (c) ATLAS Detector software
8 
10 #include "GaudiKernel/MsgStream.h"
11 #include <ostream>
12 #include <string>
13 
15 MsgStream&
16 Trk::operator<<(MsgStream& sl, const EnergyLoss& eloss)
17 {
18  return eloss.dump(sl);
19 }
20 
22 std::ostream&
23 Trk::operator<<(std::ostream& sl, const EnergyLoss& eloss)
24 {
25  return eloss.dump(sl);
26 }
27 
28 // Overload of << operator for MsgStream and std::ostream for debug output
29 MsgStream&
30 Trk::EnergyLoss::dump(MsgStream& sl) const
31 {
32  sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
33  << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
34  return sl;
35 }
36 
37 std::ostream&
38 Trk::EnergyLoss::dump(std::ostream& sl) const
39 {
40  sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
41  << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
42  return sl;
43 }
44 
EnergyLoss.h
Trk::EnergyLoss::sigmaDeltaE
double sigmaDeltaE() const
returns the symmatric error
Trk::EnergyLoss::dump
virtual MsgStream & dump(MsgStream &sl) const
Interface method for output, can be overloaded by child classes.
Definition: EnergyLoss.cxx:30
Trk::EnergyLoss::deltaE
double deltaE() const
returns the
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition: EnergyLoss.h:34
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition: AlignModule.cxx:204