How to fit a (data) histo with another histo? (As in PAW.)

Dear reader,

I was told that in PAW it was possible to fit a (data) histo with another histo (MC). Is this functionality also available in ROOT? I could not find anything about this. If available, I would apreciate if someone could tell me where to find the information where I can find more info about this and what this function actually does.

Thanks,

Ytsen.

see $ROOTSYS/tutorials/fithist.C

Rene