To convert your EDM4hep ROOT file into its JSON representation use:
edm4hep2json my-file.edm4hep.root
Make sure to limit the number of events converted, otherwise the
JSON might become very large.
To limit the total number of
converted events use the -n
flag and to provide comma
separated list of event numbers use the -e
flag.
Example input files (right click to save):