Skip to content

Commit bf10c6c

Browse files
authored
[PWGLF] Nuclei proton correlation: extend ITS rejection for deuterons (#18368)
1 parent c6f337d commit bf10c6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ struct HadronNucleiCorrelation {
637637
if (!doITSPID.value || isITSPID) {
638638
return signCheck;
639639
}
640-
} else if (isTPCElRejection || isTOFPID) {
640+
} else if (isTOFPID || (isTPCElRejection && (!doITSPID.value || isITSPID))) {
641641
return signCheck;
642642
}
643643
}
@@ -1041,7 +1041,7 @@ struct HadronNucleiCorrelation {
10411041
if (track.pt() >= pTthrdeTOF.value || !doITSPID.value || track.itsNSigmaDe() > nsigmaITSDe.value) {
10421042
if (!isPr) {
10431043
registryQa.fill(HIST("QA/h3dTPCTOF_De"), track.tpcNSigmaDe(), track.tofNSigmaDe(), track.pt());
1044-
if (isTPCElRejection || isTOFPID) {
1044+
if (isTOFPID || (isTPCElRejection && (!doITSPID.value || track.itsNSigmaDe() > nsigmaITSDe.value))) {
10451045
registryQa.fill(HIST("QA/h3dTPCTOF_De_Rej"), track.tpcNSigmaDe(), track.tofNSigmaDe(), track.pt());
10461046
}
10471047
}
@@ -1054,7 +1054,7 @@ struct HadronNucleiCorrelation {
10541054
if (track.pt() >= pTthrdeTOF.value || !doITSPID.value || track.itsNSigmaDe() > nsigmaITSDe.value) {
10551055
if (!isPr) {
10561056
registryQa.fill(HIST("QA/h3dTPCTOF_AntiDe"), track.tpcNSigmaDe(), track.tofNSigmaDe(), track.pt());
1057-
if (isTPCElRejection || isTOFPID) {
1057+
if (isTOFPID || (isTPCElRejection && (!doITSPID.value || track.itsNSigmaDe() > nsigmaITSDe.value))) {
10581058
registryQa.fill(HIST("QA/h3dTPCTOF_AntiDe_Rej"), track.tpcNSigmaDe(), track.tofNSigmaDe(), track.pt());
10591059
}
10601060
}

0 commit comments

Comments
 (0)