Provide particle properties that depend only on its type. More...
#include "utl/ParticleProperties.h"
Public Member Functions | |
virtual double | GetMass () const override |
Get particle mass (in Auger units) More... | |
virtual std::string | GetName () const override |
Get particle name. More... | |
virtual int | GetType () const override |
Get particle type (using PDG particle codes) More... | |
ParticleProperties (const int type, const std::string &name, const double mass) | |
Private Attributes | |
double | fMass = 0 |
std::string | fName |
int | fType = 0 |
Particle type ID (PDG types) More... | |
Provide particle properties that depend only on its type.
Definition at line 19 of file ParticleProperties.h.
|
inline |
Definition at line 22 of file ParticleProperties.h.
|
inlineoverridevirtual |
Get particle mass (in Auger units)
Implements utl::VParticleProperties.
Definition at line 34 of file ParticleProperties.h.
References fMass.
|
inlineoverridevirtual |
Get particle name.
Implements utl::VParticleProperties.
Definition at line 31 of file ParticleProperties.h.
References fName.
|
inlineoverridevirtual |
Get particle type (using PDG particle codes)
Implements utl::VParticleProperties.
Definition at line 28 of file ParticleProperties.h.
References fType.
|
private |
Definition at line 40 of file ParticleProperties.h.
Referenced by GetMass().
|
private |
Definition at line 39 of file ParticleProperties.h.
Referenced by GetName().
|
private |
Particle type ID (PDG types)
Definition at line 38 of file ParticleProperties.h.
Referenced by GetType().