We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e772d commit 5f9b6adCopy full SHA for 5f9b6ad
RecoTracker/PixelTrackFitting/interface/alpaka/BrokenLine.h
@@ -495,8 +495,8 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::brokenline {
495
vMat(2, 1) = vMat(1, 2) = hits_ge.col(i)[4]; // cov_yz
496
vMat(2, 2) = hits_ge.col(i)[5]; // z errors
497
auto tmp = 1. / radii.block(0, i, 2, 1).norm();
498
- jacobXYZtosZ(0, 0) = radii(1, i) * tmp;
499
- jacobXYZtosZ(0, 1) = -radii(0, i) * tmp;
+ jacobXYZtosZ(0, 0) = data.qCharge * radii(1, i) * tmp;
+ jacobXYZtosZ(0, 1) = -data.qCharge * radii(0, i) * tmp;
500
jacobXYZtosZ(1, 2) = 1.;
501
weights(i) = 1. / ((rotMat * jacobXYZtosZ * vMat * jacobXYZtosZ.transpose() * rotMat.transpose())(
502
1, 1)); // compute the orthogonal weight point by point
0 commit comments