Skip to content

Commit c9852e9

Browse files
zchochulZuzanna
andauthored
[PWGCF] FemtoUniverse -- Add D+ to MC Truth (#10866)
Co-authored-by: Zuzanna <01150674@pw.edu.pl>
1 parent da01790 commit c9852e9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,11 @@ struct femtoUniverseProducerMCTruthTask {
168168
bool pass = false;
169169
std::vector<int> tmpPDGCodes = ConfPDGCodes; // necessary due to some features of the Configurable
170170
for (uint32_t pdg : tmpPDGCodes) {
171-
if (pdgCode == 333) {
171+
if (pdgCode == 333) { // phi meson
172172
pass = true;
173-
} else if (pdgCode == 421) {
173+
} else if (pdgCode == 421) { // D0 meson
174+
pass = true;
175+
} else if (pdgCode == 411) { // D+ meson
174176
pass = true;
175177
} else if (static_cast<int>(pdg) == static_cast<int>(pdgCode)) {
176178
if (particle.isPhysicalPrimary())

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,8 @@ struct FemtoUniverseProducerTask {
15651565
} else {
15661566
if (!(isKaonNSigma(p1.pt(), trackCuts.getNsigmaTPC(p1, o2::track::PID::Kaon), trackCuts.getNsigmaTOF(p1, o2::track::PID::Kaon)))) {
15671567
continue;
1568-
} else if (!(isKaonNSigma(p2.pt(), trackCuts.getNsigmaTPC(p2, o2::track::PID::Kaon), trackCuts.getNsigmaTOF(p2, o2::track::PID::Kaon)))) {
1568+
}
1569+
if (!(isKaonNSigma(p2.pt(), trackCuts.getNsigmaTPC(p2, o2::track::PID::Kaon), trackCuts.getNsigmaTOF(p2, o2::track::PID::Kaon)))) {
15691570
continue;
15701571
}
15711572
}

0 commit comments

Comments
 (0)