Skip to content

Commit 9a6fa02

Browse files
authored
[PWGHF] Set cascade PDG codes in Xic0/Omegac0 candidate creator (#16460)
1 parent 9741fc8 commit 9a6fa02

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ struct HfCandidateCreatorXic0Omegac0 {
832832
KFParticle const kfNegKa(kfTrackBach, kKMinus);
833833
KFParticle const kfNegPiRej(kfTrackBach, kPiMinus); // rej
834834
KFParticle const kfPosPi(kfTrack0, kPiPlus);
835-
KFParticle const kfNegPr(kfTrack1, kProton);
835+
KFParticle const kfNegPr(kfTrack1, kProtonBar);
836836
KFParticle const kfPosKa(kfTrackBach, kKPlus);
837837
KFParticle const kfPosPiRej(kfTrackBach, kPiPlus); // rej
838838

@@ -890,6 +890,8 @@ struct HfCandidateCreatorXic0Omegac0 {
890890
// construct cascade
891891
KFParticle kfOmega;
892892
KFParticle kfOmegarej; // rej
893+
kfOmega.SetPDG(bachCharge < 0 ? kOmegaMinus : kOmegaPlusBar);
894+
kfOmegarej.SetPDG(bachCharge < 0 ? kOmegaMinus : kOmegaPlusBar);
893895
kfOmega.SetConstructMethod(kfConstructMethod);
894896
kfOmegarej.SetConstructMethod(kfConstructMethod); // rej
895897
try {
@@ -1325,7 +1327,7 @@ struct HfCandidateCreatorXic0Omegac0 {
13251327
KFParticle const kfNegPi(kfTrack1, kPiMinus);
13261328
KFParticle const kfNegBachPi(kfTrackBach, kPiMinus);
13271329
KFParticle const kfPosPi(kfTrack0, kPiPlus);
1328-
KFParticle const kfNegPr(kfTrack1, kProton);
1330+
KFParticle const kfNegPr(kfTrack1, kProtonBar);
13291331
KFParticle const kfPosBachPi(kfTrackBach, kPiPlus);
13301332

13311333
KFParticle kfBachPion;
@@ -1383,6 +1385,7 @@ struct HfCandidateCreatorXic0Omegac0 {
13831385
const KFParticle* xiDaugthers[2] = {&kfBachPion, &kfV0};
13841386
// construct cascade
13851387
KFParticle kfXi;
1388+
kfXi.SetPDG(bachCharge < 0 ? kXiMinus : kXiPlusBar);
13861389
kfXi.SetConstructMethod(kfConstructMethod);
13871390
try {
13881391
kfXi.Construct(xiDaugthers, 2);

0 commit comments

Comments
 (0)