17 #ifndef ROOT_Math_GenVector_Boost
18 #define ROOT_Math_GenVector_Boost 1
82 template <
class Avector>
115 for (
unsigned int i=0; i < 10; ++i) {
154 template <
class Avector>
169 IT
a = begin; IT b = ++begin; IT
c = ++begin;
184 IT
a = begin; IT b = ++begin; IT
c = ++begin;
230 template <
class CoordSystem>
243 template <
class Foreign4Vector>
248 return Foreign4Vector ( r_xyzt.
X(), r_xyzt.
Y(), r_xyzt.
Z(), r_xyzt.
T() );
254 template <
class A4Vector>
275 for (
unsigned int i=0; i < 10; ++i) {
276 if(
fM[i] != rhs.
fM[i] )
return false;
Class describing a generic LorentzVector in the 4D space-time, using the specified coordinate system ...
void GetComponents(Scalar &beta_x, Scalar &beta_y, Scalar &beta_z) const
Get components into beta_x, beta_y, and beta_z.
Boost Inverse() const
Return inverse of a boost.
DisplacementVector3D< Cartesian3D< double >, DefaultCoordinateSystemTag > XYZVector
The beta vector for this boost.
void SetComponents(const Avector &beta)
Set components from a beta vector.
void Rectify()
Re-adjust components to eliminate small deviations from a perfect orthosyplectic matrix.
XYZVector BetaVector() const
Boost & operator=(Boost const &rhs)
Assignment operator.
void SetComponents(Scalar beta_x, Scalar beta_y, Scalar beta_z)
Set components from beta_x, beta_y, and beta_z.
A4Vector operator*(const A4Vector &v) const
Overload operator * for boost on a vector.
void GetComponents(IT begin, IT end) const
Get given a pair of pointers or iterators defining the beginning and end of an array of three Scalars...
Class representing a Lorentz Boost along the X axis, by beta.
double beta(double x, double y)
Calculates the beta function.
void GetLorentzRotation(Scalar r[]) const
Get elements of internal 4x4 symmetric representation, into a data array suitable for direct use as t...
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
XYZVector BetaVector() const
Lorentz boost class with the (4D) transformation represented internally by a 4x4 orthosymplectic matr...
ELorentzRotationMatrixIndex
bool operator==(const Boost &rhs) const
Equality/inequality operators.
Boost(Scalar beta_x, Scalar beta_y, Scalar beta_z)
Construct given a three Scalars beta_x, beta_y, and beta_z.
Boost & operator=(BoostX const &bx)
Assign from an axial pure boost.
Boost & operator=(BoostY const &by)
Boost(const Avector &beta)
Construct given a beta vector (which must have methods x(), y(), z())
Class representing a Lorentz Boost along the Y axis, by beta.
Class describing a generic displacement vector in 3 dimensions.
bool operator!=(const Boost &rhs) const
Boost(BoostX const &bx)
Construct from an axial boost.
Class representing a Lorentz Boost along the Z axis, by beta.
void GetComponents(IT begin) const
Get given a pointer or an iterator defining the beginning of an array into which to place beta_x...
Boost(IT begin, IT end)
Construct given a pair of pointers or iterators defining the beginning and end of an array of three S...
XYZVector BetaVector() const
Boost & operator=(BoostZ const &bz)
void Invert()
Invert a Boost in place.
XYZVector BetaVector() const
void SetComponents(IT begin, IT end)
Set given a pair of pointers or iterators defining the beginning and end of an array of three Scalars...
LorentzVector< ROOT::Math::PxPyPzE4D< double > > operator()(const LorentzVector< ROOT::Math::PxPyPzE4D< double > > &v) const
Lorentz transformation operation on a Minkowski ('Cartesian') LorentzVector.
DefaultCoordinateSystemTag Default tag for identifying any coordinate system.
Boost()
Default constructor (identity transformation)
Boost(Boost const &b)
copy constructor