Skip to content

Commit 56ce555

Browse files
author
Lucia Anna Tarasovicova
committed
bug fix
1 parent c3bd1e0 commit 56ce555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ struct HStrangeCorrelation {
584584
previousContent = hist->GetBinContent(bin);
585585
previousError2 = hist->GetBinError2(bin);
586586
currentContent = previousContent + etaWeight * purity / (efficiency);
587-
currentError2 = previousError2 + std::pow(etaWeight * totalPurityUncert / (efficiency), 2) + std::pow(totalEffUncert * purity * etaWeight, 2) / std::pow(efficiency, 4);
587+
currentError2 = previousError2 + std::pow(etaWeight * purity / (efficiency), 2) + std::pow(etaWeight * totalPurityUncert / (efficiency), 2) + std::pow(totalEffUncert * purity * etaWeight, 2) / std::pow(efficiency, 4);
588588
hist->SetBinContent(bin, currentContent);
589589
hist->SetBinError2(bin, currentError2);
590590
}

0 commit comments

Comments
 (0)