ATLAS Offline Software
AthExFatObject.cxx
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // AthExFatObject.cxx
8 // Implementation file for class AthExFatObject
9 // Author: S.Binet<binet@cern.ch>
11 
12 // AthExThinning includes
14 
15 // STL includes
16 
17 
19 
21 // Public methods:
23 
24 // Constructors
27  m_particle (0),
28  m_particleLink()
29 {}
30 
32  m_particle (rhs.m_particle),
33  m_particleLink (rhs.m_particleLink)
34 {}
35 
38 {
39  if (this != &rhs) {
40  m_particle = rhs.m_particle;
42  }
43  return *this;
44 }
45 
47  m_particle (*link),
48  m_particleLink (link)
49 {}
50 
51 // Destructor
54 {
55  m_particle = 0;
56 }
57 
59 // Non-const methods:
61 
62 void
64 {
65  m_particle = *link;
66  m_particleLink = link;
67 }
AthExFatObject::AthExFatObject
AthExFatObject()
Default constructor:
Definition: AthExFatObject.cxx:26
AthExParticleLink_t
AthExFatObject::AthExParticleLink_t AthExParticleLink_t
Definition: AthExFatObject.cxx:18
AthExFatObject.h
AthExFatObject::~AthExFatObject
virtual ~AthExFatObject()
Destructor:
Definition: AthExFatObject.cxx:53
AthExFatObject::operator=
AthExFatObject & operator=(const AthExFatObject &rhs)
Assignment operator:
Definition: AthExFatObject.cxx:37
AthExFatObject::m_particleLink
AthExParticleLink_t m_particleLink
a persistable pointer to an AthExParticle
Definition: AthExFatObject.h:93
AthExFatObject::setLink
void setLink(const AthExParticleLink_t &link)
set the internals of the fat object
Definition: AthExFatObject.cxx:63
AthExFatObject
Definition: AthExFatObject.h:29
AthExFatObject::m_particle
const AthExParticle * m_particle
a raw pointer to an AthExParticle
Definition: AthExFatObject.h:89