How to include a line in histogram

I have a histogram, i want to put two line at x=0.3 and at x=0.9 position in histogram. i am using TH1F. please suggest me proper way.

TLine *line = new TLine(0.3,y1,0.3,y2);
line->Draw();