ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrkDriftCircleMath::SegmentCandidate Class Reference

#include <SegmentCandidate.h>

Collaboration diagram for TrkDriftCircleMath::SegmentCandidate:

Public Member Functions

 SegmentCandidate (const Line &l, const DCVec &dcs, const CLVec &clusters)
 
 SegmentCandidate (const Segment &segment)
 
virtual ~SegmentCandidate ()
 
const Lineline () const
 
const DCVecdcs () const
 
const CLVecclusters () const
 
void dcs (const DCVec &dcs)
 
void clusters (const CLVec &cls)
 

Private Attributes

Line m_line
 
DCVec m_dcs
 
CLVec m_clusters
 

Detailed Description

Definition at line 21 of file SegmentCandidate.h.

Constructor & Destructor Documentation

◆ SegmentCandidate() [1/2]

TrkDriftCircleMath::SegmentCandidate::SegmentCandidate ( const Line l,
const DCVec dcs,
const CLVec clusters 
)
inline

Definition at line 23 of file SegmentCandidate.h.

◆ SegmentCandidate() [2/2]

TrkDriftCircleMath::SegmentCandidate::SegmentCandidate ( const Segment segment)

Definition at line 36 of file SegmentCandidate.cxx.

36  : m_line(seg.line()), m_clusters(seg.clusters()) {
37  m_dcs.reserve(seg.dcs().size());
38  DCOnTrackCit it = seg.dcs().begin();
39  DCOnTrackCit itEnd = seg.dcs().end();
40  for (; it != itEnd; ++it) { m_dcs.push_back(*it); }
41  }

◆ ~SegmentCandidate()

virtual TrkDriftCircleMath::SegmentCandidate::~SegmentCandidate ( )
inlinevirtual

Definition at line 27 of file SegmentCandidate.h.

27 {}

Member Function Documentation

◆ clusters() [1/2]

const CLVec& TrkDriftCircleMath::SegmentCandidate::clusters ( ) const
inline

Definition at line 31 of file SegmentCandidate.h.

31 { return m_clusters; }

◆ clusters() [2/2]

void TrkDriftCircleMath::SegmentCandidate::clusters ( const CLVec cls)
inline

Definition at line 34 of file SegmentCandidate.h.

34 { m_clusters = cls; }

◆ dcs() [1/2]

const DCVec& TrkDriftCircleMath::SegmentCandidate::dcs ( ) const
inline

Definition at line 30 of file SegmentCandidate.h.

30 { return m_dcs; }

◆ dcs() [2/2]

void TrkDriftCircleMath::SegmentCandidate::dcs ( const DCVec dcs)
inline

Definition at line 33 of file SegmentCandidate.h.

33 { m_dcs = dcs; }

◆ line()

const Line& TrkDriftCircleMath::SegmentCandidate::line ( ) const
inline

Definition at line 29 of file SegmentCandidate.h.

29 { return m_line; }

Member Data Documentation

◆ m_clusters

CLVec TrkDriftCircleMath::SegmentCandidate::m_clusters
private

Definition at line 39 of file SegmentCandidate.h.

◆ m_dcs

DCVec TrkDriftCircleMath::SegmentCandidate::m_dcs
private

Definition at line 38 of file SegmentCandidate.h.

◆ m_line

Line TrkDriftCircleMath::SegmentCandidate::m_line
private

Definition at line 37 of file SegmentCandidate.h.


The documentation for this class was generated from the following files:
TrkDriftCircleMath::SegmentCandidate::m_clusters
CLVec m_clusters
Definition: SegmentCandidate.h:39
skel.it
it
Definition: skel.GENtoEVGEN.py:396
CaloClusterListBadChannel.cls
cls
Definition: CaloClusterListBadChannel.py:8
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
TrkDriftCircleMath::SegmentCandidate::clusters
const CLVec & clusters() const
Definition: SegmentCandidate.h:31
TrkDriftCircleMath::SegmentCandidate::m_line
Line m_line
Definition: SegmentCandidate.h:37
TrkDriftCircleMath::SegmentCandidate::dcs
const DCVec & dcs() const
Definition: SegmentCandidate.h:30
TrkDriftCircleMath::DCOnTrackCit
DCOnTrackVec::const_iterator DCOnTrackCit
Definition: DCOnTrack.h:61
TrkDriftCircleMath::SegmentCandidate::m_dcs
DCVec m_dcs
Definition: SegmentCandidate.h:38