90 if ( newPhi <= -
Pi()|| newPhi >
Pi() ) {
116 if ( theta2 < 0 || theta2 >
Pi() ) {
154 os <<
"\n{phi(Z angle): " << e.
Phi() <<
" theta(Y angle): " << e.
Theta()
155 <<
" psi(X angle): " << e.
Psi() <<
"}\n";
Scalar Psi() const
Return Psi angle (X'' rotation angle)
Namespace for new ROOT classes and functions.
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
void Rectify()
Re-adjust components place angles in canonical ranges.
Rotation class with the (3D) rotation represented by angles describing first a rotation of an angle p...
Rotation class with the (3D) rotation represented by a unit quaternion (u, i, j, k).
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
RotationZYX()
Default constructor.
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
void Invert()
Invert a rotation in place.
EulerAngles class describing rotation as three angles (Euler Angles).
Scalar Theta() const
Return Theta angle (Y' rotation angle)
Namespace for new Math classes and functions.
void Invert()
Invert a rotation in place.
Scalar Phi() const
Return Phi angle (Z rotation angle)
Scalar Angle() const
Angle of rotation.