RooDataHist Shape Smooth Line

Hi all.

Can anyone tell me how I can set in code (not from the Editor) the Shape of a RooDataHist to Smooth Line?

Many thanks,
Stefanos