10 #ifndef SRC_INCLUDE_PDGCODE_CONSTANTS_H_ 11 #define SRC_INCLUDE_PDGCODE_CONSTANTS_H_ 28 constexpr
int p = 0x2212;
30 constexpr
int n = 0x2112;
55 constexpr
int Xi_z = 0x3322;
57 constexpr
int Xi_m = 0x3312;
62 constexpr
int pi_p = 0x211;
64 constexpr
int pi_z = 0x111;
66 constexpr
int pi_m = -0x211;
69 constexpr
int K_p = 0x321;
71 constexpr
int K_z = 0x311;
75 constexpr
int K_m = -0x321;
78 constexpr
int eta = 0x221;
90 constexpr
int h1 = 0x10223;
107 constexpr uint64_t
pack(int32_t x, int32_t y) {
108 return (static_cast<uint64_t>(static_cast<uint32_t>(x)) << 32) |
109 static_cast<uint64_t
>(
static_cast<uint32_t
>(y));
115 #endif // SRC_INCLUDE_PDGCODE_CONSTANTS_H_
constexpr uint64_t pack(int32_t x, int32_t y)
Pack two int32_t into an uint64_t.
constexpr int photon
Photon.
constexpr int invalid
Invalid particle.
constexpr int N1535_p
N(1535)⁺.
constexpr int h1
h₁(1170).
constexpr int decimal_d
Deuteron in decimal digits.
constexpr int Delta_pp
Δ⁺⁺.
constexpr int N1535_z
N(1535)⁰.
constexpr int decimal_antid
Anti-deuteron in decimal digits.