We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6365759 commit 1826aacCopy full SHA for 1826aac
MC/config/PWGHF/external/generator/generator_pythia8_embed_hf.C
@@ -132,6 +132,7 @@ Bool_t importParticles() override
132
133
/// adjust the particle mother and daughter indices
134
if(particle.GetFirstMother() >= 0) particle.SetFirstMother(particle.GetFirstMother() + originalSize);
135
+ if(particle.GetSecondMother() >= 0) particle.SetLastMother(particle.GetSecondMother() + originalSize);
136
if(particle.GetFirstDaughter() >= 0) particle.SetFirstDaughter(particle.GetFirstDaughter() + originalSize);
137
if(particle.GetLastDaughter() >= 0) particle.SetLastDaughter(particle.GetLastDaughter() + originalSize);
138
0 commit comments