ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEventTPCnv
ParticleEventTPCnv
ParticleBase_p2.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
// ParticleBase_p2.h
8
// Header file for class ParticleBase_p2
9
// Author: K.Cranmer<cranmer@cern.ch>
10
// Author: S.Binet<binet@cern.ch>
12
#ifndef PARTICLEEVENTTPCNV_PARTICLEBASE_P2_H
13
#define PARTICLEEVENTTPCNV_PARTICLEBASE_P2_H
14
15
// STL includes
16
#include <vector>
17
18
// DataModelAthenaPool includes
19
#include "
DataModelAthenaPool/ElementLink_p3.h
"
20
#include "
DataModelAthenaPool/AthenaBarCode_p1.h
"
21
22
// Forward declaration
23
class
ParticleBaseCnv_p2
;
24
25
class
ParticleBase_p2
26
{
27
29
// Friend classes
31
32
// Make the AthenaPoolCnv class our friend
33
friend
class
ParticleBaseCnv_p2
;
34
36
// Public methods:
38
public
:
39
42
ParticleBase_p2
();
43
46
~ParticleBase_p2
() =
default
;
47
49
// Private data:
51
private
:
52
54
float
m_charge
;
55
57
bool
m_hasCharge
;
58
60
bool
m_hasPdgId
;
61
63
int
m_pdgId
;
64
66
int
m_dataType
;
67
69
ElementLinkInt_p3
m_origin
;
70
72
AthenaBarCode_p1
m_athenabarcode
;
73
74
};
75
76
#endif
//> PARTICLEEVENTTPCNV_PARTICLEBASE_P2_H
AthenaBarCode_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
AthenaBarCode_p1
Definition
AthenaBarCode_p1.h:10
ParticleBaseCnv_p2
Definition
ParticleBaseCnv_p2.h:30
ParticleBase_p2::ParticleBaseCnv_p2
friend class ParticleBaseCnv_p2
Definition
ParticleBase_p2.h:33
ParticleBase_p2::m_pdgId
int m_pdgId
ParticleDataGroup Id of the particle.
Definition
ParticleBase_p2.h:63
ParticleBase_p2::m_hasCharge
bool m_hasCharge
switch to know if the particle has charge informations
Definition
ParticleBase_p2.h:57
ParticleBase_p2::m_dataType
int m_dataType
type of data (see IParticle for more infos)
Definition
ParticleBase_p2.h:66
ParticleBase_p2::~ParticleBase_p2
~ParticleBase_p2()=default
Destructor:
ParticleBase_p2::m_athenabarcode
AthenaBarCode_p1 m_athenabarcode
athena barcode
Definition
ParticleBase_p2.h:72
ParticleBase_p2::m_hasPdgId
bool m_hasPdgId
switch to know if the particle has PDG Id informations
Definition
ParticleBase_p2.h:60
ParticleBase_p2::m_origin
ElementLinkInt_p3 m_origin
link to the particle's origin
Definition
ParticleBase_p2.h:69
ParticleBase_p2::ParticleBase_p2
ParticleBase_p2()
Default constructor:
Definition
ParticleBase_p2.cxx:24
ParticleBase_p2::m_charge
float m_charge
Charge of the particle.
Definition
ParticleBase_p2.h:54
Generated on
for ATLAS Offline Software by
1.17.0