Skip to content

Commit

Permalink
Merge pull request #35471 from mandrenguyen/collisionId_112X
Browse files Browse the repository at this point in the history
Set collisionId in prunedGenParticles (11_2_X)
  • Loading branch information
cmsbuild committed Oct 8, 2021
2 parents 52c5a4e + 5d52968 commit 4c19744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PhysicsTools/HepMCCandAlgos/plugins/GenParticlePruner.cc
Expand Up @@ -255,6 +255,7 @@ void GenParticlePruner::produce(Event &evt, const EventSetup &es) {
GenParticle &newGen = out->back();
//fill status flags
newGen.statusFlags() = gen.statusFlags();
newGen.setCollisionId(gen.collisionId());
// The "daIndxs" and "moIndxs" keep a list of the keys for the mother/daughter
// parentage/descendency. In some cases, a circular referencing is encountered,
// which would result in an infinite loop. The list is checked to
Expand Down

0 comments on commit 4c19744

Please sign in to comment.