We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29864e6 commit 9f82e6cCopy full SHA for 9f82e6c
PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx
@@ -357,6 +357,9 @@ struct StudyPnch {
357
if (RecCol.globalIndex() != mcCollision.bestCollisionIndex()) {
358
continue;
359
}
360
+ if (!RecCol.has_mcCollision()) {
361
+ continue;
362
+ }
363
auto recTracksPart = RecTracks.sliceBy(perCollision, RecCol.globalIndex());
364
auto multrec = countNTracksMcCol(recTracksPart, RecCol);
365
if (multrec > 0) {
0 commit comments