Skip to content

Commit 14bd53b

Browse files
Fix MC association check when running over real data
Updated condition to skip MC association for real data runs.
1 parent 4889c68 commit 14bd53b

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)