ATLAS Offline Software
Loading...
Searching...
No Matches
ISvxConstituent.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
31
33 {
34
35 //delete the vertexInfo (if there)
36 if (m_vertexInfo) {
37 delete m_vertexInfo;
39 }
40 }
41
47
53
54
56
58
60 { return new ISvxConstituent( *this );}
61
63 {
64 if (this!=&rhs) {
65 m_name=rhs.m_name;
66 if (m_vertexInfo) {
67 delete m_vertexInfo;
69 }
70 if (rhs.m_vertexInfo) {
72 }
73 }
74 return *this;
75 }
76
80
81 //PAY ATTENTION!
82 // Set function (OWNERSHIP of the object is taken by THIS class, so don't delete
83 // the pointer you are providing afterwards)
91
92}//end namespace Analysis
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
const Trk::VxSecVertexInfo * m_vertexInfo
virtual NameType name() const
returns the infoType of the info objects.
const Trk::VxSecVertexInfo * vertexInfo() const
virtual void setName(NameType &name)
to set the name
void setVertexInfo(const Trk::VxSecVertexInfo *)
virtual ISvxConstituent * clone() const
a clone method for the proper workings of the copy constructor
ISvxConstituent & operator=(const ISvxConstituent &)
virtual VxSecVertexInfo * clone() const
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string NameType
string to identify the constituent