[ATR-27941] gcc13 warning for TrigGlobEfficiencyCorrectionTool
Not really a fix because the new code should be equivalent... but the warnings disappear.
Also unrelated tweaks: added a few constexpr where allowed by C++17, and also included explicitly a missing header.
Closes ATR-27941