diff --git a/Generators/src/GeneratorPythia8.cxx b/Generators/src/GeneratorPythia8.cxx index f1a52ad382a11..48ec236076086 100644 --- a/Generators/src/GeneratorPythia8.cxx +++ b/Generators/src/GeneratorPythia8.cxx @@ -663,7 +663,7 @@ Bool_t auto st = o2::mcgenstatus::MCGenStatusEncoding(particle.statusHepMC(), // particle.status()) // .fullEncoding; - mParticles.push_back(TParticle(pdg, // Particle type + mParticles.push_back(TParticle(pdg, // Particle type st, // status particle.mother1() - 1, // first mother particle.mother2() - 1, // second mother