Skip to content

Commit 3be5c2e

Browse files
committed
fix bug for event mixing
1 parent 4232efa commit 3be5c2e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,10 @@ struct LfLambdaTwoPartPolarization {
370370
aLambdaTag = 1;
371371
}
372372

373-
if (postrack_v01.globalIndex() == trk.globalIndex() || negtrack_v01.globalIndex() == trk.globalIndex()) {
374-
continue;
373+
if (doprocessDataSame) {
374+
if (postrack_v01.globalIndex() == trk.globalIndex() || negtrack_v01.globalIndex() == trk.globalIndex()) {
375+
continue;
376+
}
375377
}
376378

377379
if (LambdaTag == aLambdaTag) {

0 commit comments

Comments
 (0)