14 #pragma implementation
54 double r2 = aaxis.
mag2();
56 std::cerr <<
"HepLorentzVector::boost() - "
57 <<
"A zero vector used as axis defining a boost -- no boost done"
61 double b2 = bbeta*bbeta;
63 std::cerr <<
"HepLorentzVector::boost() - "
64 <<
"LorentzVector boosted with beta >= 1 (speed of light) -- \n"
65 <<
"no boost done" << std::endl;
68 register double ggamma = std::sqrt(1./(1.-b2));
69 register double betaDotV = u.
dot(
pp)*bbeta;
70 register double tt = ee;
72 ee = ggamma * (tt + betaDotV);
73 pp += ( ((ggamma-1)/b2)*betaDotV*bbeta + ggamma*bbeta*tt ) * u;
HepLorentzVector & rotateX(double)
double dot(const Hep3Vector &) const
HepLorentzVector rotationXOf(const HepLorentzVector &vec, double delta)
HepLorentzVector & rotateZ(double)
HepLorentzVector & boost(double, double, double)
HepLorentzVector rotationYOf(const HepLorentzVector &vec, double delta)
HepLorentzVector rotationZOf(const HepLorentzVector &vec, double delta)
HepLorentzVector & rotateY(double)