Skip to content

Commit 3d6d23b

Browse files
Jinhyun ParkJinhyun Park
authored andcommitted
Fill in empty PDG value for KFParticle of V0 and CharmBaryon
1 parent 3bf49b4 commit 3d6d23b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ struct HfCandidateCreatorXic0Omegac0Qa {
997997
kfV0 = kfV0MassConstrained;
998998
}
999999
kfV0.TransportToDecayVertex();
1000+
kfV0.SetPDG(pdgIdOfV0);
10001001

10011002
//~~~~~~~Construct cascade with KF~~~~~~~
10021003
const KFParticle* cascDaughters[2] = {&kfBach, &kfV0};
@@ -1023,6 +1024,7 @@ struct HfCandidateCreatorXic0Omegac0Qa {
10231024
if (kfCasc.GetNDF() <= 0 || kfCasc.GetChi2() <= 0) {
10241025
continue;
10251026
}
1027+
kfCasc.SetPDG(pdgIdOfCascade);
10261028

10271029
// perform cascade building on casc_rej - only for Omega
10281030
if constexpr (decayChannel != hf_cand_casc_lf::DecayType2Prong::XiczeroOmegaczeroToXiPi) {
@@ -1035,6 +1037,7 @@ struct HfCandidateCreatorXic0Omegac0Qa {
10351037
}
10361038

10371039
kfCascRej.GetMass(massCascRej, sigMassCascRej);
1040+
kfCascRej.SetPDG(pdgIdOfCascade);
10381041
}
10391042

10401043
// Set mass constraint to cascade
@@ -1073,6 +1076,7 @@ struct HfCandidateCreatorXic0Omegac0Qa {
10731076
hCandCounter->Fill(VertexFit);
10741077
hInvMassCharmBaryon->Fill(massCharmBaryon);
10751078
}
1079+
kfCharmBaryon.SetPDG(pdgIdOfCharmBaryon);
10761080

10771081
// Set production vertex
10781082
// PV

0 commit comments

Comments
 (0)