bitmask operations in TTree::Draw()

From: Stephen Eichblatt (eichblat@fnal.gov)
Date: Thu Jun 18 1998 - 05:50:04 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET