Skip to content

xAODMissingET: convert enums to ATH_BITMASK

Frank Winklmeier requested to merge fwinkl/athena:xaodmet2 into main

Convert bitmask enums to ATH_BITMASK to profit from type safety and avoid deprecated-enum-enum-conversion compiler warning with C++20.

Since the underlying xAOD storage is still of type bitmask_t a few explicit casts are unavoidable. Changing that would be a much bigger change.

This will break clients that use these enum types as the name is now different. All code in the athena repository is fixed but I am not sure about the impact on user analysis code

Relates to ATLJETMET-1639.

Edited by Frank Winklmeier

Merge request reports

Loading