From 3d6d23bdf6158f023664bf7865b0ce141ec6c6a4 Mon Sep 17 00:00:00 2001 From: Jinhyun Park Date: Thu, 28 May 2026 20:18:12 +0900 Subject: [PATCH] Fill in empty PDG value for KFParticle of V0 and CharmBaryon --- PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx b/PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx index 04dacbfc128..fff93b7f5fe 100644 --- a/PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx +++ b/PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx @@ -997,6 +997,7 @@ struct HfCandidateCreatorXic0Omegac0Qa { kfV0 = kfV0MassConstrained; } kfV0.TransportToDecayVertex(); + kfV0.SetPDG(pdgIdOfV0); //~~~~~~~Construct cascade with KF~~~~~~~ const KFParticle* cascDaughters[2] = {&kfBach, &kfV0}; @@ -1023,6 +1024,7 @@ struct HfCandidateCreatorXic0Omegac0Qa { if (kfCasc.GetNDF() <= 0 || kfCasc.GetChi2() <= 0) { continue; } + kfCasc.SetPDG(pdgIdOfCascade); // perform cascade building on casc_rej - only for Omega if constexpr (decayChannel != hf_cand_casc_lf::DecayType2Prong::XiczeroOmegaczeroToXiPi) { @@ -1035,6 +1037,7 @@ struct HfCandidateCreatorXic0Omegac0Qa { } kfCascRej.GetMass(massCascRej, sigMassCascRej); + kfCascRej.SetPDG(pdgIdOfCascade); } // Set mass constraint to cascade @@ -1073,6 +1076,7 @@ struct HfCandidateCreatorXic0Omegac0Qa { hCandCounter->Fill(VertexFit); hInvMassCharmBaryon->Fill(massCharmBaryon); } + kfCharmBaryon.SetPDG(pdgIdOfCharmBaryon); // Set production vertex // PV