Skip to content

Commit bab3448

Browse files
[PWGLF] Fix MC association check in derivedlambdakzeroanalysis (#18186)
1 parent fa6afb2 commit bab3448

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3078,7 +3078,8 @@ struct derivedlambdakzeroanalysis {
30783078
}
30793079

30803080
// consider only associated candidates if asked to do so, disregard association
3081-
if (!doMCAssociation) {
3081+
// do not perform MC association when running over real data
3082+
if (doprocessRealDataRun3 || doprocessRealDataRun2 || !doMCAssociation) {
30823083
BITSET(selMap, selConsiderK0Short);
30833084
BITSET(selMap, selConsiderLambda);
30843085
BITSET(selMap, selConsiderAntiLambda);

0 commit comments

Comments
 (0)