Re: [ROOT] Multiple cuts on different axes

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed May 14 2003 - 21:18:23 MEST


Hi Philip,

You can do:

mytree->Draw("mean*(readoutType==1):mean*(readoutType==2)")

Rene Brun

On Wed, 14 May 
2003, Philip Symes wrote:

> Hi,
> I'm dealing with data that has been sent to me as a ROOT tree in 2 channels, 
> so I can plot histograms using the cuts
> mytree->Draw("mean","readoutType==1") 
> or
> mytree->Draw("mean","readoutType==2").
> My problem is that I want to plot the mean of readoutType 1 against that of 
> readoutType 2. 
> That means that I need a different cut on the y-axis to that on the x-axis. 
> I've asked around, but no-one seems to know how to do it. Is it possible?
> 
> Many thanks,
> Phil
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET