254 Double_t b2 = bx*bx + by*by + bz*bz;
257 Double_t gamma2 = b2 > 0 ? (gamma - 1.0)/b2 : 0.0;
259 SetX(
X() + gamma2*bp*bx + gamma*bx*
T());
260 SetY(
Y() + gamma2*bp*by + gamma*by*
T());
261 SetZ(
Z() + gamma2*bp*bz + gamma*bz*
T());
262 SetT(gamma*(
T() + bp));
268 return 0.5*
log( (
E()+
Pz()) / (
E()-
Pz()) );
283 void TLorentzVector::Streamer(
TBuffer &R__b)
295 if (R__v != 2) TObject::Streamer(R__b);
313 Printf(
"(x,y,z,t)=(%f,%f,%f,%f) (P,eta,phi,E)=(%f,%f,%f,%f)",
The TLorentzRotation class describes Lorentz transformations including Lorentz boosts and rotations (...
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
Buffer base class used for serializing objects.
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual void Print(Option_t *option="") const
Print the TLorentz vector components as (x,y,z,t) and (P,eta,phi,E) representations.
TLorentzVector & operator*=(Double_t a)
void SetXYZ(Double_t x, Double_t y, Double_t z)
TLorentzVector is a general four-vector class, which can be used either for the description of positi...
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
you should not use this method at all Int_t Int_t z
typedef void((*Func_t)())
TLorentzVector VectorMultiplication(const TLorentzVector &) const
TLorentzVector & Transform(const TRotation &)
Double_t Sqrt(Double_t x)
Double_t Rapidity() const
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0