Skip to content

Commit 1012461

Browse files
committed
GPU TPC: Store track position for interpolation also when not updating with new hit
1 parent 868b9e6 commit 1012461

File tree

4 files changed

+76
-65
lines changed

4 files changed

+76
-65
lines changed

GPU/GPUTracking/Merger/GPUTPCGMPropagator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ GPUd() int32_t GPUTPCGMPropagator::Update(float posY, float posZ, int32_t iRow,
638638
return Update(posY, posZ, clusterState, rejectChi2, err2Y, err2Z, &param);
639639
}
640640

641-
GPUd() void GPUTPCGMPropagator::InterpolateFill(float posY, float posZ, gputpcgmmergertypes::InterpolationErrorHit* inter)
641+
GPUd() void GPUTPCGMPropagator::InterpolateFill(gputpcgmmergertypes::InterpolationErrorHit* inter)
642642
{
643643
float* GPUrestrict() mC = mT->Cov();
644644
float* GPUrestrict() mP = mT->Par();

GPU/GPUTracking/Merger/GPUTPCGMPropagator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class GPUTPCGMPropagator
102102
GPUd() int32_t Update(float posY, float posZ, int32_t iRow, const GPUParam& param, int16_t clusterState, bool rejectChi2, bool refit, int8_t sector, float time, float avgInvCharge, float invCharge);
103103
GPUd() int32_t Update(float posY, float posZ, int32_t iRow, const GPUParam& param, int16_t clusterState, bool rejectChi2, bool refit, float err2Y, float err2Z);
104104
GPUd() int32_t Update(float posY, float posZ, int16_t clusterState, bool rejectChi2, float err2Y, float err2Z, const GPUParam* param = nullptr);
105-
GPUd() void InterpolateFill(float posY, float posZ, gputpcgmmergertypes::InterpolationErrorHit* inter);
105+
GPUd() void InterpolateFill(gputpcgmmergertypes::InterpolationErrorHit* inter);
106106
GPUd() int32_t InterpolateReject(const GPUParam& param, float posY, float posZ, int16_t clusterState, gputpcgmmergertypes::InterpolationErrorHit* inter, float err2Y, float err2Z, float deltaZ);
107107
GPUd() float PredictChi2(float posY, float posZ, int32_t iRow, const GPUParam& param, int16_t clusterState, int8_t sideC, float time, float avgCharge, float charge) const;
108108
GPUd() float PredictChi2(float posY, float posZ, float err2Y, float err2Z) const;

0 commit comments

Comments
 (0)