Skip to content

Commit 54dac45

Browse files
[PWGHF,Trigger] fix a small bug for combine pid (#11363)
1 parent e6928ce commit 54dac45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventFiltering/PWGHF/HFFilterHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ inline bool HfFilterHelper::isSelectedTrack4Femto(const T1& track, const T2& tra
962962
return false;
963963
}
964964
} else {
965-
if (std::fabs(NSigmaTOF) > nSigmaCuts[1] || std::fabs(NSigmaTPC) > nSigmaCuts[0]) { // Use combined TPC and TOF above the threshold
965+
if (NSigma > nSigmaCuts[2]) { // Use combined TPC and TOF above the threshold
966966
return false;
967967
}
968968
}

0 commit comments

Comments
 (0)