Skip to content

Commit 0f1e4ed

Browse files
authored
Simplify phi(1020) daughter particle checks
Removed daughter PDG code checks for PHI(1020) analysis.
1 parent 1dc5d15 commit 0f1e4ed

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

PWGLF/Tasks/Resonances/phi1020analysis.cxx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,19 +1192,6 @@ struct Phi1020analysis {
11921192
// =========================
11931193
if (std::abs(part.pdgCode()) == Pdg::kPhi) {
11941194

1195-
std::vector<int> daughterPDGs;
1196-
if (part.has_daughters()) {
1197-
auto daughter01 = mcParticles.rawIteratorAt(part.daughtersIds()[0] - mcParticles.offset());
1198-
auto daughter02 = mcParticles.rawIteratorAt(part.daughtersIds()[1] - mcParticles.offset());
1199-
daughterPDGs = {daughter01.pdgCode(), daughter02.pdgCode()};
1200-
} else {
1201-
daughterPDGs = {-1, -1};
1202-
}
1203-
1204-
if (std::abs(daughterPDGs[0]) != PDG_t::kKPlus || std::abs(daughterPDGs[1]) != PDG_t::kKPlus) { // At least one decay to Kaon
1205-
continue;
1206-
}
1207-
12081195
histos.fill(HIST("Result/SignalLoss/GenTruephi1020pt_den"), part.pt(), centrality);
12091196
}
12101197
}

0 commit comments

Comments
 (0)