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 75153a0 commit 1a486e9Copy full SHA for 1a486e9
Common/DCAFitter/include/DCAFitter/HelixHelper.h
@@ -131,9 +131,9 @@ struct CrossInfo {
131
if (isCollinear) {
132
/// for collinear tracks it is better to take
133
/// a weighted average of the crossing points as a radius
134
- float r2r = trcA.rC + o2::gpu::GPUCommonMath::Sqrt(rBSign);
+ float r2r = trcA.rC + rBSign;
135
float r1_r = trcA.rC / r2r;
136
- float r2_r = o2::gpu::GPUCommonMath::Sqrt(rBSign) / r2r;
+ float r2_r = rBSign / r2r;
137
xDCA[0] = r2_r * trcA.xC + r1_r * (xDist + trcA.xC);
138
yDCA[0] = r2_r * trcA.yC + r1_r * (yDist + trcA.yC);
139
} else {
0 commit comments