30 return std::fabs( v2.
angle(ref) -
angle(ref) );
40 if ( vperp.
mag2() == 0 ) {
41 std::cerr <<
"Hep3Vector::azimAngle() - "
42 <<
"Cannot find azimuthal angle with reference direction parallel to "
43 <<
"vector 1 -- will return zero" << std::endl;
48 if ( v2perp.
mag2() == 0 ) {
49 std::cerr <<
"Hep3Vector::azimAngle() - "
50 <<
"Cannot find azimuthal angle with reference direction parallel to "
51 <<
"vector 2 -- will return zero" << std::endl;
55 double ang = vperp.
angle(v2perp);
double azimAngle(const Hep3Vector &v2) const
Hep3Vector cross(const Hep3Vector &) const
double angle(const Hep3Vector &) const
double dot(const Hep3Vector &) const
Hep3Vector perpPart() const
double polarAngle(const Hep3Vector &v2) const