Skip to content

Commit

Permalink
PWGHF: adjust mother-daughter indexing in generator
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanopolitano committed Jul 30, 2024
1 parent 239cd66 commit 1691a32
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 1691a32

Please sign in to comment.