Saving scaled histograms in a new root file

Hi,

Can anyone please point me how to save the scaled histograms to a new root file?
I am new in this field.

Thanks.
Nitish.

myhist->SavesAs("myfile.root"); or

TFile f("myhist.root","recreate"); myhist->Write();
Rene

Hi Rene,

Thank for reply!!!
I had to first clone the original histograms, then make the scaled ones
for storing them in the new root file.

Nitish.