Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
PdgTable.h File Reference
#include "Pandora/StatusCodes.h"
#include <string>
Include dependency graph for PdgTable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pandora::PdgTable
 PdgTable class. More...
 

Namespaces

namespace  pandora
 

Macros

#define PARTICLE_DATA_TABLE(d)
 
#define GET_PARTICLE_TYPE_ENTRY(a, b, c, d, e)    a = b,
 The particle type enum macro.
 
#define GET_PARTICLE_TYPE_SWITCH(a, b, c, d, e)    case b : return a;
 The particle type switch statement macro.
 
#define GET_PARTICLE_NAME_SWITCH(a, b, c, d, e)    case a : return std::string(#a);
 The name switch statement macro.
 
#define GET_PARTICLE_PDG_CODE_SWITCH(a, b, c, d, e)    case a : return b;
 The pdg code switch statement macro.
 
#define GET_PARTICLE_MASS_SWITCH(a, b, c, d, e)    case a : return c;
 The mass switch statement macro.
 
#define GET_PARTICLE_WIDTH_SWITCH(a, b, c, d, e)    case a : return d;
 The width switch statement macro.
 
#define GET_PARTICLE_CHARGE_SWITCH(a, b, c, d, e)    case a : return e;
 The charge switch statement macro.
 

Enumerations

enum  pandora::ParticleType { pandora::UNKNOWN_PARTICLE_TYPE = 0 }
 The particle type enum. More...
 

Macro Definition Documentation

◆ GET_PARTICLE_CHARGE_SWITCH

#define GET_PARTICLE_CHARGE_SWITCH (   a,
  b,
  c,
  d,
 
)     case a : return e;

The charge switch statement macro.

Definition at line 94 of file PdgTable.h.

◆ GET_PARTICLE_MASS_SWITCH

#define GET_PARTICLE_MASS_SWITCH (   a,
  b,
  c,
  d,
 
)     case a : return c;

The mass switch statement macro.

Definition at line 82 of file PdgTable.h.

◆ GET_PARTICLE_NAME_SWITCH

#define GET_PARTICLE_NAME_SWITCH (   a,
  b,
  c,
  d,
 
)     case a : return std::string(#a);

The name switch statement macro.

Definition at line 70 of file PdgTable.h.

◆ GET_PARTICLE_PDG_CODE_SWITCH

#define GET_PARTICLE_PDG_CODE_SWITCH (   a,
  b,
  c,
  d,
 
)     case a : return b;

The pdg code switch statement macro.

Definition at line 76 of file PdgTable.h.

◆ GET_PARTICLE_TYPE_ENTRY

#define GET_PARTICLE_TYPE_ENTRY (   a,
  b,
  c,
  d,
 
)     a = b,

The particle type enum macro.

Definition at line 58 of file PdgTable.h.

◆ GET_PARTICLE_TYPE_SWITCH

#define GET_PARTICLE_TYPE_SWITCH (   a,
  b,
  c,
  d,
 
)     case b : return a;

The particle type switch statement macro.

Definition at line 64 of file PdgTable.h.

◆ GET_PARTICLE_WIDTH_SWITCH

#define GET_PARTICLE_WIDTH_SWITCH (   a,
  b,
  c,
  d,
 
)     case a : return d;

The width switch statement macro.

Definition at line 88 of file PdgTable.h.

◆ PARTICLE_DATA_TABLE

#define PARTICLE_DATA_TABLE (   d)

Definition at line 19 of file PdgTable.h.