Skip to content

Commit fab8c8b

Browse files
committed
eta differentiation in eloss
1 parent b0523c2 commit fab8c8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/TableProducer/Strangeness/strangenesstofpid.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ struct strangenesstofpid {
350350
// measured vs expected total time QA
351351
if (doQA) {
352352
// plots for effective eloss corrections - Lambda case
353-
histos.add("h2dProtonMeasuredVsExpected", "h2dProtonMeasuredVsExpected", {HistType::kTH2F, {axisSmallP, axisExpectedOverMeasured}});
354-
histos.add("h2dPionMeasuredVsExpected", "h2dPionMeasuredVsExpected", {HistType::kTH2F, {axisSmallP, axisExpectedOverMeasured}});
353+
histos.add("h2dProtonMeasuredVsExpected", "h2dProtonMeasuredVsExpected", {HistType::kTH2F, {axisSmallP, axisExpectedOverMeasured, axisEta}});
354+
histos.add("h2dPionMeasuredVsExpected", "h2dPionMeasuredVsExpected", {HistType::kTH2F, {axisSmallP, axisExpectedOverMeasured, axisEta}});
355355

356356
histos.add("hArcDebug", "hArcDebug", kTH2F, {axisP, {50, -5.0f, 10.0f}});
357357

@@ -664,7 +664,7 @@ struct strangenesstofpid {
664664
histos.fill(HIST("h2dDeltaTimePositiveLambdaPr"), v0.p(), v0.eta(), deltaTimePositiveLambdaPr);
665665
histos.fill(HIST("h2dProtonMeasuredVsExpected"),
666666
(timeLambda + timePositivePr)/(pTra.tofSignal() - pTra.tofEvTime()),
667-
positiveP);
667+
positiveP, v0.positiveeta());
668668
if (doQANSigma)
669669
histos.fill(HIST("h2dNSigmaPositiveLambdaPr"), v0.p(), nSigmaPositiveLambdaPr);
670670
}
@@ -687,7 +687,7 @@ struct strangenesstofpid {
687687
histos.fill(HIST("h2dDeltaTimeNegativeLambdaPi"), v0.p(), v0.eta(), deltaTimeNegativeLambdaPi);
688688
histos.fill(HIST("h2dPionMeasuredVsExpected"),
689689
(timeLambda + timeNegativePi)/(nTra.tofSignal() - nTra.tofEvTime()),
690-
negativeP);
690+
negativeP, v0.negativeeta());
691691
if (doQANSigma)
692692
histos.fill(HIST("h2dNSigmaNegativeLambdaPi"), v0.p(), nSigmaNegativeLambdaPi);
693693
}

0 commit comments

Comments
 (0)