ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentCandidate.h File Reference
#include <ostream>
#include <vector>
#include "GaudiKernel/MsgStream.h"
#include "TrkDriftCircleMath/Cluster.h"
#include "TrkDriftCircleMath/DriftCircle.h"
#include "TrkDriftCircleMath/Line.h"
#include "TrkDriftCircleMath/Segment.h"
Include dependency graph for SegmentCandidate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrkDriftCircleMath::SegmentCandidate
class  TrkDriftCircleMath::SegCandVec

Namespaces

namespace  TrkDriftCircleMath
 Function object to check whether two Segments are sub/super sets or different.

Typedefs

typedef SegCandVec::iterator TrkDriftCircleMath::SegCandIt
typedef SegCandVec::const_iterator TrkDriftCircleMath::SegCandCit

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 23 of file SegmentCandidate.cxx.

23 {
24 os << "line " << seg.line() << " dcs " << seg.dcs().size() << " cls " << seg.clusters().size() << endmsg;
25
26 TrkDriftCircleMath::DCCit it = seg.dcs().begin();
27 TrkDriftCircleMath::DCCit it_end = seg.dcs().end();
28
29 for (; it != it_end; ++it) { os << *it << endmsg; }
30
31 return os;
32}
#define endmsg
DCVec::const_iterator DCCit

◆ operator<<() [2/2]

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

Definition at line 12 of file SegmentCandidate.cxx.

12 {
13 os << "line " << seg.line() << " dcs " << seg.dcs().size() << " cls " << seg.clusters().size() << std::endl;
14
15 TrkDriftCircleMath::DCCit it = seg.dcs().begin();
16 TrkDriftCircleMath::DCCit it_end = seg.dcs().end();
17
18 for (; it != it_end; ++it) { os << *it << std::endl; }
19
20 return os;
21}