Skip to content

Commit

Permalink
Add missing collections to the frames
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 2, 2024
1 parent 4ffdb36 commit 9d65a63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/createEDM4hepFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
gep.setAlphaQCD(next(counter))
gep.setSignalProcessId(next(counter))
gep.setSqrts(next(counter))
frame.put(gep_coll, "GeneratorEventParametersCollection")

for i in range(vectorsize):
gep.addToCrossSections(next(counter))
Expand All @@ -369,5 +370,6 @@
gpi.setXf(0, next(counter))
gpi.setXf(1, next(counter))
gpi.setScale(next(counter))
frame.put(gpi_coll, "GeneratorPdfInfoCollection")

writer.write_frame(frame, "events")

0 comments on commit 9d65a63

Please sign in to comment.