bitmask operations in TTree::Draw()

Stephen Eichblatt (eichblat@fnal.gov)
Wed, 17 Jun 1998 22:50:04 -0500 (CDT)


Hi,

i would like to do a bitmask operation on an integer in a TTree.

for example:

T.Draw("xyzD3 & 0x3ff")

where i want to see the lower 10 bits of the integer xyzD3.

Or even:

T.Draw("xyzD3 % 1024")

and

T.Draw("xyzD3 / 1024")

with their usual integer interpretations would be sufficient.

Any suggestions on how to do this?

Steve Eichblatt
eichblatt@fnal.gov
(630)840-4006