From f3b25d5a9c32ddbaceb588029e1adfea0652863e Mon Sep 17 00:00:00 2001 From: aferrero2707 Date: Tue, 23 Jun 2026 08:45:46 +0200 Subject: [PATCH] [PWGDQ]fixed collision index for matching candidates in derived tables The collision index was wrongly forced to -1 in the FwdTracksReAlign tables for the case of matching candidates with no associated collision. Now the collision index is correctly set to htat of the original track. --- PWGDQ/Tasks/global-muon-matcher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGDQ/Tasks/global-muon-matcher.cxx b/PWGDQ/Tasks/global-muon-matcher.cxx index 09b68924722..4c5120fdcc4 100644 --- a/PWGDQ/Tasks/global-muon-matcher.cxx +++ b/PWGDQ/Tasks/global-muon-matcher.cxx @@ -968,7 +968,7 @@ struct GlobalMuonMatching { int8_t nClusters = static_cast(std::min(127, static_cast(mchPar.getNClusters()) + static_cast(mftPar.getNClusters()))); const float chi2 = static_cast(mchTrack.chi2()); - const int32_t collisionId = mchTrack.has_collision() ? mchTrack.collisionId() : -1; + const int32_t collisionId = mchTrack.collisionId(); bool hasBcSlice = false; std::array bcSlice{}; if (collisionId < 0) {