Skip to content


Shaun Roe requested to merge sroe/athena:22.0-coverity-TrkExUtils into master

Fix coverity 12166: Trk::ParticleMasses.mass can be constexpr variable in namespace Trk::ParticleMasses, no need to instantiate a struct to get the masses. Also used cmath math functions (sqrt -> std::sqrt etc.) This grew; the ParticleMasses are used in many places. Decided to be consistent by adopting the same strategy for ParticleSwitcher, so finally affects many packages with small changes.

Edited by Shaun Roe

Merge request reports