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 double ggamma = std::sqrt(1./(1.-b2));
69 double betaDotV = u.
dot(
pp)*bbeta;
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 rotationYOf(const HepLorentzVector &vec, double delta)
HepLorentzVector & rotateY(double)
HepLorentzVector rotationZOf(const HepLorentzVector &vec, double delta)
HepLorentzVector & rotateZ(double)
HepLorentzVector & boost(double, double, double)