protected:
TLorentzRotation TLorentzRotation(Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t) void SetBoost(Double_t, Double_t, Double_t) public:
TLorentzRotation TLorentzRotation() TLorentzRotation TLorentzRotation(TRotation&) TLorentzRotation TLorentzRotation(TLorentzRotation&) TLorentzRotation TLorentzRotation(Double_t, Double_t, Double_t) TLorentzRotation TLorentzRotation(TVector3&) TLorentzRotation MatrixMultiplication(TLorentzRotation&) TLorentzRotation operator*(TLorentzRotation& m) TLorentzRotation Inverse() void ~TLorentzRotation() TLorentzRotation& Boost(Double_t bx, Double_t by, Double_t bz) TLorentzRotation& Boost(TVector3& b) TClass* Class() TLorentzRotation& Invert() virtual TClass* IsA() Bool_t IsIdentity() Bool_t operator!=(TLorentzRotation& r) Double_t operator()(int, int) TLorentzVector operator*(TLorentzVector& p) TLorentzRotation& operator*=(TLorentzRotation& m) TLorentzRotation& operator=(TLorentzRotation& r) TLorentzRotation& operator=(TRotation& r) Bool_t operator==(TLorentzRotation& r) TLorentzRotation::TLorentzRotationRow operator[](int i) TLorentzRotation& Rotate(Double_t angle, TVector3& axis) TLorentzRotation& Rotate(Double_t angle, TVector3* axis) TLorentzRotation& RotateX(Double_t angle) TLorentzRotation& RotateY(Double_t angle) TLorentzRotation& RotateZ(Double_t angle) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) TLorentzRotation& Transform(TLorentzRotation& m) TLorentzRotation& Transform(TRotation& m) Double_t TT() Double_t TX() Double_t TY() Double_t TZ() TLorentzVector VectorMultiplication(TLorentzVector& p) Double_t XT() Double_t XX() Double_t XY() Double_t XZ() Double_t YT() Double_t YX() Double_t YY() Double_t YZ() Double_t ZT() Double_t ZX() Double_t ZY() Double_t ZZ()Data Members
protected:
Double_t fxx Double_t fxy Double_t fxz Double_t fxt Double_t fyx Double_t fyy Double_t fyz Double_t fyt Double_t fzx Double_t fzy Double_t fzz Double_t fzt Double_t ftx Double_t fty Double_t ftz Double_t ftt
*-*-*-*-*-*-*-*-*-*-*-*The Physics Vector package *-*-*-*-*-*-*-*-*-*-*-* *-* ========================== * *-* The Physics Vector package consists of five classes: * *-* - TVector2 * *-* - TVector3 * *-* - TRotation * *-* - TLorentzVector * *-* - TLorentzRotation * *-* It is a combination of CLHEPs Vector package written by * *-* Leif Lonnblad, Andreas Nilsson and Evgueni Tcherniaev * *-* and a ROOT package written by Pasha Murat. * *-* for CLHEP see: http://wwwinfo.cern.ch/asd/lhc++/clhep/ * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* /*
| xx xy xz xt |
|
|
| yx yy yz yt |
lambda = |
|
| zx zy zz zt |
|
|
| tx ty tz tt |
TLorentzRotation l; // l is
initialized as identity
TLorentzRotation m(l); // m = l
TRotation r;
TLorentzRotation lr(r);
TLorentzRotation lb1(bx,by,bz);
TVector3 b;
TLorentzRotation lb2(b);
The Matrix for a Lorentz boosts is:
| 1+gamma'*bx*bx gamma'*bx*by gamma'*bx*bz
gamma*bx |
| gamma'*bx*bz 1+gamma'*by*by gamma'*by*by
gamma*by |
| gamma'*bz*bx gamma'*bz*by 1+gamma'*bz*bz
gamma*bz |
| gamma*bx
gamma*by gamma*bz
gamma |
with the boost vector b=(bx,by,bz) and gamma=1/Sqrt(1-beta*beta) and gamma'=(gamma-1)/beta*beta.
Double_t xx;
TLorentzRotation l;
xx = l.XX(); // gets the xx component
xx = l(0,0); // gets the xx component
if (l==m) {...} // test for equality
if (l !=m) {...} // test for inequality
if (l.IsIdentity()) {...} // test for identity
TLorentzRotation a,b,c;
c = b*a; // product
c = a.MatrixMultiplication(b); // a is unchanged
a *= b; // Attention: a=a*b
c = a.Transform(b) // a=b*a then c=a
l1 = l2.Inverse(); // l1 is inverse of l2, l2 unchanged
l1 = l2.Invert(); // invert l2, then l1=l2
TLorentzVector v;
...
v=l.VectorMultiplication(v);
v = l * v;
v.Transform(l);
v *= l; // Attention v = l*v
*/
Double_t XX() Double_t XY() Double_t XZ() Double_t XT() Double_t YX() Double_t YY() Double_t YZ() Double_t YT() Double_t ZX() Double_t ZY() Double_t ZZ() Double_t ZT() Double_t TX() Double_t TY() Double_t TZ() Double_t TT() TLorentzRotation::TLorentzRotationRow operator[](int i) Double_t operator()(int, int) TLorentzRotation& operator=(TLorentzRotation& r) TLorentzRotation& operator=(TRotation& r) Bool_t operator==(TLorentzRotation& r) Bool_t operator!=(TLorentzRotation& r) Bool_t IsIdentity() TLorentzVector VectorMultiplication(TLorentzVector& p) TLorentzVector operator*(TLorentzVector& p) TLorentzRotation operator*(TLorentzRotation& m) TLorentzRotation& operator*=(TLorentzRotation& m) TLorentzRotation& Transform(TLorentzRotation& m) TLorentzRotation& Transform(TRotation& m) TLorentzRotation Inverse() TLorentzRotation& Invert() TLorentzRotation& Boost(Double_t bx, Double_t by, Double_t bz) TLorentzRotation& Boost(TVector3& b) TLorentzRotation& RotateX(Double_t angle) TLorentzRotation& RotateY(Double_t angle) TLorentzRotation& RotateZ(Double_t angle) TLorentzRotation& Rotate(Double_t angle, TVector3& axis) TLorentzRotation& Rotate(Double_t angle, TVector3* axis) TClass* Class() TClass* IsA() void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void ~TLorentzRotation()