#include <VxSecVertexInfo.h>
Definition at line 40 of file VxSecVertexInfo.h.
◆ VxSecVertexInfo() [1/4]
| Trk::VxSecVertexInfo::VxSecVertexInfo |
( |
| ) |
|
◆ VxSecVertexInfo() [2/4]
| Trk::VxSecVertexInfo::VxSecVertexInfo |
( |
std::vector< xAOD::Vertex * > | vertices | ) |
|
Definition at line 26 of file VxSecVertexInfo.cxx.
27
28 }
const std::vector< xAOD::Vertex * > & vertices() const
std::vector< xAOD::Vertex * > m_vertices
◆ ~VxSecVertexInfo()
| Trk::VxSecVertexInfo::~VxSecVertexInfo |
( |
| ) |
|
|
virtual |
Definition at line 30 of file VxSecVertexInfo.cxx.
30 {
31 std::vector<xAOD::Vertex*>::const_iterator verticesBegin=
m_vertices.begin();
32 std::vector<xAOD::Vertex*>::const_iterator verticesEnd=
m_vertices.end();
33
35 for (std::vector<xAOD::Vertex*>::const_iterator verticesIter=verticesBegin;
36 verticesIter!=verticesEnd;++verticesIter) {
38 if (myCandidate!=nullptr) {
39 delete myCandidate;
40 } else {
41 std::cout << " Warning in VxSecVertexInfo: tried to delete a zero pointer --> Inconsistency found. " << std::endl;
42 }
43 }
44 }
45 }
Vertex_v1 Vertex
Define the latest version of the vertex class.
◆ VxSecVertexInfo() [3/4]
Definition at line 47 of file VxSecVertexInfo.cxx.
47 {
48
49 std::vector<xAOD::Vertex*>::const_iterator verticesBegin=rhs.m_vertices.begin();
50 std::vector<xAOD::Vertex*>::const_iterator verticesEnd=rhs.m_vertices.end();
51
52 for (std::vector<xAOD::Vertex*>::const_iterator verticesIter=verticesBegin;
53 verticesIter!=verticesEnd;++verticesIter) {
55 if (myCandidate!=nullptr) {
57 } else {
58 std::cout << " Warning in VxSecVertexInfo: tried in copy constructor to copy over a zero pointer Vertex " << std::endl;
59 }
60 }
62 }
◆ VxSecVertexInfo() [4/4]
◆ clone()
◆ operator=() [1/2]
Definition at line 64 of file VxSecVertexInfo.cxx.
64 {
65
66 if (this!=&rhs) {
67
69
70 std::vector<xAOD::Vertex*>::const_iterator verticesBegin=rhs.m_vertices.begin();
71 std::vector<xAOD::Vertex*>::const_iterator verticesEnd=rhs.m_vertices.end();
72
73 for (std::vector<xAOD::Vertex*>::const_iterator verticesIter=verticesBegin;
74 verticesIter!=verticesEnd;++verticesIter) {
76 if (myCandidate!=nullptr) {
78 } else {
79 std::cout << " Warning in VxSecVertexInfo: tried in copy constructor to copy over a zero pointer Vertex " << std::endl;
80 }
81 }
83 }
84 return *this;
85 }
◆ operator=() [2/2]
◆ setSVOwnership()
| void Trk::VxSecVertexInfo::setSVOwnership |
( |
bool | Ownership | ) |
|
|
inline |
◆ setVertices()
| void Trk::VxSecVertexInfo::setVertices |
( |
const std::vector< xAOD::Vertex * > & | vertices | ) |
|
◆ vertices()
| const std::vector< xAOD::Vertex * > & Trk::VxSecVertexInfo::vertices |
( |
| ) |
const |
◆ m_SVOwnership
| bool Trk::VxSecVertexInfo::m_SVOwnership |
|
protected |
◆ m_vertices
The documentation for this class was generated from the following files: