Skip to content

Commit f8c5b0c

Browse files
author
Zuzanna Chochulska
committed
Corrections for the PR part 10
1 parent c0c73cb commit f8c5b0c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackPhi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ struct FemtoUniversePairTaskTrackPhi {
285285

286286
bool isKaonRejected(float mom, float nsigmaTPCPr, float nsigmaTOFPr, float nsigmaTPCPi, float nsigmaTOFPi)
287287
{
288-
if (mom < 0.5) {
288+
if (mom < kMomCutLow) {
289289
return (std::abs(nsigmaTPCPi) < confPIDPionNsigmaReject) || (std::abs(nsigmaTPCPr) < confPIDProtonNsigmaReject);
290290
} else {
291291
return (std::hypot(nsigmaTOFPi, nsigmaTPCPi) < confPIDPionNsigmaReject) || (std::hypot(nsigmaTOFPr, nsigmaTPCPr) < confPIDProtonNsigmaReject);
@@ -294,7 +294,7 @@ struct FemtoUniversePairTaskTrackPhi {
294294

295295
bool isPionNSigma(float mom, float nsigmaTPCPi, float nsigmaTOFPi)
296296
{
297-
if (mom < 0.5) {
297+
if (mom < kMomCutLow) {
298298
return (std::abs(nsigmaTPCPi) < confPIDPionNsigmaTPC);
299299
} else {
300300
return (std::hypot(nsigmaTOFPi, nsigmaTPCPi) < confPIDPionNsigmaCombined);
@@ -303,7 +303,7 @@ struct FemtoUniversePairTaskTrackPhi {
303303

304304
bool isPionRejected(float mom, float nsigmaTPCPr, float nsigmaTOFPr, float nsigmaTPCK, float nsigmaTOFK)
305305
{
306-
if (mom < 0.5) {
306+
if (mom < kMomCutLow) {
307307
return (std::abs(nsigmaTPCK) < confPIDKaonNsigmaReject) || (std::abs(nsigmaTPCPr) < confPIDProtonNsigmaReject);
308308
} else {
309309
return (std::hypot(nsigmaTOFK, nsigmaTPCK) < confPIDKaonNsigmaReject) || (std::hypot(nsigmaTOFPr, nsigmaTPCPr) < confPIDProtonNsigmaReject);

0 commit comments

Comments
 (0)