ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
AthExFatObject Class Reference

#include <AthExFatObject.h>

Collaboration diagram for AthExFatObject:

Public Types

typedef ElementLink< AthExParticlesAthExParticleLink_t
 

Public Member Functions

 AthExFatObject ()
 Default constructor: More...
 
 AthExFatObject (const AthExFatObject &rhs)
 Copy constructor: More...
 
AthExFatObjectoperator= (const AthExFatObject &rhs)
 Assignment operator: More...
 
 AthExFatObject (const ElementLink< AthExParticles > &particle)
 Constructor with parameters: More...
 
virtual ~AthExFatObject ()
 Destructor: More...
 
const AthExParticleparticle () const
 raw pointer access More...
 
const AthExParticleLink_tparticleLink () const
 element link access More...
 
void setLink (const AthExParticleLink_t &link)
 set the internals of the fat object More...
 

Private Attributes

const AthExParticlem_particle
 a raw pointer to an AthExParticle More...
 
AthExParticleLink_t m_particleLink
 a persistable pointer to an AthExParticle More...
 

Friends

class AthExFatObjectSlimmer
 
class AthExFatObjectCnv_p1
 

Detailed Description

Definition at line 28 of file AthExFatObject.h.

Member Typedef Documentation

◆ AthExParticleLink_t

Definition at line 40 of file AthExFatObject.h.

Constructor & Destructor Documentation

◆ AthExFatObject() [1/3]

AthExFatObject::AthExFatObject ( )

Default constructor:

Definition at line 26 of file AthExFatObject.cxx.

26  :
27  m_particle (0),
29 {}

◆ AthExFatObject() [2/3]

AthExFatObject::AthExFatObject ( const AthExFatObject rhs)

Copy constructor:

Definition at line 31 of file AthExFatObject.cxx.

31  :
32  m_particle (rhs.m_particle),
34 {}

◆ AthExFatObject() [3/3]

AthExFatObject::AthExFatObject ( const ElementLink< AthExParticles > &  particle)

Constructor with parameters:

Definition at line 46 of file AthExFatObject.cxx.

46  :
47  m_particle (*link),
48  m_particleLink (link)
49 {}

◆ ~AthExFatObject()

AthExFatObject::~AthExFatObject ( )
virtual

Destructor:

Definition at line 53 of file AthExFatObject.cxx.

54 {
55  m_particle = 0;
56 }

Member Function Documentation

◆ operator=()

AthExFatObject & AthExFatObject::operator= ( const AthExFatObject rhs)

Assignment operator:

Definition at line 37 of file AthExFatObject.cxx.

38 {
39  if (this != &rhs) {
40  m_particle = rhs.m_particle;
42  }
43  return *this;
44 }

◆ particle()

const AthExParticle* AthExFatObject::particle ( ) const
inline

raw pointer access

Definition at line 68 of file AthExFatObject.h.

68 { return m_particle; }

◆ particleLink()

const AthExParticleLink_t& AthExFatObject::particleLink ( ) const
inline

element link access

Definition at line 72 of file AthExFatObject.h.

72 { return m_particleLink; }

◆ setLink()

void AthExFatObject::setLink ( const AthExParticleLink_t link)

set the internals of the fat object

Definition at line 63 of file AthExFatObject.cxx.

64 {
65  m_particle = *link;
66  m_particleLink = link;
67 }

Friends And Related Function Documentation

◆ AthExFatObjectCnv_p1

friend class AthExFatObjectCnv_p1
friend

Definition at line 34 of file AthExFatObject.h.

◆ AthExFatObjectSlimmer

friend class AthExFatObjectSlimmer
friend

Definition at line 31 of file AthExFatObject.h.

Member Data Documentation

◆ m_particle

const AthExParticle* AthExFatObject::m_particle
private

a raw pointer to an AthExParticle

Definition at line 89 of file AthExFatObject.h.

◆ m_particleLink

AthExParticleLink_t AthExFatObject::m_particleLink
private

a persistable pointer to an AthExParticle

Definition at line 93 of file AthExFatObject.h.


The documentation for this class was generated from the following files:
AthExFatObject::m_particleLink
AthExParticleLink_t m_particleLink
a persistable pointer to an AthExParticle
Definition: AthExFatObject.h:93
AthExFatObject::m_particle
const AthExParticle * m_particle
a raw pointer to an AthExParticle
Definition: AthExFatObject.h:89