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

#include <ISvxConstituent.h>

Inheritance diagram for Analysis::ISvxConstituent:
Collaboration diagram for Analysis::ISvxConstituent:

Public Member Functions

 ISvxConstituent ()
 constructor More...
 
 ISvxConstituent (NameType &name)
 constructor More...
 
 ISvxConstituent (NameType &name, const ISvxConstituent &rhs)
 
 ISvxConstituent (const ISvxConstituent &rhs)
 
 ~ISvxConstituent ()
 destructor More...
 
virtual void setName (NameType &name)
 to set the name More...
 
virtual NameType name () const
 returns the infoType of the info objects. More...
 
virtual ISvxConstituentclone () const
 a clone method for the proper workings of the copy constructor More...
 
ISvxConstituentoperator= (const ISvxConstituent &)
 
const Trk::VxSecVertexInfovertexInfo () const
 
void setVertexInfo (const Trk::VxSecVertexInfo *)
 
virtual void fillToken (INavigationToken &) const
 
virtual void fillToken (INavigationToken &, const std::any &) const
 

Private Attributes

std::string m_name
 
const Trk::VxSecVertexInfom_vertexInfo
 

Detailed Description

Definition at line 40 of file ISvxConstituent.h.

Constructor & Destructor Documentation

◆ ISvxConstituent() [1/4]

Analysis::ISvxConstituent::ISvxConstituent ( )

constructor

Definition at line 34 of file ISvxConstituent.cxx.

36  {

◆ ISvxConstituent() [2/4]

Analysis::ISvxConstituent::ISvxConstituent ( NameType name)

constructor

Definition at line 37 of file ISvxConstituent.cxx.

◆ ISvxConstituent() [3/4]

Analysis::ISvxConstituent::ISvxConstituent ( NameType name,
const ISvxConstituent rhs 
)

Definition at line 58 of file ISvxConstituent.cxx.

60  { return new ISvxConstituent( *this );}
61 

◆ ISvxConstituent() [4/4]

Analysis::ISvxConstituent::ISvxConstituent ( const ISvxConstituent rhs)

Definition at line 52 of file ISvxConstituent.cxx.

52  { }
53 
54 
56 

◆ ~ISvxConstituent()

Analysis::ISvxConstituent::~ISvxConstituent ( )

destructor

Definition at line 42 of file ISvxConstituent.cxx.

42  :
43  INavigable(rhs),
44  IConstituent(rhs),
45  m_vertexInfo(rhs.m_vertexInfo!=0 ? rhs.m_vertexInfo->clone() : 0)
46  { }
47 
49  IConstituent(rhs),
50  m_name(name),

Member Function Documentation

◆ clone()

ISvxConstituent * Analysis::ISvxConstituent::clone ( ) const
virtual

a clone method for the proper workings of the copy constructor

Implements Analysis::IConstituent.

Definition at line 69 of file ISvxConstituent.cxx.

70  {

◆ fillToken() [1/2]

virtual void Analysis::ISvxConstituent::fillToken ( INavigationToken ) const
inlinevirtual

Implements INavigable.

Definition at line 71 of file ISvxConstituent.h.

71  {
72  return;
73  }

◆ fillToken() [2/2]

virtual void Analysis::ISvxConstituent::fillToken ( INavigationToken ,
const std::any &   
) const
inlinevirtual

Implements INavigable.

Definition at line 76 of file ISvxConstituent.h.

77  {
78  return;
79  }

◆ name()

NameType Analysis::ISvxConstituent::name ( ) const
virtual

returns the infoType of the info objects.

This has to be set by the tagger.

Implements Analysis::IConstituent.

Definition at line 67 of file ISvxConstituent.cxx.

70 {

◆ operator=()

ISvxConstituent & Analysis::ISvxConstituent::operator= ( const ISvxConstituent rhs)

Definition at line 72 of file ISvxConstituent.cxx.

77  {
78  return m_vertexInfo;
79  }
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)
85  if (m_vertexInfo) {

◆ setName()

void Analysis::ISvxConstituent::setName ( NameType name)
virtual

to set the name

Implements Analysis::IConstituent.

Definition at line 65 of file ISvxConstituent.cxx.

66 {

◆ setVertexInfo()

void Analysis::ISvxConstituent::setVertexInfo ( const Trk::VxSecVertexInfo vertexInfo)

Definition at line 94 of file ISvxConstituent.cxx.

◆ vertexInfo()

const Trk::VxSecVertexInfo * Analysis::ISvxConstituent::vertexInfo ( ) const

Definition at line 87 of file ISvxConstituent.cxx.

Member Data Documentation

◆ m_name

std::string Analysis::ISvxConstituent::m_name
private

Definition at line 83 of file ISvxConstituent.h.

◆ m_vertexInfo

const Trk::VxSecVertexInfo* Analysis::ISvxConstituent::m_vertexInfo
private

Definition at line 84 of file ISvxConstituent.h.


The documentation for this class was generated from the following files:
Analysis::ISvxConstituent::ISvxConstituent
ISvxConstituent()
constructor
Definition: ISvxConstituent.cxx:34
Analysis::ISvxConstituent::m_name
std::string m_name
Definition: ISvxConstituent.h:83
Analysis::ISvxConstituent::setVertexInfo
void setVertexInfo(const Trk::VxSecVertexInfo *)
Definition: ISvxConstituent.cxx:94
Analysis::ISvxConstituent::operator=
ISvxConstituent & operator=(const ISvxConstituent &)
Definition: ISvxConstituent.cxx:72
INavigable
Definition: INavigable.h:18
Analysis::ISvxConstituent::m_vertexInfo
const Trk::VxSecVertexInfo * m_vertexInfo
Definition: ISvxConstituent.h:84
Trk::VxSecVertexInfo
Definition: VxSecVertexInfo.h:63
Analysis::ISvxConstituent::setName
virtual void setName(NameType &name)
to set the name
Definition: ISvxConstituent.cxx:65
Analysis::ISvxConstituent::name
virtual NameType name() const
returns the infoType of the info objects.
Definition: ISvxConstituent.cxx:67
Analysis::ISvxConstituent::vertexInfo
const Trk::VxSecVertexInfo * vertexInfo() const
Definition: ISvxConstituent.cxx:87
NameType
std::string NameType
Definition: JetINav4MomAssociation.h:29