ATLAS Offline Software
Loading...
Searching...
No Matches
DriftCircle.cxx File Reference
Include dependency graph for DriftCircle.cxx:

Go to the source code of this file.

Functions

MsgStream & operator<< (MsgStream &os, const TrkDriftCircleMath::DriftCircle &dc)
std::ostream & operator<< (std::ostream &os, const TrkDriftCircleMath::DriftCircle &dc)

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & os,
const TrkDriftCircleMath::DriftCircle & dc )

Definition at line 7 of file DriftCircle.cxx.

7 {
8 os << dc.position() << std::setw(6) << " r " << dc.r() << " dr " << dc.dr() << " id " << dc.id();
10 os << " EarlyHit";
12 os << " InTime";
14 os << " LateHit";
16 os << " EmptyTube";
18 os << " NotCrossed";
19 else
20 os << " unknown driftState";
21 return os;
22}
double r() const
access to drift radius
Definition DriftCircle.h:86
const MdtId & id() const
access to identifier
Definition DriftCircle.h:77
const LocVec2D & position() const
access to local position
Definition DriftCircle.h:74
double dr() const
access to error drift radius
Definition DriftCircle.h:89
const DriftState & driftState() const
access to drift state
Definition DriftCircle.h:95
@ EmptyTube
drift time too large to be compatible with drift spectrum
Definition DriftCircle.h:29
@ LateHit
drift time compatible with drift spectrum
Definition DriftCircle.h:28
@ InTime
drift time too small to be compatible with drift spectrum
Definition DriftCircle.h:27
@ NotCrossed
channel without drift measurement
Definition DriftCircle.h:30

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const TrkDriftCircleMath::DriftCircle & dc )

Definition at line 24 of file DriftCircle.cxx.

24 {
25 os << dc.position() << " r " << dc.r() << " dr " << dc.dr() << " id " << dc.id();
27 os << " EarlyHit";
29 os << " InTime";
31 os << " LateHit";
33 os << " EmptyTube";
35 os << " NotCrossed";
36 else
37 os << " unknown driftState";
38 return os;
39}