You did not say anything about the fit function you want to use. If it will be a predefined functions in ROOT you can draw your histogram and use the Fit Panel for selecting a function from the list, setting parameters, fit options, etc. For more details see page 68 of the User’s Guide at ftp://root.cern.ch/root/doc/chapter5.pdf