ATLAS Offline Software
ParticleBase_p2.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_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
21 
22 // Forward declaration
23 class ParticleBaseCnv_p2;
24 
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 
43 
46  ~ParticleBase_p2() = default;
47 
49  // Private data:
51  private:
52 
54  float m_charge;
55 
58 
60  bool m_hasPdgId;
61 
63  int m_pdgId;
64 
67 
70 
73 
74 };
75 
76 #endif //> PARTICLEEVENTTPCNV_PARTICLEBASE_P2_H
ParticleBase_p2::m_dataType
int m_dataType
type of data (see IParticle for more infos)
Definition: ParticleBase_p2.h:66
ParticleBase_p2::m_athenabarcode
AthenaBarCode_p1 m_athenabarcode
athena barcode
Definition: ParticleBase_p2.h:72
ParticleBase_p2::~ParticleBase_p2
~ParticleBase_p2()=default
Destructor:
ParticleBase_p2::m_hasCharge
bool m_hasCharge
switch to know if the particle has charge informations
Definition: ParticleBase_p2.h:57
ParticleBase_p2::ParticleBase_p2
ParticleBase_p2()
Default constructor:
Definition: ParticleBase_p2.cxx:24
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_pdgId
int m_pdgId
ParticleDataGroup Id of the particle.
Definition: ParticleBase_p2.h:63
ParticleBase_p2::m_origin
ElementLinkInt_p3 m_origin
link to the particle's origin
Definition: ParticleBase_p2.h:69
ParticleBase_p2::m_charge
float m_charge
Charge of the particle.
Definition: ParticleBase_p2.h:54
AthenaBarCode_p1.h
AthenaBarCode_p1
Definition: AthenaBarCode_p1.h:10
ParticleBase_p2
Definition: ParticleBase_p2.h:26
ParticleBaseCnv_p2
Definition: ParticleBaseCnv_p2.h:30