20 double cx = std::cos(angleXZ);
21 double sx = std::sin(angleXZ);
22 double cy = std::cos(angleYZ);
23 double sy = std::sin(angleYZ);
24 double norm = std::sqrt(cx*sy*cx*sy + cy*sx*cy*sx + sx*sy*sx*sy);
25 double zinv = norm/(sx*sy) ;
36 double phi = gdir.phi();
37 double theta = gdir.theta();
39 double cp = std::cos(
phi);
40 double sp = std::sin(
phi);
41 double ct = std::cos(
theta);
42 double st = std::sin(
theta);
69 J1(0,0) = -sx*sx*zinv;
70 J1(1,1) = -sy*sy*zinv;
#define AmgMatrix(rows, cols)
JacobianLocalAnglesPhiTheta(const double angleXZ, const double angleYZ, const Amg::RotationMatrix3D &rot)
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Matrix< double, 3, 1 > Vector3D
AmgMatrix(3, 3) NeutralParticleParameterCalculator