34 return std::fabs( v2.
angle(ref) -
angle(ref) );
44 if ( vperp.
mag2() == 0 ) {
45 std::cerr <<
"Hep3Vector::azimAngle() - "
46 <<
"Cannot find azimuthal angle with reference direction parallel to "
47 <<
"vector 1 -- will return zero" << std::endl;
52 if ( v2perp.
mag2() == 0 ) {
53 std::cerr <<
"Hep3Vector::azimAngle() - "
54 <<
"Cannot find azimuthal angle with reference direction parallel to "
55 <<
"vector 2 -- will return zero" << std::endl;
59 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