ATLAS Offline Software
ParticleShallowClone_p1.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // ParticleShallowClone_p1.h
8 // Header file for class ParticleShallowClone_p1
9 // Author: Karsten Koeneke
10 // Date: February 2013
12 #ifndef PARTICLEEVENTTPCNV_PARTICLESHALLOWCLONE_P1_H
13 #define PARTICLEEVENTTPCNV_PARTICLESHALLOWCLONE_P1_H
14 
15 // DataModelAthenaPool includes
17 
18 // EventCommonTPCnv includes
20 
21 // ParticleEventTPCnv includes
22 //#include "ParticleEventTPCnv/ParticleBase_p1.h"
23 
24 // forward declarations
26 
28 {
30  // Friend classes
32 
33  // Make the AthenaPoolCnv class our friend
35 
37  // Public methods:
39 public:
40 
44 
48 
50  // Private data:
52 private:
53 
56 
59 
62 
65 
69  float m_charge;
70 
71 
72 
73 };
74 
76 // Inline methods:
78 
80  : m_hasCharge(false),
81  m_charge(0)
82 {}
83 
84 #endif //> PARTICLEEVENTTPCNV_PARTICLESHALLOWCLONE_P1_H
ParticleShallowClone_p1::m_hasCharge
bool m_hasCharge
Switch to tell if this particle has a charge.
Definition: ParticleShallowClone_p1.h:64
ParticleShallowClone_p1::m_charge
float m_charge
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
Definition: ParticleShallowClone_p1.h:69
ParticleShallowClone_p1::~ParticleShallowClone_p1
~ParticleShallowClone_p1()=default
Destructor:
ParticleShallowClone_p1
Definition: ParticleShallowClone_p1.h:28
P4PxPyPzE_p1.h
ParticleShallowClone_p1::m_masterLink
ElementLinkInt_p3 m_masterLink
The persistent pointer (ElementLink) to the original "master" particle.
Definition: ParticleShallowClone_p1.h:58
ParticleShallowClone_p1::m_originLink
ElementLinkInt_p3 m_originLink
Persistent pointer (ElementLink) to the origin of this particle.
Definition: ParticleShallowClone_p1.h:61
ParticleShallowClone_p1::ParticleShallowClone_p1
ParticleShallowClone_p1()
Default constructor:
Definition: ParticleShallowClone_p1.h:79
P4PxPyPzE_p1
Definition: P4PxPyPzE_p1.h:23
ParticleShallowClone_p1::m_momentum
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition: ParticleShallowClone_p1.h:55
ParticleShallowCloneCnv_p1
Definition: ParticleShallowCloneCnv_p1.h:30