ATLAS Offline Software
ParticleBase_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 // 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
21 
22 // Forward declaration
23 class ParticleBaseCnv_p1;
24 
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 
43 
46  ~ParticleBase_p1() = default;
47 
49  // Private data:
51  private:
52 
55 
57  float m_charge;
58 
61 
63  int m_pdgId;
64 
66  bool m_hasPdgId;
67 
70 
73 
74 };
75 
77 // Inline methods:
79 
80 #endif //> PARTICLEEVENTTPCNV_PARTICLEBASE_P1_H
ParticleBase_p1::~ParticleBase_p1
~ParticleBase_p1()=default
Destructor:
ParticleBase_p1
Definition: ParticleBase_p1.h:26
ParticleBase_p1::m_origin
ElementLinkInt_p1 m_origin
link to the particle's origin
Definition: ParticleBase_p1.h:54
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 constructor:
Definition: ParticleBase_p1.cxx:25
ParticleBaseCnv_p1
Definition: ParticleBaseCnv_p1.h:30
ParticleBase_p1::m_hasPdgId
bool m_hasPdgId
switch to know if the particle has PDG Id informations
Definition: ParticleBase_p1.h:66
AthenaBarCode_p1.h
AthenaBarCode_p1
Definition: AthenaBarCode_p1.h:10
ParticleBase_p1::m_athenabarcode
AthenaBarCode_p1 m_athenabarcode
athena barcode
Definition: ParticleBase_p1.h:72
ParticleBase_p1::m_charge
float m_charge
Charge of the particle.
Definition: ParticleBase_p1.h:57
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