ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleBase_p2.cxx
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// ParticleBase_p2.cxx
8// Implementation file for class ParticleBase_p2
9// Author: S.Binet<binet@cern.ch>
11
12// ParticleEventTPCnv includes
14
16// Public methods:
18
19// Constructors
21
22// Need to initialize these to handle the case where an instance of this
23// is added to another _p class.
25 : m_charge (0),
26 m_hasCharge (false),
27 m_hasPdgId (false),
28 m_pdgId (0),
29 m_dataType (0)
30{
31}
int m_pdgId
ParticleDataGroup Id of the particle.
bool m_hasCharge
switch to know if the particle has charge informations
int m_dataType
type of data (see IParticle for more infos)
bool m_hasPdgId
switch to know if the particle has PDG Id informations
ParticleBase_p2()
Default constructor:
float m_charge
Charge of the particle.