![]() |
ATLAS Offline Software
|
Helper for azimuthal angle calculations. More...
#include <cmath>#include <type_traits>Go to the source code of this file.
Namespaces | |
| CxxUtils | |
Functions | |
| template<typename T > | |
| T | CxxUtils::wrapToPi (T phi) |
| Wrap angle in radians to [-pi, pi]. More... | |
| template<typename T > | |
| T | CxxUtils::deltaPhi (T phiA, T phiB) |
| Return difference phiA - phiB in range [-pi, pi]. More... | |
| template<typename T > | |
| T | CxxUtils::phiMean (T phiA, T phiB) |
| Calculate average of two angles. More... | |
| template<typename T > | |
| T | CxxUtils::phiBisect (T phiA, T phiB) |
| Bisect (average) the angle spanned by phiA and phiB. More... | |
1.8.18