Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event header to conversion #106

Merged
merged 33 commits into from
Apr 19, 2023
Merged

Conversation

bistapf
Copy link
Contributor

@bistapf bistapf commented Apr 17, 2023

BEGINRELEASENOTES

  • Add the event header to conversion from Delphes to edm4hep output. The event weight (as returned by generator) as well as the event number will be filled as members.
    ENDRELEASENOTES

Birgit Stapf and others added 27 commits January 24, 2023 14:19
…oading weight from delphes not yet functional
@tmadlener
Copy link
Contributor

Thanks @bistapf,

My main question/comment at this point is whether we really need to make the name of the created EventHeaderCollection configurable. Given that there should always be exactly one per event, I would fix the name to "EventHeader" (consistent with what DD4hep does for EDM4hep) and put it as a constant into the header of the converter.

converter/src/DelphesEDM4HepConverter.cc Outdated Show resolved Hide resolved
converter/src/DelphesEDM4HepConverter.cc Outdated Show resolved Hide resolved
standalone/src/DelphesPythia8Common.h Outdated Show resolved Hide resolved
converter/src/DelphesEDM4HepConverter.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@tmadlener tmadlener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants