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

#include <ISvxAssociation.h>

Inheritance diagram for Analysis::ISvxAssociation:
Collaboration diagram for Analysis::ISvxAssociation:

Public Types

typedef JetKeyDescriptor::key_t name_t
 
typedef name_t NameType
 

Public Member Functions

 ISvxAssociation ()
 constructor More...
 
 ISvxAssociation (const NameType &name)
 constructor More...
 
 ISvxAssociation (const NameType &name, const ISvxAssociation &rhs)
 
 ISvxAssociation (const ISvxAssociation &rhs)
 
 ~ISvxAssociation ()
 destructor More...
 
virtual ISvxAssociationclone () const
 a clone method for the proper workings of the copy constructor More...
 
ISvxAssociationoperator= (const ISvxAssociation &)
 
const Trk::VxSecVertexInfovertexInfo () const
 
void setVertexInfo (const Trk::VxSecVertexInfo *)
 
virtual void fillToken (INavigationToken &) const
 
virtual void fillToken (INavigationToken &, const std::any &) const
 
void setName (const name_t &name)
 
const name_tname () const
 
size_t keyIndex () const
 

Protected Attributes

size_t m_keyIndex
 
JetKeyDescriptorInstancem_jetKeyDescr
 

Private Attributes

const Trk::VxSecVertexInfom_vertexInfo
 

Detailed Description

Definition at line 40 of file ISvxAssociation.h.

Member Typedef Documentation

◆ name_t

Definition at line 28 of file JetAssociationBase.h.

◆ NameType

Definition at line 29 of file JetAssociationBase.h.

Constructor & Destructor Documentation

◆ ISvxAssociation() [1/4]

Analysis::ISvxAssociation::ISvxAssociation ( )

constructor

Definition at line 34 of file ISvxAssociation.cxx.

35  {

◆ ISvxAssociation() [2/4]

Analysis::ISvxAssociation::ISvxAssociation ( const NameType name)

constructor

Definition at line 37 of file ISvxAssociation.cxx.

◆ ISvxAssociation() [3/4]

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

Definition at line 57 of file ISvxAssociation.cxx.

57  {
58  if (this!=&rhs) {
59  this->setName(rhs.name());
60  if (m_vertexInfo) {

◆ ISvxAssociation() [4/4]

Analysis::ISvxAssociation::ISvxAssociation ( const ISvxAssociation rhs)

Definition at line 51 of file ISvxAssociation.cxx.

54  { return new ISvxAssociation( *this );}
55 

◆ ~ISvxAssociation()

Analysis::ISvxAssociation::~ISvxAssociation ( )

destructor

Definition at line 41 of file ISvxAssociation.cxx.

41  :
42  INavigable(rhs),
43  JetAssociationBase(rhs),
44  m_vertexInfo(rhs.m_vertexInfo!=0 ? rhs.m_vertexInfo->clone() : 0)
45  { }
46 
48  JetAssociationBase(rhs),
49  m_vertexInfo(rhs.m_vertexInfo!=0 ? rhs.m_vertexInfo->clone() : 0)

Member Function Documentation

◆ clone()

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

a clone method for the proper workings of the copy constructor

Implements JetAssociationBase.

Definition at line 63 of file ISvxAssociation.cxx.

64  {

◆ fillToken() [1/2]

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

Implements INavigable.

Definition at line 65 of file ISvxAssociation.h.

65  {
66  return;
67  }

◆ fillToken() [2/2]

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

Implements INavigable.

Definition at line 70 of file ISvxAssociation.h.

71  {
72  return;
73  }

◆ keyIndex()

size_t JetAssociationBase::keyIndex ( ) const
inlineinherited

Definition at line 35 of file JetAssociationBase.h.

35 { return m_keyIndex; }

◆ name()

const JetAssociationBase::name_t & JetAssociationBase::name ( ) const
inherited

Definition at line 20 of file JetAssociationBase.cxx.

◆ operator=()

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

Definition at line 66 of file ISvxAssociation.cxx.

71  {
72  return m_vertexInfo;
73  }
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)
79  if (m_vertexInfo) {

◆ setName()

void JetAssociationBase::setName ( const name_t name)
inherited

Definition at line 15 of file JetAssociationBase.cxx.

◆ setVertexInfo()

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

Definition at line 88 of file ISvxAssociation.cxx.

◆ vertexInfo()

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

Definition at line 81 of file ISvxAssociation.cxx.

Member Data Documentation

◆ m_jetKeyDescr

JetKeyDescriptorInstance* JetAssociationBase::m_jetKeyDescr
protectedinherited

Definition at line 57 of file JetAssociationBase.h.

◆ m_keyIndex

size_t JetAssociationBase::m_keyIndex
protectedinherited

Definition at line 56 of file JetAssociationBase.h.

◆ m_vertexInfo

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

Definition at line 77 of file ISvxAssociation.h.


The documentation for this class was generated from the following files:
Analysis::ISvxAssociation::vertexInfo
const Trk::VxSecVertexInfo * vertexInfo() const
Definition: ISvxAssociation.cxx:81
Analysis::ISvxAssociation::m_vertexInfo
const Trk::VxSecVertexInfo * m_vertexInfo
Definition: ISvxAssociation.h:77
JetAssociationBase::setName
void setName(const name_t &name)
Definition: JetAssociationBase.cxx:15
JetKeyConstants::AssoCat
static const key_t AssoCat
Index category for jet associations.
Definition: JetKeyDescriptor.h:90
JetAssociationBase::JetAssociationBase
JetAssociationBase()
Definition: JetAssociationBase.cxx:10
Analysis::ISvxAssociation::setVertexInfo
void setVertexInfo(const Trk::VxSecVertexInfo *)
Definition: ISvxAssociation.cxx:88
JetKeyDescriptorInstance::getKey
const key_t & getKey(const category_t &cat, size_t index) const
Definition: JetKeyDescriptor.cxx:161
INavigable
Definition: INavigable.h:18
JetAssociationBase
Definition: JetAssociationBase.h:21
Analysis::ISvxAssociation::ISvxAssociation
ISvxAssociation()
constructor
Definition: ISvxAssociation.cxx:34
Trk::VxSecVertexInfo
Definition: VxSecVertexInfo.h:63
JetAssociationBase::m_keyIndex
size_t m_keyIndex
Definition: JetAssociationBase.h:56
Analysis::ISvxAssociation::clone
virtual ISvxAssociation * clone() const
a clone method for the proper workings of the copy constructor
Definition: ISvxAssociation.cxx:63
JetAssociationBase::m_jetKeyDescr
JetKeyDescriptorInstance * m_jetKeyDescr
Definition: JetAssociationBase.h:57
JetKeyDescriptorInstance::getIndex
size_t getIndex(const category_t &cat, const key_t &key, bool createIfMissing=true)
Definition: JetKeyDescriptor.cxx:47
NameType
std::string NameType
Definition: JetINav4MomAssociation.h:29
JetAssociationBase::name
const name_t & name() const
Definition: JetAssociationBase.cxx:20