Hi Phil,
This is not supported by TTree::Draw. Instead you will need to use
TTree::MakeSelector.
Cheers,
Philippe
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Philip Symes
Sent: Wednesday, May 14, 2003 1:09 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Multiple cuts on different axes
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
--
Philip Symes,
MINOS Project,
Sussex University
& Soudan Underground Mine, MN.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET