Re:

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 4 Jun 2012 07:21:54 +0000

> t->Draw("a{b==1}:a{b==2}:a{b==3}","","candle")

You can do that already . may be just making 3 function doing the selection. Then you plot the 3 functions.
(f1:f2:f3…)

On Jun 4, 2012, at 8:57 AM, Georg Troska wrote:

> Hi everybody,
>
> I just discovered the "candle"-draw option. Very nice. But when I'm trying
>
> t->Draw("a:b","","candle")
>
> I will get two candles with the whole distributions of "a" and "b", What I
> actually want are candles of "a" differentiated by all subtypes of "b".
> Something like
>
> t->Draw("a{b==1}:a{b==2}:a{b==3}","","candle")
>
> I thought as the common "a:b" draw-option shows a TH2 of what I actually
> want it would be possible to show it that way. I could also cast it from
> TH2. Is there a way?
>
> Georg
>
>
Received on Mon Jun 04 2012 - 09:22:01 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 08 2012 - 17:50:01 CEST