Skip to content

Commit af7424a

Browse files
victor-gonzalezVictor
andauthored
[PWGCF] DptDpt -- Fix for wrong behavior excluding good ITS (#9286)
Co-authored-by: Victor <victor@cern.ch>
1 parent b33fd8e commit af7424a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/TableProducer/dptdptfilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ template <typename CollisionObject>
10171017
inline bool selectOnItsDeadMaps(CollisionObject coll)
10181018
{
10191019
auto checkFlag = [](auto flag, bool invert = false) {
1020-
return flag && !invert;
1020+
return invert ? !flag : flag;
10211021
};
10221022
switch (fItsDeadMapCheck) {
10231023
case kNOCHECK:

0 commit comments

Comments
 (0)