78 Scalar bp2 = bx*bx + by*by + bz*bz;
81 "Beta Vector supplied to set Boost represents speed >= c");
87 fM[
kXX] = 1.0 + bgamma * bx * bx;
88 fM[
kYY] = 1.0 + bgamma * by * by;
89 fM[
kZZ] = 1.0 + bgamma * bz * bz;
90 fM[
kXY] = bgamma * bx * by;
91 fM[
kXZ] = bgamma * bx * bz;
92 fM[
kYZ] = bgamma * by * bz;
131 "Attempt to rectify a boost with non-positive gamma");
136 if (
beta.mag2() >= 1 ) {
137 beta /= (
beta.R() * ( 1.0 + 1.0e-16 ) );
177 b.GetLorentzRotation(
m);
178 os <<
"\n" <<
m[0] <<
" " <<
m[1] <<
" " <<
m[2] <<
" " <<
m[3];
179 os <<
"\n" <<
"\t" <<
" " <<
m[5] <<
" " <<
m[6] <<
" " <<
m[7];
180 os <<
"\n" <<
"\t" <<
" " <<
"\t" <<
" " <<
m[10] <<
" " <<
m[11];
181 os <<
"\n" <<
"\t" <<
" " <<
"\t" <<
" " <<
"\t" <<
" " <<
m[15] <<
"\n";
Lorentz boost class with the (4D) transformation represented internally by a 4x4 orthosymplectic matr...
void GetLorentzRotation(Scalar r[]) const
Get elements of internal 4x4 symmetric representation, into a data array suitable for direct use as t...
void Invert()
Invert a Boost in place.
void SetComponents(Scalar beta_x, Scalar beta_y, Scalar beta_z)
Set components from beta_x, beta_y, and beta_z.
Boost Inverse() const
Return inverse of a boost.
LorentzVector< ROOT::Math::PxPyPzE4D< double > > operator()(const LorentzVector< ROOT::Math::PxPyPzE4D< double > > &v) const
Lorentz transformation operation on a Minkowski ('Cartesian') LorentzVector.
void Rectify()
Re-adjust components to eliminate small deviations from a perfect orthosyplectic matrix.
void GetComponents(Scalar &beta_x, Scalar &beta_y, Scalar &beta_z) const
Get components into beta_x, beta_y, and beta_z.
XYZVector BetaVector() const
Class describing a generic displacement vector in 3 dimensions.
Class describing a 4D cartesian coordinate system (x, y, z, t coordinates) or momentum-energy vectors...
double beta(double x, double y)
Calculates the beta function.
Namespace for new Math classes and functions.
void Throw(const char *)
function throwing exception, by creating internally a GenVector_exception only when needed
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.