Re: [ROOT] bitted word II

From: Luiz Martins Mundim Filho (Luiz.Mundim@cern.ch)
Date: Wed Aug 22 2001 - 15:06:13 MEST


Hi Rene

Thanks you very much.

Cheers

Luiz
Rene Brun wrote:

>Hi Luiz,
>
>Instead of:
>root>h1->Draw("Ncmul","Igen  & 1 << 3")
>
>do
>
>root>h1->Draw("Ncmul","(Igen  & 1 << 3) != 0")
>
>In the first case, the result of the mask operation is taken as a weight.
>
>Rene Brun
>
>Luiz Martins Mundim Filho wrote:
>
>>The  problem is even worst. See the  the plots attached, produced with
>>the commands
>>
>>root>TChain chain("h1")
>>root>chain.Add("$SCRATCH_WEEK/*.root")
>>root> TCanvs ...
>>root> h1->Draw("Ncmul")
>>root>c->cd(2)
>>root>h1->Draw("Ncmul","Igen  & 1 << 3")
>>
>>I took off some commands...  See the scales of both plots, they  are wrong.
>>
>>Some  idea?
>>
>>Thanks.
>>Luiz
>>
>>  --------------------------------------------------------------------------------
>>
>>               Name: c.gif
>>   c.gif       Type: GIF Image (image/gif)
>>           Encoding: base64
>>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET