Is writing RooHistPdf to a file possible?

Hello,

I am performing some fits using RooHistPdf, and I wondered whether that was possible to save the pdf created from the histogram. That would save from creating it each time we need it.

Is there an equivalent to “writeHistToFile” for RooHistPdf ?

I looked in web pages, but before giving up with that idea
I’d like to be sure.

Thanks,

Xavier