Joinning points with a line

Dear ROOTers,
I want to join the points by a line/ curve or by average line. I have attached a root file named as g1.root. In this root file where are number of points with a very small gap. I want to join that points by a line.
Thanks in advance.
g1.root (44.6 KB)


root > TFile f("g1.root") root > c1.Draw() root > h1.Draw("same hist l")