TH2 Random generation

From: Manuel Mussini <Manuel.Mussini_at_bo.infn.it>
Date: Wed, 7 Apr 2010 09:08:31 -0500


Hi,
is there any way to generate random numbers from a TH2 at a fixed x value? I mean ... I have a TH2, I have an x value and I need to generate a random y value following the TH2 shape in the fixed "vertical" section!

Any suggestion?

Thanks!

Bye... Received on Wed Apr 07 2010 - 16:08:45 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 08 2010 - 11:50:02 CEST