Skip to content

Commit 8647dac

Browse files
committed
Fix ITS seeding for B=0
The convention is to assign to q/pT = 1/mostProbablePt(=0.6) in case of B=0
1 parent bd3c02c commit 8647dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Detectors/ITSMFT/ITS/tracking/GPU/cuda/TrackingKernels.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ GPUdii() o2::track::TrackParCov buildTrackSeed(const Cluster& cluster1,
146146
const float dx = x3 - x1;
147147
const float dy = y3 - y1;
148148
snp = sign * dy / o2::gpu::CAMath::Hypot(dx, dy);
149-
q2pt = sign / track::kMostProbablePt;
149+
q2pt = 1.f / track::kMostProbablePt;
150150
q2pt2 = 1.f;
151151
} else {
152152
const float crv = math_utils::computeCurvature(x3, y3, x2, y2, x1, y1);

Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ track::TrackParCov TrackerTraits<nLayers>::buildTrackSeed(const Cluster& cluster
12811281
const float dx = x3 - x1;
12821282
const float dy = y3 - y1;
12831283
snp = sign * dy / o2::gpu::CAMath::Hypot(dx, dy);
1284-
q2pt = sign / track::kMostProbablePt;
1284+
q2pt = 1.f / track::kMostProbablePt;
12851285
q2pt2 = 1.f;
12861286
} else {
12871287
const float crv = math_utils::computeCurvature(x3, y3, x2, y2, x1, y1);

0 commit comments

Comments
 (0)