194#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
195 GenVector_Throw(
"LorentzRotation:Rectify(): Non-positive TT component - cannot rectify");
202#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
203 GenVector_Throw(
"LorentzRotation:Rectify(): Non-timelike time row - cannot rectify");
209 z = z - z.Dot(t) * t;
212#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
213 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike Z row projection - "
220 y =
y -
y.Dot(t) * t -
y.Dot(z) * z;
223#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
224 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike Y row projection - "
231 x =
x -
x.Dot(t) * t -
x.Dot(z) * z -
x.Dot(
y) *
y;
234#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
235 GenVector_Throw(
"LorentzRotation:Rectify(): Non-spacelike X row projection - "
270 return LorentzRotation(
fM[
kXX],
fM[
kYX],
fM[
kZX], -
fM[
kTX],
fM[
kXY],
fM[
kYY],
fM[
kZY], -
fM[
kTY],
fM[
kXZ],
fM[
kYZ],
295#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
302 r.GetComponents(
m,
m + 16);
303 os <<
"\n" <<
m[0] <<
" " <<
m[1] <<
" " <<
m[2] <<
" " <<
m[3];
304 os <<
"\n" <<
m[4] <<
" " <<
m[5] <<
" " <<
m[6] <<
" " <<
m[7];
305 os <<
"\n" <<
m[8] <<
" " <<
m[9] <<
" " <<
m[10] <<
" " <<
m[11];
306 os <<
"\n" <<
m[12] <<
" " <<
m[13] <<
" " <<
m[14] <<
" " <<
m[15] <<
"\n";
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
EulerAngles class describing rotation as three angles (Euler Angles).
Lorentz transformation class with the (4D) transformation represented by a 4x4 orthosymplectic matrix...
LorentzRotation Inverse() const
Return inverse of a rotation.
LorentzRotation()
Default constructor (identity transformation)
void Rectify()
Re-adjust components to eliminate small deviations from a perfect orthosyplectic matrix.
void Invert()
Invert a Lorentz rotation in place.
A4Vector operator*(const A4Vector &v) const
Overload operator * for rotation on a vector.
Rotation class with the (3D) rotation represented by a unit quaternion (u, i, j, k).
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
void GenVector_Throw(const char *)
function throwing exception, by creating internally a GenVector_exception only when needed
Scalar math_sqrt(Scalar x)
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.