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

#include <TrackToVtxLink.h>

Collaboration diagram for Trk::TrackToVtxLink:

Public Member Functions

 TrackToVtxLink ()
 Default constructor. More...
 
 ~TrackToVtxLink ()
 Destructor. More...
 
 TrackToVtxLink (const TrackToVtxLink &rhs)
 Copy constructor. More...
 
TrackToVtxLinkoperator= (const TrackToVtxLink &rhs)
 Assignement operator. More...
 
 TrackToVtxLink (std::vector< xAOD::Vertex * > *ptrToVertices)
 Constructor with also pointer to vertexes. More...
 
const std::vector< xAOD::Vertex * > * vertices (void) const
 Const access to the vertex list. More...
 
std::vector< xAOD::Vertex * > * vertices (void)
 Unconst access to the vertex list. More...
 

Private Attributes

std::vector< xAOD::Vertex * > * m_vertices
 Infos about vertexes which the track can be referred to. More...
 

Detailed Description

Definition at line 34 of file TrackToVtxLink.h.

Constructor & Destructor Documentation

◆ TrackToVtxLink() [1/3]

Trk::TrackToVtxLink::TrackToVtxLink ( )

Default constructor.

Definition at line 41 of file TrackToVtxLink.cxx.

◆ ~TrackToVtxLink()

Trk::TrackToVtxLink::~TrackToVtxLink ( )

Destructor.

Definition at line 47 of file TrackToVtxLink.cxx.

48  {
49  if (this!=&rhs)
50  {
51  delete m_vertices;
52  m_vertices = m_vertices ? new std::vector<xAOD::Vertex*>(*rhs.m_vertices) : nullptr;
53  }

◆ TrackToVtxLink() [2/3]

Trk::TrackToVtxLink::TrackToVtxLink ( const TrackToVtxLink rhs)

Copy constructor.

Definition at line 56 of file TrackToVtxLink.cxx.

◆ TrackToVtxLink() [3/3]

Trk::TrackToVtxLink::TrackToVtxLink ( std::vector< xAOD::Vertex * > *  ptrToVertices)

Constructor with also pointer to vertexes.

Definition at line 44 of file TrackToVtxLink.cxx.

Member Function Documentation

◆ operator=()

TrackToVtxLink & Trk::TrackToVtxLink::operator= ( const TrackToVtxLink rhs)

Assignement operator.

Definition at line 61 of file TrackToVtxLink.cxx.

◆ vertices() [1/2]

std::vector< xAOD::Vertex * > * Trk::TrackToVtxLink::vertices ( void  )
inline

Unconst access to the vertex list.

Definition at line 86 of file TrackToVtxLink.h.

86  {
87  return m_vertices;
88  }

◆ vertices() [2/2]

const std::vector< xAOD::Vertex * > * Trk::TrackToVtxLink::vertices ( void  ) const
inline

Const access to the vertex list.

Definition at line 82 of file TrackToVtxLink.h.

82  {
83  return m_vertices;
84  }

Member Data Documentation

◆ m_vertices

std::vector<xAOD::Vertex*>* Trk::TrackToVtxLink::m_vertices
private

Infos about vertexes which the track can be referred to.

Definition at line 78 of file TrackToVtxLink.h.


The documentation for this class was generated from the following files: