ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkUtilityPackages
TrkDriftCircleMath
TrkDriftCircleMath
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"
12
#include "
TrkDriftCircleMath/Cluster.h
"
13
#include "
TrkDriftCircleMath/DriftCircle.h
"
14
#include "
TrkDriftCircleMath/Line.h
"
15
#include "
TrkDriftCircleMath/Segment.h
"
16
17
namespace
TrkDriftCircleMath
{
18
19
class
Segment
;
20
21
class
SegmentCandidate
{
22
public
:
23
SegmentCandidate
(
const
Line
& l,
const
DCVec
&
dcs
,
const
CLVec
&
clusters
) :
m_line
(l),
m_dcs
(
dcs
),
m_clusters
(
clusters
) {}
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
:
37
Line
m_line
;
38
DCVec
m_dcs
;
39
CLVec
m_clusters
;
40
};
41
42
class
SegCandVec
:
public
std::vector<SegmentCandidate> {
43
public
:
44
SegCandVec
(){};
45
SegCandVec
(
const
SegVec
& segVec);
46
};
47
48
typedef
SegCandVec::iterator
SegCandIt
;
49
typedef
SegCandVec::const_iterator
SegCandCit
;
50
51
}
// namespace TrkDriftCircleMath
52
53
std::ostream&
operator<<
(std::ostream& os,
const
TrkDriftCircleMath::SegmentCandidate
& dc);
54
55
MsgStream&
operator<<
(MsgStream& os,
const
TrkDriftCircleMath::SegmentCandidate
& dc);
56
57
#endif
//__DCMATH__SEGMENT_CANDIDATE__H__
DriftCircle.h
Line.h
operator<<
std::ostream & operator<<(std::ostream &os, const TrkDriftCircleMath::SegmentCandidate &dc)
Definition
SegmentCandidate.cxx:12
Cluster.h
Segment.h
TrkDriftCircleMath::Line
Definition
Line.h:17
TrkDriftCircleMath::SegCandVec::SegCandVec
SegCandVec()
Definition
SegmentCandidate.h:44
TrkDriftCircleMath::SegmentCandidate
Definition
SegmentCandidate.h:21
TrkDriftCircleMath::SegmentCandidate::dcs
const DCVec & dcs() const
Definition
SegmentCandidate.h:30
TrkDriftCircleMath::SegmentCandidate::m_clusters
CLVec m_clusters
Definition
SegmentCandidate.h:39
TrkDriftCircleMath::SegmentCandidate::clusters
void clusters(const CLVec &cls)
Definition
SegmentCandidate.h:34
TrkDriftCircleMath::SegmentCandidate::m_line
Line m_line
Definition
SegmentCandidate.h:37
TrkDriftCircleMath::SegmentCandidate::~SegmentCandidate
virtual ~SegmentCandidate()
Definition
SegmentCandidate.h:27
TrkDriftCircleMath::SegmentCandidate::m_dcs
DCVec m_dcs
Definition
SegmentCandidate.h:38
TrkDriftCircleMath::SegmentCandidate::clusters
const CLVec & clusters() const
Definition
SegmentCandidate.h:31
TrkDriftCircleMath::SegmentCandidate::line
const Line & line() const
Definition
SegmentCandidate.h:29
TrkDriftCircleMath::SegmentCandidate::SegmentCandidate
SegmentCandidate(const Line &l, const DCVec &dcs, const CLVec &clusters)
Definition
SegmentCandidate.h:23
TrkDriftCircleMath::SegmentCandidate::dcs
void dcs(const DCVec &dcs)
Definition
SegmentCandidate.h:33
TrkDriftCircleMath::Segment
Definition
Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h:18
TrkDriftCircleMath
Function object to check whether two Segments are sub/super sets or different.
Definition
IMdtSegmentFinder.h:13
TrkDriftCircleMath::CLVec
std::vector< Cluster > CLVec
Definition
Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Cluster.h:70
TrkDriftCircleMath::SegCandCit
SegCandVec::const_iterator SegCandCit
Definition
SegmentCandidate.h:49
TrkDriftCircleMath::SegVec
std::vector< Segment > SegVec
Definition
Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h:122
TrkDriftCircleMath::DCVec
std::vector< DriftCircle > DCVec
Definition
DriftCircle.h:117
TrkDriftCircleMath::SegCandIt
SegCandVec::iterator SegCandIt
Definition
SegmentCandidate.h:48
Generated on
for ATLAS Offline Software by
1.17.0