Skip to content

Commit 267fabf

Browse files
lhusovaLucia Anna Tarasovicova
authored andcommitted
[PWGLF] PWGLF change in hStrangeCorrelation.cxx (AliceO2Group#13122)
Co-authored-by: Lucia Anna Tarasovicova <lucia.anna.husova@cern.ch>
1 parent 0d08f53 commit 267fabf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)