ATLAS Offline Software
Loading...
Searching...
No Matches
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

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

Typedefs

typedef std::vector< DriftCircleTrkDriftCircleMath::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}
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}