Skip to content

Commit fc39259

Browse files
authored
Abs added to impPar, fixed histo names (#2757)
1 parent 9092656 commit fc39259

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

PWGHF/D2H/Tasks/taskXic.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ struct HfTaskXic {
322322
registry.fill(HIST("MC/reconstructed/signal/hEtaRecSig"), candidate.eta(), ptCandidate);
323323
registry.fill(HIST("MC/reconstructed/signal/hImpParErrSig"), candidate.errorImpactParameter0(), ptCandidate);
324324
registry.fill(HIST("MC/reconstructed/signal/hDecLenErrSig"), candidate.errorDecayLength(), ptCandidate);
325-
registry.fill(HIST("MC/reconstructed/signal/hChi2PCAsig"), candidate.chi2PCA(), ptCandidate);
325+
registry.fill(HIST("MC/reconstructed/signal/hChi2PCARecSig"), candidate.chi2PCA(), ptCandidate);
326326
} else {
327327
// Background
328328
registry.fill(HIST("MC/reconstructed/background/hPtRecBg"), ptCandidate);
@@ -345,11 +345,11 @@ struct HfTaskXic {
345345
registry.fill(HIST("MC/reconstructed/background/hd0Prong2RecBg"), candidate.impactParameter2(), ptCandidate);
346346
registry.fill(HIST("MC/reconstructed/background/hCtRecBg"), ctXic(candidate), ptCandidate);
347347
registry.fill(HIST("MC/reconstructed/background/hCPARecBg"), candidate.cpa(), ptCandidate);
348-
registry.fill(HIST("MC/reconstructed/background/hCPAXYRecSig"), candidate.cpaXY(), ptCandidate);
348+
registry.fill(HIST("MC/reconstructed/background/hCPAXYRecBg"), candidate.cpaXY(), ptCandidate);
349349
registry.fill(HIST("MC/reconstructed/background/hEtaRecBg"), candidate.eta(), ptCandidate);
350-
registry.fill(HIST("MC/reconstructed/background/hImpParErrSig"), candidate.errorImpactParameter0(), ptCandidate);
351-
registry.fill(HIST("MC/reconstructed/background/hDecLenErrSig"), candidate.errorDecayLength(), ptCandidate);
352-
registry.fill(HIST("MC/reconstructed/background/hChi2PCAsig"), candidate.chi2PCA(), ptCandidate);
350+
registry.fill(HIST("MC/reconstructed/background/hImpParErrBg"), candidate.errorImpactParameter0(), ptCandidate);
351+
registry.fill(HIST("MC/reconstructed/background/hDecLenErrBg"), candidate.errorDecayLength(), ptCandidate);
352+
registry.fill(HIST("MC/reconstructed/background/hChi2PCARecBg"), candidate.chi2PCA(), ptCandidate);
353353
}
354354
}
355355
// MC gen.

PWGHF/TableProducer/candidateSelectorXicToPKPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct HfCandidateSelectorXicToPKPi {
117117
}
118118

119119
// candidate impact parameter XY
120-
if (candidate.impactParameterXY() > cuts->get(pTBin, "impParXY")) {
120+
if (std::abs(candidate.impactParameterXY()) > cuts->get(pTBin, "impParXY")) {
121121
return false;
122122
}
123123

0 commit comments

Comments
 (0)