How to draw a TH1F with the option of "p" and save into a fi

I’m afraid the last used “drawing option” is not saved together with the histogram in the root file.
So, after you open the file with your saved histogram, you probably need to h_ccd_CTE_L->Draw(“p”) it again (manually adding the “p” option).
However, you can overcome it -> just call (no need to call h_ccd_CTE_L->Draw(“p”) in your macro at all and you may simply call h_ccd_CTE_L->Draw(); afterwards):
h_ccd_CTE_L->SetOption(“p”); // set “p” the default drawing option for this histogram