eic / eic-smear

fast simulation tool originally developed by the BNL EIC task force
GNU General Public License v3.0
2 stars 11 forks source link

Hepmc djangoh #24

Closed bschmookler closed 1 year ago

bschmookler commented 1 year ago

Briefly, what does this PR introduce?

This PR contains several changes to the TreeToHepMC, mostly for Djangoh events. The following types of events are now handled: events where a particle has a child which is not included in the particle list are now converted to HepMC; events with hanging vertices are now associated with the hadron beam; events with non-hadronizing partons have those partons associated with the hadron beam vertex; and long-lived hadrons have the correct HepMC3 status number.

After these changes, the created HepMC file can successfully be processed by the beam effects afterburner.

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

Does this PR introduce breaking changes? What changes might users need to make to their code?

Does this PR change default behavior?