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

Skipping ions with status 1 in TreeToHepMC #22

Closed michael-pitt closed 1 year ago

michael-pitt commented 1 year ago

Is your feature request related to a problem? Please describe. Stable ions cannot be handled when processed by dd4hep, while in many eA processes, ions are present in the final state.

Describe the solution you'd like Until dd4hep manages to handle ions, we can artificially set the ion's status from 1 to 90 during the ROOT->HEPMC step (TreeToHepMC).

Describe alternatives you've considered An example of such a fix can be found in this commit: https://github.com/michael-pitt/eic-smear/commit/691573a22b462304e0f144b003a1e96a62d390cd

Regards, Michael