Rene Brun <Rene.Brun@cern.ch> writes: > 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. you could also do root>h1->Draw("Ncmul","(Igen >> 3) & 1") b.t.w. i did not test on the newest Root version, short of time (sorry) 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