18 double qbp = localParameters.
qbp();
19 double dxdz = localParameters.
dxdz();
20 double dydz = localParameters.
dydz();
25 double pzSign = localParameters.
pzSign();
27 double sqr =
sqrt(dxdz*dxdz + dydz*dydz + 1);
28 double den = -q/(sqr*sqr*sqr*qbp);
34 lJacobian(3,0) = ( dxdz*(-q/(sqr*qbp*qbp)) );
35 lJacobian(3,1) = ( q/(sqr*qbp) + (den*dxdz*dxdz) );
36 lJacobian(3,2) = ( (den*dxdz*
dydz) );
37 lJacobian(4,0) = ( dydz*(-q/(sqr*qbp*qbp)) );
38 lJacobian(4,1) = ( (den*dxdz*
dydz) );
39 lJacobian(4,2) = ( q/(sqr*qbp) + (den*dydz*dydz) );
40 lJacobian(5,0) = ( -q/(sqr*qbp*qbp) );
41 lJacobian(5,1) = ( (den*
dxdz) );
42 lJacobian(5,2) = ( (den*
dydz) );
57 Rsub(0,0) = rot.
xx(); Rsub(0,1) = rot.
yx(); Rsub(0,2) = rot.
zx();
58 Rsub(1,0) = rot.
xy(); Rsub(1,1) = rot.
yy(); Rsub(1,2) = rot.
zy();
59 Rsub(2,0) = rot.
xz(); Rsub(2,1) = rot.
yz(); Rsub(2,2) = rot.
zz();
62 R.Place_at(Rsub, 0,0);
63 R.Place_at(Rsub, 3,3);
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepStd< double, 6, 6 > > AlgebraicMatrix66
AlgebraicMatrix65 theJacobian
TrackCharge charge() const
Charge (-1, 0 or 1)
ROOT::Math::SMatrix< double, 6, 5, ROOT::Math::MatRepStd< double, 6, 5 > > AlgebraicMatrix65
Square< F >::type sqr(const F &f)
const RotationType & rotation() const
float pzSign() const
Sign of the z-component of the momentum in the local frame.
JacobianLocalToCartesian(const Surface &surface, const LocalTrajectoryParameters &localParameters)
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepStd< double, 3, 3 > > AlgebraicMatrix33