ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleBase_p1.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_p1.cxx
8// Implementation file for class ParticleBase_p1
9// Author: S.Binet<binet@cern.ch>
11
12
13// ParticleEventTPCnv includes
15
17// Public methods:
19
20// Constructors
22
23// Need to initialize these to handle the case where an instance of this
24// is added to another _p class.
26 : m_charge (0),
27 m_hasCharge (false),
28 m_pdgId (0),
29 m_hasPdgId (false),
30 m_dataType (0)
31{
32}
bool m_hasPdgId
switch to know if the particle has PDG Id informations
float m_charge
Charge of the particle.
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