Skip to content

Commit 0ba6258

Browse files
committed
Rename enum
1 parent 9b2fb5d commit 0ba6258

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Common/Constants/include/CommonConstants/PhysicsConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace o2::constants::physics
3030
/// \brief Declarations of named PDG codes of particles missing in ROOT PDG_t
3131
/// \note Follow kCamelCase naming convention
3232
/// \link https://root.cern/doc/master/TPDGCode_8h.html
33-
enum Code {
33+
enum Pdg {
3434
kB0 = 511,
3535
kB0Bar = -511,
3636
kBPlus = 521,

Common/Constants/include/CommonConstants/make_pdg_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def declare_mass(pdg, type="double") -> str:
149149
str_enum_head = """/// \\brief Declarations of named PDG codes of particles missing in ROOT PDG_t
150150
/// \\note Follow kCamelCase naming convention
151151
/// \\link https://root.cern/doc/master/TPDGCode_8h.html
152-
enum Code {
152+
enum Pdg {
153153
"""
154154
# End of enum declarations of additional particles
155155
str_enum_foot = "};\n"

0 commit comments

Comments
 (0)