Need code for .lhe file reading and ploting graphs for eta and pt

Anybody have macro for LHE file reading and plot particle eta and Pt ? If someone have please share.

You could try to start with (hopefully it is able to read "lhef" input files and write "root" output files): HepMC3/examples/ConvertExample
See also another HepMC3/examples, e.g., HepMC3/examples/ViewerExample and HepMC3/examples/LHEFExample

Thanks for sharing but I haven’t get any clue because my programing is not so good.