ATLAS Offline Software
Loading...
Searching...
No Matches
ISvxAssociation.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 ISvxConstituents.h - Description
7 -------------------
8 begin : March, 2007
9 authors : CSC b-tagging vertexing note group members
10 worked started by: Giacinto Piacquadio
11 email : giacinto.piacquadio@physik.uni-freiburg.de
12
13 changes : new!
14
15***************************************************************************/
16
19
20namespace Analysis
21{
22
23
26
30
32 {
33
34 //delete the vertexInfo (if there)
35 if (m_vertexInfo) {
36 delete m_vertexInfo;
38 }
39 }
40
46
51
52
54 { return new ISvxAssociation( *this );}
55
57 {
58 if (this!=&rhs) {
59 this->setName(rhs.name());
60 if (m_vertexInfo) {
61 delete m_vertexInfo;
63 }
64 if (rhs.m_vertexInfo) {
66 }
67 }
68 return *this;
69 }
70
74
75 //PAY ATTENTION!
76 // Set function (OWNERSHIP of the object is taken by THIS class, so don't delete
77 // the pointer you are providing afterwards)
85
86}//end namespace Analysis
void setVertexInfo(const Trk::VxSecVertexInfo *)
ISvxAssociation & operator=(const ISvxAssociation &)
const Trk::VxSecVertexInfo * vertexInfo() const
const Trk::VxSecVertexInfo * m_vertexInfo
virtual ISvxAssociation * clone() const
a clone method for the proper workings of the copy constructor
void setName(const name_t &name)
const name_t & name() const
virtual VxSecVertexInfo * clone() const
The namespace of all packages in PhysicsAnalysis/JetTagging.