Hi guys.

Just wanted to find out if there is a limit to the number of events one can generate with the rf101_basics.C code. I tried generating a billion events and this is the plot I get.

As you can see, the generator fails near the peak. The RooGaussian uses uniform random numbers from TRandom3 to generate gaussian deviates. The algorithm used in TRandom3, Mersenne Twister, has a period of 2^19937−1. Does this not mean that it should be able to generate 1 billion events without repetition?

I was wondering if someone could help me interpret this.