Skip to content

Commit 0694140

Browse files
authored
[PWGLF] nuclei-proton correlation: fix bug in De identification (#8177)
1 parent 56dcc27 commit 0694140

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ struct hadronnucleicorrelation {
10371037

10381038
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && track.sign() > 0)
10391039
registry.fill(HIST("hDenominatorPurity_Deuteron_TPC"), track.pt());
1040-
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && std::abs(track.tofNSigmaPr()) < nsigmaTOF && track.sign() > 0)
1040+
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && std::abs(track.tofNSigmaDe()) < nsigmaTOF && track.sign() > 0)
10411041
registry.fill(HIST("hDenominatorPurity_Deuteron_TPCTOF"), track.pt());
10421042
if (((std::abs(track.tpcNSigmaDe()) < nsigmaTPC && track.beta() < -100) ||
10431043
(track.beta() > -100 && std::abs(track.tpcNSigmaDe()) < nsigmaTPC && std::abs(track.tofNSigmaDe()) < nsigmaTOF)) &&
@@ -1055,7 +1055,7 @@ struct hadronnucleicorrelation {
10551055

10561056
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && track.sign() < 0)
10571057
registry.fill(HIST("hDenominatorPurity_Deuteron_TPC"), track.pt() * -1);
1058-
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && std::abs(track.tofNSigmaPr()) < nsigmaTOF && track.sign() < 0)
1058+
if (std::abs(track.tpcNSigmaDe()) < nsigmaTPC && std::abs(track.tofNSigmaDe()) < nsigmaTOF && track.sign() < 0)
10591059
registry.fill(HIST("hDenominatorPurity_Deuteron_TPCTOF"), track.pt() * -1);
10601060
if ((
10611061
(std::abs(track.tpcNSigmaDe()) < nsigmaTPC && track.beta() < -100) ||

0 commit comments

Comments
 (0)