Re: [ROOT] bitted word II

From: Juergen Hannappel (hannappe@physik.uni-bonn.de)
Date: Tue Aug 21 2001 - 21:17:49 MEST


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
-- 
Dr. Juergen Hannappel  Office: W148 Phone: +49 228 73 2447  FAX +49 228 73 7869
mailto:hannappel@physik.uni-bonn.de        Physikalisches Institut der Uni Bonn
http://lisa2.physik.uni-bonn.de/~hannappe   Nussallee 12, D-53115 Bonn, Germany
CERN: Phone: +412276 76461 Fax: 77930 Bat. 892-R-A13 F-01631 CERN CEDEX, France



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