Skip to content

Commit 3fae554

Browse files
authored
[PWGLF] Bug Fix in hStrangeCorrelation.cxx (#16218)
1 parent 5dfad57 commit 3fae554

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,9 @@ struct HStrangeCorrelation {
12181218

12191219
static_for<0, 3>([&](auto i) {
12201220
constexpr int Index = i.value;
1221+
if ((Index == IndexOmegaMinus || Index == IndexOmegaPlus) && assocCandidate.compatible(Index, trackSelection.dEdxCompatibility) && std::abs(assocCandidate.invMassNSigma(Index - 2)) < massWindowConfigurations.nSigmaNearXiMassCenter) {
1222+
return;
1223+
}
12211224
float efficiency = 1.0f;
12221225
float totalEffUncert = 0.0;
12231226
float efficiencyError = 0.0f;

0 commit comments

Comments
 (0)