Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::PdgTable Class Reference

PdgTable class. More...

#include "PdgTable.h"

Static Public Member Functions

static ParticleType GetParticleType (const int pdgCode)
 Get the particle type for a given pdg code.
 
static std::string GetParticleName (const int pdgCode)
 Get the name of a particle type as a string.
 
static int GetParticlePdgCode (const int pdgCode)
 Get the pdg code of a particle type.
 
static float GetParticleMass (const int pdgCode)
 Get the mass of a particle type.
 
static float GetParticleWidth (const int pdgCode)
 Get the width of a particle type.
 
static int GetParticleCharge (const int pdgCode)
 Get the charge of a particle type.
 

Detailed Description

PdgTable class.

Definition at line 112 of file PdgTable.h.

Member Function Documentation

◆ GetParticleCharge()

int pandora::PdgTable::GetParticleCharge ( const int  pdgCode)
inlinestatic

Get the charge of a particle type.

Parameters
pdgCodethe pdg code (or particle type)
Returns
the charge

Definition at line 227 of file PdgTable.h.

Here is the caller graph for this function:

◆ GetParticleMass()

float pandora::PdgTable::GetParticleMass ( const int  pdgCode)
inlinestatic

Get the mass of a particle type.

Parameters
pdgCodethe pdg code (or particle type)
Returns
the mass

Definition at line 205 of file PdgTable.h.

Here is the caller graph for this function:

◆ GetParticleName()

std::string pandora::PdgTable::GetParticleName ( const int  pdgCode)
inlinestatic

Get the name of a particle type as a string.

Parameters
pdgCodethe pdg code (or particle type)
Returns
the name

Definition at line 183 of file PdgTable.h.

Here is the caller graph for this function:

◆ GetParticlePdgCode()

int pandora::PdgTable::GetParticlePdgCode ( const int  pdgCode)
inlinestatic

Get the pdg code of a particle type.

Parameters
pdgCodethe pdg code (or particle type)
Returns
the name

Definition at line 194 of file PdgTable.h.

◆ GetParticleType()

ParticleType pandora::PdgTable::GetParticleType ( const int  pdgCode)
inlinestatic

Get the particle type for a given pdg code.

Parameters
pdgCodethe pdg code
Returns
the particle type

Definition at line 172 of file PdgTable.h.

◆ GetParticleWidth()

float pandora::PdgTable::GetParticleWidth ( const int  pdgCode)
inlinestatic

Get the width of a particle type.

Parameters
pdgCodethe pdg code (or particle type)
Returns
the width

Definition at line 216 of file PdgTable.h.


The documentation for this class was generated from the following file: