[ROOT] TTrees and Random

From: Daniel De Marco (ddm@GE.INFN.IT)
Date: Thu Jul 04 2002 - 15:53:48 MEST


Hi rooters,

I have a TTree with some variables (say x and y) and I want to plot x
versus (y+random number).
Something like this:
        TRandom dummy
        tree->Draw("x:(y+dummy.Uniform())")
I tried this one and also others using TF1 but I cannot achieve the intended
result.

Anyone can help me?

Thanks in advance.

Bye,
Daniel.

--ddm



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET