Macros do HepMc, ROOT