1 #ifndef HEP_EULERANGLES_H
2 #define HEP_EULERANGLES_H
19 #include "CLHEP/Vector/defs.h"
25 std::ostream &
operator<<(std::ostream & os,
const HepEulerAngles & aa);
26 std::istream &
operator>>(std::istream & is, HepEulerAngles & aa);
32 class HepEulerAngles {
50 inline double getPhi()
const;
51 inline double phi()
const;
55 inline double theta()
const;
58 inline double getPsi()
const;
59 inline double psi()
const;
67 inline int compare (
const EA & ea )
const;
85 friend std::ostream &
operator<<( std::ostream & os,
const EA & ea );
86 friend std::istream &
operator>>( std::istream & is,
EA & ea );
110 #define EULERANGLES_ICC
111 #include "CLHEP/Vector/EulerAngles.icc"
112 #undef EULERANGLES_ICC
114 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
116 using namespace CLHEP;
120 #endif // EULERANGLES_H
double distance(const HepEulerAngles &ex) const
bool operator>=(const EA &ea) const
bool operator>(const EA &ea) const
bool operator!=(const EA &ea) const
EA & set(double phi, double theta, double psi)
bool isNear(const EA &ea, double epsilon=tolerance) const
static double setTolerance(double tol)
friend std::ostream & operator<<(std::ostream &os, const EA &ea)
bool operator==(const EA &ea) const
int compare(const EA &ea) const
bool operator<=(const EA &ea) const
friend std::istream & operator>>(std::istream &is, EA &ea)
std::istream & operator>>(std::istream &is, HepAxisAngle &aa)
static double getTolerance()
double howNear(const EA &ea) const
std::ostream & operator<<(std::ostream &os, const HepAxisAngle &aa)
bool operator<(const EA &ea) const
CLHEP::HepEulerAngles EulerAngles
EA & setTheta(double theta)