Re:

From: Georg Troska <georg.troska_at_uni-dortmund.de>
Date: Fri, 8 Jun 2012 15:00:07 +0200


Hi,

sorry, but how do I make functions like these?

Can you give me a short example?

Thanks
Georg

>> 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 Fri Jun 08 2012 - 15:00:13 CEST

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