52 double r2 = aaxis.
mag2();
54 std::cerr <<
"HepLorentzVector::boost() - "
55 <<
"A zero vector used as axis defining a boost -- no boost done"
59 double b2 = bbeta*bbeta;
61 std::cerr <<
"HepLorentzVector::boost() - "
62 <<
"LorentzVector boosted with beta >= 1 (speed of light) -- \n"
63 <<
"no boost done" << std::endl;
66 double ggamma = std::sqrt(1./(1.-b2));
67 double betaDotV = u.
dot(pp)*bbeta;
70 ee = ggamma * (tt + betaDotV);
71 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 rotationYOf(const HepLorentzVector &vec, double delta)
HepLorentzVector rotationXOf(const HepLorentzVector &vec, double delta)
HepLorentzVector rotationZOf(const HepLorentzVector &vec, double delta)