Skip to content

Commit

Permalink
PWGHF: adjust mother-daughter indexing in generator (#1715)
Browse files Browse the repository at this point in the history
(cherry picked from commit dc99792)
  • Loading branch information
stefanopolitano authored and alcaliva committed Aug 23, 2024
1 parent a269528 commit 114ad87
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Bool_t importParticles() override

/// adjust the particle mother and daughter indices
if(particle.GetFirstMother() >= 0) particle.SetFirstMother(particle.GetFirstMother() + originalSize);
if(particle.GetSecondMother() >= 0) particle.SetLastMother(particle.GetSecondMother() + originalSize);
if(particle.GetFirstDaughter() >= 0) particle.SetFirstDaughter(particle.GetFirstDaughter() + originalSize);
if(particle.GetLastDaughter() >= 0) particle.SetLastDaughter(particle.GetLastDaughter() + originalSize);

Expand Down

0 comments on commit 114ad87

Please sign in to comment.