|
EvtGen
2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
Go to the documentation of this file. 51 temp. v[0] = v[1] * p2. v[2] - v[2] * p2. v[1]; 52 temp. v[1] = v[2] * p2. v[0] - v[0] * p2. v[2]; 53 temp. v[2] = v[0] * p2. v[1] - v[1] * p2. v[0]; 69 double sp, st, sk, cp, ct, ck; 78 temp[0] = ( ck * ct * cp - sk * sp ) * v[0] + 79 ( -sk * ct * cp - ck * sp ) * v[1] + st * cp * v[2]; 80 temp[1] = ( ck * ct * sp + sk * cp ) * v[0] + 81 ( -sk * ct * sp + ck * cp ) * v[1] + st * sp * v[2]; 82 temp[2] = -ck * st * v[0] + sk * st * v[1] + ct * v[2]; 91 s << "(" << v. v[0] << "," << v. v[1] << "," << v. v[2] << ")"; EvtVector3C cross(const EvtVector3C &v2)
ostream & operator<<(ostream &s, const EvtVector3C &v)
EvtVector3C rotateEuler(const EvtVector3C &v, double alpha, double beta, double gamma)
void applyRotateEuler(double phi, double theta, double ksi)
|