Go to the documentation of this file.
10 #pragma implementation
13 #include "CLHEP/Vector/defs.h"
14 #include "CLHEP/Vector/LorentzRotation.h"
29 betaVec *= 1.0 / tt();
30 bboost.
set( betaVec );
52 bboost =
b.boostVector();
63 betaVec *= 1.0 / tt();
64 bboost.
set( betaVec );
86 bboost =
b.boostVector();
95 double dr2 = r1.
norm2();
103 double db2 = b1.
norm2( );
105 return ( db2 + dr2 );
118 return ( db2 + dr2 );
132 const HepBoost &
b,
double epsilon )
const {
137 if ( db2 > epsilon*epsilon ) {
140 double dr2 = r1.
norm2();
141 return ( (db2 + dr2) <= epsilon*epsilon );
149 double db2 = b1.
norm2();
150 if ( db2 > epsilon*epsilon ) {
154 return ( (db2 + dr2) <= epsilon*epsilon );
166 if ( db2 > epsilon*epsilon ) {
170 return ( (db2 + dr2) <= epsilon*epsilon );
177 return b.norm2() + r.
norm2();
195 ZMthrowA ( ZMxpvImproperTransformation (
196 "rectify() on a transformation with tt() <= 0 - will not help!" ));
namespace and inside the zmpv namespace it typedef s UnitVector to be HepUnit3Vector The conversion which provide those methods available for GETTING INFORMATION if an object might be either a Rotation or a since RI has methods a routine can be passed a RI &and take because anything you wish to ask about a LT you could equally well ask about a Rotation From one derives Rotation and its special cases RotationX etc We can t derive RotationX from from one derives HepLorentzRotation along with HepBoost
HepBoost & set(double betaX, double betaY, double betaZ)
double distance2(const HepBoost &b) const
bool isNear(const HepBoost &b, double epsilon=Hep4RotationInterface::tolerance) const
double distance2(const HepBoost &b) const
double howNear(const HepBoost &b) const
HepAxisAngle axisAngle() const
HepRotation & set(const Hep3Vector &axis, double delta)
double distance2(const HepRotation &r) const
Application of Rotations and LorentzTransformations to containers of and as in Rotation R
void decompose(Hep3Vector &boost, HepAxisAngle &rotation) const
it has advantages For I leave the ZMthrows but substitute I replaced ZMthrow with ZMthrowA in this package ZMthrowA
HepLorentzRotation & set(double bx, double by, double bz)