Yes, there is an equivalent and much better.
If you look in the TH1 class, you will see two functions:
void FillRandom(char *fname, Int_t ntimes=5000);
void FillRandom(TH1 *h, Int_t ntimes=5000);
The first function fills an histogram following a distribution
in a TF1 function with name fname.
The second function fills an histogram following the distribution
of another histogram h.
See the doc of TH1 for more details
Rene Brun