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