Skip to content

Commit d335f7c

Browse files
author
Shirajum Monira
committed
has TOF check under same and mixed events
1 parent e9a9d6b commit d335f7c

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Extended.cxx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,12 @@ struct FemtoUniversePairTaskTrackV0Extended {
482482
trackHistoPartOneNeg.fillQA<false, false>(part);
483483
}
484484
} else {
485-
if ((part.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
485+
if ((part.pidCut() & 512u) != 0) {
486+
if ((part.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
487+
continue;
488+
} else if ((part.pidCut() & (1u << ConfTrkSelection.confTrackChoicePartOne)) == 0) {
486489
continue;
490+
}
487491
if (ConfTrkSelection.confChargePart1 > 0)
488492
trackHistoPartOnePos.fillQA<false, false>(part);
489493
if (ConfTrkSelection.confChargePart1 < 0)
@@ -501,8 +505,12 @@ struct FemtoUniversePairTaskTrackV0Extended {
501505
if (!isParticleCombined(p1, ConfTrkSelection.confTrackChoicePartOne))
502506
continue;
503507
} else {
504-
if ((p1.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
508+
if ((p1.pidCut() & 512u) != 0) {
509+
if ((p1.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
510+
continue;
511+
} else if ((p1.pidCut() & (1u << ConfTrkSelection.confTrackChoicePartOne)) == 0) {
505512
continue;
513+
}
506514
}
507515
// track cleaning
508516
if (!pairCleaner.isCleanPair(p1, p2, parts)) {
@@ -958,8 +966,12 @@ struct FemtoUniversePairTaskTrackV0Extended {
958966
if (!isParticleCombined(p1, ConfTrkSelection.confTrackChoicePartOne))
959967
continue;
960968
} else {
961-
if ((p1.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
969+
if ((p1.pidCut() & 512u) != 0) {
970+
if ((p1.pidCut() & (64u << ConfTrkSelection.confTrackChoicePartOne)) == 0)
971+
continue;
972+
} else if ((p1.pidCut() & (1u << ConfTrkSelection.confTrackChoicePartOne)) == 0) {
962973
continue;
974+
}
963975
}
964976

965977
const auto& posChild = parts.iteratorAt(p2.globalIndex() - 2 - parts.begin().globalIndex());

0 commit comments

Comments
 (0)