RooHistPdf for toy generation: stat error


I am using RooMCStudy to make a toy study. To generate the toys I use a RootHistPdf.

Are the statistical uncertainties of the bins taken into account when generating the toys?
or only the “central value” of the RooHistPdf is used?



I realized that my question was probably not very clear.
Let me make an example.

Let’s assume that I have a RooHistPdf created from a MC sample with a limited statistics, say only 50 events.
The distribution that you obtain is probably not “smooth”.
Now I want to generate a toy using this RooHistPdf; each toy has to be generated with 5000 events.
My question is:
when each toy is generated is it considered that each bin has a large stat error?