Skip to content

Commit

Permalink
PWGEM/PhotonMeson: fix for XOR (#4581)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsekihat authored Feb 4, 2024
1 parent f2fe44b commit 6922315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PWGEM/PhotonMeson/Core/DalitzEECut.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class DalitzEECut : public TNamed
if (mass < mMinMee || mMaxMee < mass) {
return false;
}
if (phiv < mMinPhivPair || (mMaxPhivPairMeeDep ? mMaxPhivPairMeeDep(mass) : mMaxPhivPair) < phiv) {
if ((phiv < mMinPhivPair || (mMaxPhivPairMeeDep ? mMaxPhivPairMeeDep(mass) : mMaxPhivPair) < phiv) ^ mSelectPC) {
return false;
}
return true;
Expand Down

0 comments on commit 6922315

Please sign in to comment.