17 #ifndef ROOT_Math_GenVector_Boost 18 #define ROOT_Math_GenVector_Boost 1 76 Boost(Scalar beta_x, Scalar beta_y, Scalar beta_z)
82 template <
class Avector>
115 for (
unsigned int i=0; i < 10; ++i) {
149 GetComponents (Scalar& beta_x, Scalar& beta_y, Scalar& beta_z)
const;
154 template <
class Avector>
169 IT
a = begin; IT
b = ++begin; IT c = ++begin;
170 assert (++begin==end);
184 IT
a = begin; IT
b = ++begin; IT c = ++begin;
185 assert (++begin==end);
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 ...
DisplacementVector3D< Cartesian3D< double >, DefaultCoordinateSystemTag > XYZVector
The beta vector for this boost.
XYZVector BetaVector() const
Namespace for new ROOT classes and functions.
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...
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.
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.
bool operator!=(const Boost &rhs) const
Class representing a Lorentz Boost along the X axis, by beta.
double beta(double x, double y)
Calculates the beta function.
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
Lorentz boost class with the (4D) transformation represented internally by a 4x4 orthosymplectic matr...
ELorentzRotationMatrixIndex
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.
XYZVector BetaVector() const
Boost & operator=(BoostY const &by)
Boost(const Avector &beta)
Construct given a beta vector (which must have methods x(), y(), z())
A4Vector operator*(const A4Vector &v) const
Overload operator * for boost on a vector.
void GetComponents(Scalar &beta_x, Scalar &beta_y, Scalar &beta_z) const
Get components into beta_x, beta_y, and beta_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
Equality/inequality operators.
Boost(BoostX const &bx)
Construct from an axial boost.
XYZVector BetaVector() const
Class representing a Lorentz Boost along the Z axis, by beta.
XYZVector BetaVector() const
Boost(IT begin, IT end)
Construct given a pair of pointers or iterators defining the beginning and end of an array of three S...
Namespace for new Math classes and functions.
void GetLorentzRotation(Scalar r[]) const
Get elements of internal 4x4 symmetric representation, into a data array suitable for direct use as t...
Boost & operator=(BoostZ const &bz)
Boost Inverse() const
Return inverse of a boost.
void Invert()
Invert a Boost in place.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
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...
DefaultCoordinateSystemTag Default tag for identifying any coordinate system.
Boost()
Default constructor (identity transformation)
LorentzVector< ROOT::Math::PxPyPzE4D< double > > operator()(const LorentzVector< ROOT::Math::PxPyPzE4D< double > > &v) const
Lorentz transformation operation on a Minkowski ('Cartesian') LorentzVector.
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(Boost const &b)
copy constructor