Skip to content

Commit 893df72

Browse files
committed
Fix bug in histogram access from ccdb
1 parent 7ff48c3 commit 893df72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ struct lambdaspincorrderived {
387387
if (useweight && datatype == 1) {
388388
if (tag1 == 0 && tag2 == 0) {
389389
epsWeight1 = hweight1->GetBinContent(hweight1->FindBin(dphi1, deta1, pt1));
390-
epsWeight2 = hweight2->GetBinContent(hweight12->FindBin(dphi2, deta2, pt2));
390+
epsWeight2 = hweight12->GetBinContent(hweight12->FindBin(dphi2, deta2, pt2));
391391
} else if (tag1 == 0 && tag2 == 1) {
392392
epsWeight1 = hweight2->GetBinContent(hweight2->FindBin(dphi1, deta1, pt1));
393393
epsWeight2 = hweight22->GetBinContent(hweight22->FindBin(dphi2, deta2, pt2));

0 commit comments

Comments
 (0)