I have to do an exercise in which I need to generate a class of events from a 2dimensional gaussian centered in (x,y) = (0,0) and sigma_x=sigma_y=0.3 e rho (correlation coefficient)=0.5.
I have looked for a method to generate events from such distributions using TRandom or TF2 but I have found nothing. Except the implementation “by hand” (I am thinking about a hit and miss method), do you know any other options, please?
Thanks in advance to everybody!
ROOT Version: 6.16
Platform: ubuntu 18