[ROOT] bitted words

From: Luiz Martins Mundim Filho (Luiz.Mundim@cern.ch)
Date: Mon Aug 13 2001 - 16:33:24 MEST


Hi

I have a ntuple with an integer variable that is a bitter word and I 
need to know if the 23rd bit is 0 or 1.

 I looked for such a function on the User's Guide, on the tutorials and 
faq and could not find some thing on this subject. It would be great if 
there exist some simple way to get this information from a ntuple as a 
TMath function.

I tried

TBits Cgen = 2;
Cgen->TestBitNunber(2)

But it did not work.

Can some one help me?

Thanks a lot

Luiz



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