eic / HEPMC_Merger

A code used to to merge events from provided HEPMC files.
0 stars 0 forks source link

Read and write root hepmc files #5

Open simonge opened 10 months ago

kkauder commented 10 months ago

As it turns out, while one obstacle has been removed (https://github.com/scikit-hep/pyhepmc/issues/67), pyhepmc currently does not support the hepmc.root format for reading or writing. I'm considering reimplementing the whole thing in C++, which should also alleviate the spurious and persisting memory issues.

simonge commented 10 months ago

I have used the pyHepMC3 package rather than pyhepmc to successfully write hepmc.root files before. Although there is some weird variation in whether I can read the output with a TBrowser or not.

simonge commented 10 months ago

A port to C++ might be nice anyway