ATLAS Offline Software
Namespaces | Functions
SegmentCandidate.cxx File Reference
#include "TrkDriftCircleMath/SegmentCandidate.h"
#include <iostream>
#include "TrkDriftCircleMath/ResidualWithLine.h"
#include "TrkDriftCircleMath/Segment.h"
Include dependency graph for SegmentCandidate.cxx:

Go to the source code of this file.

Namespaces

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

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

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 }

◆ operator<<() [2/2]

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

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 }
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TrkDriftCircleMath::SegmentCandidate::clusters
const CLVec & clusters() const
Definition: SegmentCandidate.h:31
TrkDriftCircleMath::SegmentCandidate::dcs
const DCVec & dcs() const
Definition: SegmentCandidate.h:30
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TrkDriftCircleMath::DCCit
DCVec::const_iterator DCCit
Definition: DriftCircle.h:119
TrkDriftCircleMath::SegmentCandidate::line
const Line & line() const
Definition: SegmentCandidate.h:29