Re: [ROOT] bitted word II

From: Luiz Martins Mundim Filho (Luiz.Mundim@cern.ch)
Date: Wed Aug 22 2001 - 10:58:36 MEST


Hi

The command to check the  bitted word works (I'm using it exactly as 
Rene told me), the number of events shown on the "entries"  statistitic 
 field is correct, the problem arises when plotting the histogram, 
because the scales are just wrong.

Thanks.

Luiz

Juergen Hannappel wrote:

>Luiz Martins Mundim Filho <Luiz.Mundim@cern.ch> writes:
>
>
>[...]
>
>>The  problem is even worst. See the  the plots attached, produced with 
>>
>
>[...]
>
>>root>h1->Draw("Ncmul","Igen  & 1 << 3")
>>
>
>
>I cannot reproduce the problem for a strange reason:
>[lxplus007] /afs/cern.ch/user/c/comtrig > root -l *root
>Warning in <TGMimeTypes::TGMimeTypes>: error opening mime type file /etc/root/ro
>ot.mimes
>  *******************************************
>  *                                         *
>  *        W E L C O M E  to  R O O T       *
>  *                                         *
>  *   Version   3.00/06     30 April 2001   *
>  *                                         *
>  *  You are welcome to visit our Web site  *
>  *          http://root.cern.ch            *
>  *                                         *
>  *******************************************
>
>Compiled with thread support.
>
>CINT/ROOT C/C++ Interpreter version 5.14.79, Feb 24 2001
>Type ? for help. Commands must be C++ statements.
>Enclose multiple statements between { }.
>root [0] 
>Attaching file current.root...
>root [1] T->Draw("HVETO_t","HVETO_hits & 1<<3");     
>
>*ERROR 5 : 
> Invalid Syntax "<"
>
>This is with root from /afs/cern.ch/compass/delivery/tools/root
>
>(My first idea was an error in the operator precedence, if the & had
>higher precedence than the << the result of Luiz Plots would be
>understandable) 
>
>Greetings,
>	Juergen
>



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