Skip to content

Commit f3b25d5

Browse files
committed
[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.
1 parent 74d1947 commit f3b25d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Tasks/global-muon-matcher.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ struct GlobalMuonMatching {
968968
int8_t nClusters = static_cast<int8_t>(std::min(127, static_cast<int>(mchPar.getNClusters()) + static_cast<int>(mftPar.getNClusters())));
969969

970970
const float chi2 = static_cast<float>(mchTrack.chi2());
971-
const int32_t collisionId = mchTrack.has_collision() ? mchTrack.collisionId() : -1;
971+
const int32_t collisionId = mchTrack.collisionId();
972972
bool hasBcSlice = false;
973973
std::array<int32_t, 2> bcSlice{};
974974
if (collisionId < 0) {

0 commit comments

Comments
 (0)