ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
DriftCircle.h File Reference
#include <ostream>
#include <vector>
#include "GaudiKernel/MsgStream.h"
#include "TrkDriftCircleMath/LocVec2D.h"
#include "TrkDriftCircleMath/MdtId.h"
Include dependency graph for DriftCircle.h:

Go to the source code of this file.

Classes

class  TrkDriftCircleMath::DriftCircle
 This class represents a drift time measurement. More...
 

Namespaces

 Muon
 NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
 
 TrkDriftCircleMath
 Function object to check whether two Segments are sub/super sets or different.
 

Typedefs

typedef std::vector< DriftCircle > TrkDriftCircleMath::DCVec
 
typedef DCVec::iterator TrkDriftCircleMath::DCIt
 
typedef DCVec::const_iterator TrkDriftCircleMath::DCCit
 

Functions

std::ostream & operator<< (std::ostream &os, const TrkDriftCircleMath::DriftCircle &dc)
 
MsgStream & operator<< (MsgStream &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 }

◆ 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 }
TrkDriftCircleMath::DriftCircle::LateHit
@ LateHit
drift time compatible with drift spectrum
Definition: DriftCircle.h:28
TrkDriftCircleMath::DriftCircle::position
const LocVec2D & position() const
access to local position
Definition: DriftCircle.h:74
TrkDriftCircleMath::DriftCircle::dr
double dr() const
access to error drift radius
Definition: DriftCircle.h:89
TrkDriftCircleMath::DriftCircle::r
double r() const
access to drift radius
Definition: DriftCircle.h:86
TrkDriftCircleMath::DriftCircle::NotCrossed
@ NotCrossed
channel without drift measurement
Definition: DriftCircle.h:30
TrkDriftCircleMath::DriftCircle::driftState
const DriftState & driftState() const
access to drift state
Definition: DriftCircle.h:95
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TrkDriftCircleMath::DriftCircle::EmptyTube
@ EmptyTube
drift time too large to be compatible with drift spectrum
Definition: DriftCircle.h:29
TrkDriftCircleMath::DriftCircle::id
const MdtId & id() const
access to identifier
Definition: DriftCircle.h:77
TrkDriftCircleMath::DriftCircle::EarlyHit
@ EarlyHit
Definition: DriftCircle.h:26
TrkDriftCircleMath::DriftCircle::InTime
@ InTime
drift time too small to be compatible with drift spectrum
Definition: DriftCircle.h:27