ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEventTPCnv
ParticleEventTPCnv
ParticleShallowClone_p1.h
Go to the documentation of this file.
1
2
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
16
#include "
DataModelAthenaPool/ElementLink_p3.h
"
17
18
// EventCommonTPCnv includes
19
#include "
EventCommonTPCnv/P4PxPyPzE_p1.h
"
20
21
// ParticleEventTPCnv includes
22
//#include "ParticleEventTPCnv/ParticleBase_p1.h"
23
24
// forward declarations
25
class
ParticleShallowCloneCnv_p1
;
26
27
class
ParticleShallowClone_p1
28
{
30
// Friend classes
32
33
// Make the AthenaPoolCnv class our friend
34
friend
class
ParticleShallowCloneCnv_p1
;
35
37
// Public methods:
39
public
:
40
43
ParticleShallowClone_p1
();
44
47
~ParticleShallowClone_p1
() =
default
;
48
50
// Private data:
52
private
:
53
55
P4PxPyPzE_p1
m_momentum
;
56
58
ElementLinkInt_p3
m_masterLink
;
59
61
ElementLinkInt_p3
m_originLink
;
62
64
bool
m_hasCharge
;
65
69
float
m_charge
;
70
71
72
73
};
74
76
// Inline methods:
78
79
inline
ParticleShallowClone_p1::ParticleShallowClone_p1
()
80
:
m_hasCharge
(false),
81
m_charge
(0)
82
{}
83
84
#endif
//> PARTICLEEVENTTPCNV_PARTICLESHALLOWCLONE_P1_H
ElementLink_p3.h
This file contains the class definition for the ElementLink_p3 class.
ElementLinkInt_p3
ElementLink_p3< uint32_t > ElementLinkInt_p3
Definition
ElementLink_p3.h:35
P4PxPyPzE_p1.h
P4PxPyPzE_p1
Definition
P4PxPyPzE_p1.h:23
ParticleShallowCloneCnv_p1
Definition
ParticleShallowCloneCnv_p1.h:30
ParticleShallowClone_p1::m_masterLink
ElementLinkInt_p3 m_masterLink
The persistent pointer (ElementLink) to the original "master" particle.
Definition
ParticleShallowClone_p1.h:58
ParticleShallowClone_p1::ParticleShallowCloneCnv_p1
friend class ParticleShallowCloneCnv_p1
Definition
ParticleShallowClone_p1.h:34
ParticleShallowClone_p1::m_momentum
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition
ParticleShallowClone_p1.h:55
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::m_hasCharge
bool m_hasCharge
Switch to tell if this particle has a charge.
Definition
ParticleShallowClone_p1.h:64
ParticleShallowClone_p1::~ParticleShallowClone_p1
~ParticleShallowClone_p1()=default
Destructor:
ParticleShallowClone_p1::ParticleShallowClone_p1
ParticleShallowClone_p1()
Default constructor:
Definition
ParticleShallowClone_p1.h:79
ParticleShallowClone_p1::m_originLink
ElementLinkInt_p3 m_originLink
Persistent pointer (ElementLink) to the origin of this particle.
Definition
ParticleShallowClone_p1.h:61
Generated on
for ATLAS Offline Software by
1.17.0