Skip to content

Commit a65d631

Browse files
authored
[PWGLF] Fix bug in histogram access from ccdb (#13513)
1 parent 13cb0d1 commit a65d631

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)