Celeritas 0.7+9a7f6a5
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
PDGNumber.hh File Reference
#include <cstddef>
#include <functional>
#include "corecel/Assert.hh"

Classes

class  celeritas::PDGNumber
 Type-safe particle identifier. More...
 

Namespaces

namespace  celeritas::pdg
 Unique standard model particle identifiers by the Particle Data Group.
 

Macros

#define CELER_DEFINE_PDGNUMBER(NAME, VALUE)
 

Macro Definition Documentation

◆ CELER_DEFINE_PDGNUMBER

#define CELER_DEFINE_PDGNUMBER (   NAME,
  VALUE 
)
Value:
inline constexpr PDGNumber NAME() \
{ \
return PDGNumber{VALUE}; \
}
Todo:
replace with inline constexpr value.