Skip to content

Commit 435d8e2

Browse files
author
Zuzanna
committed
MCTruth Dplus
1 parent b56ddd8 commit 435d8e2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,13 @@ 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
176+
pass = true;
177+
} else if (pdgCode == -411) { // D- meson
174178
pass = true;
175179
} else if (static_cast<int>(pdg) == static_cast<int>(pdgCode)) {
176180
if (particle.isPhysicalPrimary())

0 commit comments

Comments
 (0)