We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fe332f commit cdb8943Copy full SHA for cdb8943
DataFormats/Reconstruction/src/TrackParametrizationWithError.cxx
@@ -377,9 +377,11 @@ GPUd() TrackParametrizationWithError<value_T>::TrackParametrizationWithError(con
377
double m24 = pt * (cs - this->getSnp() * sn / r), m44 = -pt * pt * (r * sn + this->getSnp() * cs);
378
double m35 = pt, m45 = -pt * pt * this->getTgl();
379
//
380
- m43 *= charge;
381
- m44 *= charge;
382
- m45 *= charge;
+ if (charge) { // RS: this is a hack, proper treatment to be implemented
+ m43 *= charge;
+ m44 *= charge;
383
+ m45 *= charge;
384
+ }
385
386
double a1 = cv[13] - cv[9] * (m23 * m44 + m43 * m24) / m23 / m43;
387
double a2 = m23 * m24 - m23 * (m23 * m44 + m43 * m24) / m43;
0 commit comments