ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22// Forward declaration
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
64
67
70
73
74};
75
77// Inline methods:
79
80#endif //> PARTICLEEVENTTPCNV_PARTICLEBASE_P1_H
AthenaBarCode_p1 m_athenabarcode
athena barcode
bool m_hasPdgId
switch to know if the particle has PDG Id informations
float m_charge
Charge of the particle.
friend class ParticleBaseCnv_p1
ElementLinkInt_p1 m_origin
link to the particle's origin
int m_pdgId
ParticleDataGroup Id of the particle.
int m_dataType
type of data (see IParticle for more infos)
ParticleBase_p1()
Default constructor:
bool m_hasCharge
switch to know if the particle has charge informations
~ParticleBase_p1()=default
Destructor: