ATLAS Offline Software
Loading...
Searching...
No Matches
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
15MsgStream&
16Trk::operator<<(MsgStream& sl, const EnergyLoss& eloss)
17{
18 return eloss.dump(sl);
19}
20
22std::ostream&
23Trk::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
29MsgStream&
30Trk::EnergyLoss::dump(MsgStream& sl) const
31{
32 sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
33 << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
34 return sl;
35}
36
37std::ostream&
38Trk::EnergyLoss::dump(std::ostream& sl) const
39{
40 sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
41 << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
42 return sl;
43}
44
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition EnergyLoss.h:34
virtual MsgStream & dump(MsgStream &sl) const
Interface method for output, can be overloaded by child classes.
double sigmaDeltaE() const
returns the symmatric error
double deltaE() const
returns the
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output