HepMC to root

Hi,
just in case someone needs to solve the same problem, HepMC3
http://hepmc.web.cern.ch/hepmc/
has a ConvertExample utility HepMC->ROOT in examples.
Andrii