Skip to content
Snippets Groups Projects

For HepMC3, GenParticle barcodes can only be set once they are associated with a GenEvent

The changes in this merge request a a fix for simulation in HepMC3-based builds. Most changes are protected behind preprocessor checks, so would not be seen in HepMC2-based builds.

In order to be able to do this consistently with the HepMC2 implementation, it was necessary to extend the ITruthIncident interface to be able to retrieve a child particle barcode set by the simulator.

Tagging @averbyts, @ewelina, @mgignac, @jkretz, @dhirsch, @tlari, @mbandier for the other changes.
Tagging @lmijovic for the ITruthIncident changes.

Edited by John Derek Chapman

Merge request reports

Pipeline #4540678 passed

Pipeline passed for 0fb0f83d on jchapman:GenParticleBarcodesHepMC3_master

Approval is optional

Merged by Edward MoyseEdward Moyse 2 years ago (Sep 27, 2022 7:33am UTC)

Merge details

  • Changes merged into master with 2085f2e1 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading