|
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. 31 v[0] = v[1] = v[2] = 0.0; 52 double sp, st, sk, cp, ct, ck; 61 temp[0] = ( ck * ct * cp - sk * sp ) * v[0] + 62 ( -sk * ct * cp - ck * sp ) * v[1] + st * cp * v[2]; 63 temp[1] = ( ck * ct * sp + sk * cp ) * v[0] + 64 ( -sk * ct * sp + ck * cp ) * v[1] + st * sp * v[2]; 65 temp[2] = -ck * st * v[0] + sk * st * v[1] + ct * v[2]; 74 s << "(" << v. v[0] << "," << v. v[1] << "," << v. v[2] << ")"; 85 p1. v[2] * p2. v[0] - p1. v[0] * p2. v[2], 86 p1. v[0] * p2. v[1] - p1. v[1] * p2. v[0] ); 95 temp = v[0] * v[0] + v[1] * v[1] + v[2] * v[2]; 105 temp = v[0] * p2. v[0]; 106 temp += v[0] * p2. v[0]; 107 temp += v[0] * p2. v[0]; ostream & operator<<(ostream &s, const EvtVector3R &v)
double dot(const EvtVector3R &v2)
EvtVector3R rotateEuler(const EvtVector3R &v, double alpha, double beta, double gamma)
void applyRotateEuler(double phi, double theta, double ksi)
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
|