cmssw
cmssw copied to clipboard
Adding HepMC3 products to EDMProduct
PR description:
This PR trying to address the EDM addition in #37187 , using advises from twiki [*]. The HepMC3 package adapted new strategy to manipulate event records of High Energy Physics Monte Carlo Event Generators (MCEGs) [**], notably:
- Particles and vertices are stored separately in an ordered graph structure; all custom iterators were removed.
- Extension on the I/O functionality of the library.
[*] https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCreatingNewProducts [**] https://iopscience.iop.org/article/10.1088/1742-6596/1525/1/012017/pdf
The HepMC3 new data format poses challenges on defining the corresponding EDMProduct definition.
This PR depicts partial implementation, due to some technical error:
Error: Class shared_ptr<HepMC3::GenParticle> has been selected but currently the support for its I/O is not yet available. Note that shared_ptr<HepMC3::GenParticle>, even if not selected, will be available for interpreted code.
Error: Class shared_ptr<HepMC3::GenVertex> has been selected but currently the support for its I/O is not yet available. Note that shared_ptr<HepMC3::GenVertex>, even if not selected, will be available for interpreted code.
I am looking for advice(s) on how to solve the error. @smuzaffar, @mkirsano
Note: class version will be done accordingly after a successful compilation with the amended version classes_def.xml.
Related Issue/PR:
- Issue #36662
- configure pythia8 to use hepmc3: #7677
- #37187
- #37689
- #37753
PR validation:
No validation yet, to be finalized as the PR evolve..
if this PR is a backport please specify the original PR and why you need to backport that PR:
NA