Skip to content

Commit d089343

Browse files
committed
Fix bug for ccdb access
1 parent d380284 commit d089343

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,11 @@ struct lambdaspincorrderived {
635635
} else if (mixedLeg == 2) {
636636
double w2 = 1.0;
637637
if (tag1 == 0 && tag2 == 0) {
638-
w2 = hweight12->GetBinContent(hweight12->FindBin(dphi2, deta1, pt2));
638+
w2 = hweight12->GetBinContent(hweight12->FindBin(dphi2, deta2, pt2));
639639
} else if (tag1 == 0 && tag2 == 1) {
640-
w2 = hweight22->GetBinContent(hweight22->FindBin(dphi2, deta1, pt2));
640+
w2 = hweight22->GetBinContent(hweight22->FindBin(dphi2, deta2, pt2));
641641
} else if (tag1 == 1 && tag2 == 0) {
642-
w2 = hweight32->GetBinContent(hweight32->FindBin(dphi2, deta1, pt2));
642+
w2 = hweight32->GetBinContent(hweight32->FindBin(dphi2, deta2, pt2));
643643
} else if (tag1 == 1 && tag2 == 1) {
644644
w2 = hweight42->GetBinContent(hweight42->FindBin(dphi2, deta2, pt2));
645645
}

0 commit comments

Comments
 (0)