1 #ifndef Math_notmalizedPhi_h 2 #define Math_notmalizedPhi_h 17 return b+c1*std::round(c2*(a-b));
37 if (phi2<phi1) phi2+=
c1;
38 auto dphi =
std::min(maxDphi,0.5
f*(phi2-phi1));
39 auto phiA = phi1+dphi;
bool checkPhiInSymRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
bool checkPhiInRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))
Abs< T >::type abs(const T &t)