Skip to content

Commit 2331017

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 bcff833 commit 2331017

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
@@ -953,7 +953,7 @@ struct GlobalMuonMatching {
953953
const auto nClusters = static_cast<int8_t>(std::min(127, mchPar.getNClusters() + mftPar.getNClusters()));
954954

955955
const float chi2 = static_cast<float>(mchTrack.chi2());
956-
const int32_t collisionId = mchTrack.has_collision() ? mchTrack.collisionId() : -1;
956+
const int32_t collisionId = mchTrack.collisionId();
957957
bool hasBcSlice = false;
958958
std::array<int32_t, 2> bcSlice{};
959959
if (collisionId < 0) {

0 commit comments

Comments
 (0)