11#include "CLHEP/Vector/defs.h"
12#include "CLHEP/Vector/ThreeVector.h"
13#include "CLHEP/Vector/ZMxpv.h"
32 return std::fabs( v2.
angle(ref) -
angle(ref) );
42 if ( vperp.
mag2() == 0 ) {
44 "Cannot find azimuthal angle with reference direction parallel to "
45 "vector 1 -- will return zero"));
50 if ( v2perp.
mag2() == 0 ) {
52 "Cannot find azimuthal angle with reference direction parallel to "
53 "vector 2 -- will return zero"));
57 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