Cuts in TTree:Draw

From: Thomas Bretz <>
Date: Fri, 08 Apr 2005 11:34:18 +0200


I have an object stored to a TTree containing two variables A and B. Now I want to get a histogram of A such, that B follows a probability distribution given in another histogram (probhist), is this possible?

T->Draw("A", "gRandom->Uniform() <

Thanks in advance,
Thomas. Received on Fri Apr 08 2005 - 11:34:38 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET