Hi Steve, Thanks for reporting this problem. Now fixed in the development version. Will appear in 2.00/09. The functionality as you described it below was already supported by the formula compiler (class TFormula). I forgot to activate it in the Tree formula evaluation (class TTreeFormula). Rene Brun Stephen Eichblatt wrote: > > 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