ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentCandidate.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef __DCMATH__SEGMENT_CANDIDATE__H__
6#define __DCMATH__SEGMENT_CANDIDATE__H__
7
8#include <ostream>
9#include <vector>
10
11#include "GaudiKernel/MsgStream.h"
16
17namespace TrkDriftCircleMath {
18
19 class Segment;
20
22 public:
24
25 SegmentCandidate(const Segment& segment);
26
27 virtual ~SegmentCandidate() {}
28
29 const Line& line() const { return m_line; }
30 const DCVec& dcs() const { return m_dcs; }
31 const CLVec& clusters() const { return m_clusters; }
32
33 void dcs(const DCVec& dcs) { m_dcs = dcs; }
34 void clusters(const CLVec& cls) { m_clusters = cls; }
35
36 private:
40 };
41
42 class SegCandVec : public std::vector<SegmentCandidate> {
43 public:
45 SegCandVec(const SegVec& segVec);
46 };
47
48 typedef SegCandVec::iterator SegCandIt;
49 typedef SegCandVec::const_iterator SegCandCit;
50
51} // namespace TrkDriftCircleMath
52
53std::ostream& operator<<(std::ostream& os, const TrkDriftCircleMath::SegmentCandidate& dc);
54
55MsgStream& operator<<(MsgStream& os, const TrkDriftCircleMath::SegmentCandidate& dc);
56
57#endif //__DCMATH__SEGMENT_CANDIDATE__H__
std::ostream & operator<<(std::ostream &os, const TrkDriftCircleMath::SegmentCandidate &dc)
SegmentCandidate(const Line &l, const DCVec &dcs, const CLVec &clusters)
Function object to check whether two Segments are sub/super sets or different.
SegCandVec::const_iterator SegCandCit
std::vector< DriftCircle > DCVec
SegCandVec::iterator SegCandIt