Skip to content

Commit

Permalink
Set collisionId in prunedGenParticles
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrenguyen authored and mandrenguyen committed Sep 29, 2021
1 parent 5f6d796 commit 5d52968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PhysicsTools/HepMCCandAlgos/plugins/GenParticlePruner.cc
Original file line number Diff line number Diff line change
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 5d52968

Please sign in to comment.