13#include "CLHEP/Vector/defs.h"
14#include "CLHEP/Vector/LorentzVector.h"
15#include "CLHEP/Vector/ZMxpv.h"
54 double r2 = aaxis.
mag2();
57 "A zero vector used as axis defining a boost -- no boost done"));
60 double b2 = bbeta*bbeta;
63 "LorentzVector boosted with beta >= 1 (speed of light) -- \n"
67 double ggamma = std::sqrt(1./(1.-b2));
68 double betaDotV = u.
dot(pp)*bbeta;
71 ee = ggamma * (tt + betaDotV);
72 pp += ( ((ggamma-1)/b2)*betaDotV*bbeta + ggamma*bbeta*tt ) * u;
double dot(const Hep3Vector &) const
HepLorentzVector & boost(double, double, double)
HepLorentzVector & rotateZ(double)
HepLorentzVector & rotateX(double)
HepLorentzVector & rotateY(double)
HepLorentzVector rotationZOf(const HepLorentzVector &vec, double phi)
HepLorentzVector rotationYOf(const HepLorentzVector &vec, double phi)
HepLorentzVector rotationXOf(const HepLorentzVector &vec, double phi)