ATLAS Offline Software
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 
17 namespace TrkDriftCircleMath {
18 
19  class Segment;
20 
22  public:
24 
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 
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__
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TrkDriftCircleMath::SegmentCandidate::m_clusters
CLVec m_clusters
Definition: SegmentCandidate.h:39
Trk::TrackState::Segment
@ Segment
Definition: TrackStateDefs.h:37
TrkDriftCircleMath::CLVec
std::vector< Cluster > CLVec
Definition: Tracking/TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Cluster.h:70
TrkDriftCircleMath::SegmentCandidate::SegmentCandidate
SegmentCandidate(const Line &l, const DCVec &dcs, const CLVec &clusters)
Definition: SegmentCandidate.h:23
TrkDriftCircleMath::SegCandVec
Definition: SegmentCandidate.h:42
TrkDriftCircleMath
Function object to check whether two Segments are sub/super sets or different.
Definition: IMdtSegmentFinder.h:13
CaloClusterListBadChannel.cls
cls
Definition: CaloClusterListBadChannel.py:8
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
DriftCircle.h
TrkDriftCircleMath::SegCandVec::SegCandVec
SegCandVec()
Definition: SegmentCandidate.h:44
TrkDriftCircleMath::SegmentCandidate::clusters
const CLVec & clusters() const
Definition: SegmentCandidate.h:31
TrkDriftCircleMath::SegmentCandidate::m_line
Line m_line
Definition: SegmentCandidate.h:37
TrkDriftCircleMath::Segment
Definition: TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h:18
TrkDriftCircleMath::DCVec
std::vector< DriftCircle > DCVec
Definition: DriftCircle.h:117
TrkDriftCircleMath::SegmentCandidate::dcs
const DCVec & dcs() const
Definition: SegmentCandidate.h:30
TrkDriftCircleMath::Line
Definition: Line.h:17
TrkDriftCircleMath::SegmentCandidate::dcs
void dcs(const DCVec &dcs)
Definition: SegmentCandidate.h:33
TrkDriftCircleMath::SegmentCandidate::clusters
void clusters(const CLVec &cls)
Definition: SegmentCandidate.h:34
TrkDriftCircleMath::SegCandCit
SegCandVec::const_iterator SegCandCit
Definition: SegmentCandidate.h:49
Line.h
TrkDriftCircleMath::SegmentCandidate::m_dcs
DCVec m_dcs
Definition: SegmentCandidate.h:38
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
operator<<
std::ostream & operator<<(std::ostream &os, const TrkDriftCircleMath::SegmentCandidate &dc)
Definition: SegmentCandidate.cxx:12
TrkDriftCircleMath::SegmentCandidate
Definition: SegmentCandidate.h:21
TrkDriftCircleMath::SegCandIt
SegCandVec::iterator SegCandIt
Definition: SegmentCandidate.h:48
Segment.h
TrkDriftCircleMath::SegmentCandidate::line
const Line & line() const
Definition: SegmentCandidate.h:29
TrkDriftCircleMath::SegVec
std::vector< Segment > SegVec
Definition: TrkUtilityPackages/TrkDriftCircleMath/TrkDriftCircleMath/Segment.h:122
TrkDriftCircleMath::SegmentCandidate::~SegmentCandidate
virtual ~SegmentCandidate()
Definition: SegmentCandidate.h:27
Cluster.h
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition: PadTriggerAdapter.cxx:5