1 #ifndef _ValidationUtil_h_
2 #define _ValidationUtil_h_
10 Angle(
const double theta1,
const double phi1,
11 const double theta2,
const double phi2)
14 a.SetMagThetaPhi(1, theta1, phi1);
16 b.SetMagThetaPhi(1, theta2, phi2);
17 return 2*std::asin(0.5 * (a - b).Mag());
25 return std::fabs(2 * (a - b) / (a + b));
double Angle(const double theta1, const double phi1, const double theta2, const double phi2)
double RelativeError(const double a, const double b)