Re: ULong_t in a Tree

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jul 14 1998 - 22:19:55 MEST


Hi Anthony,

  the problem is that (U)Long_t is a not portable type(on most machines
32 bits and sometimes 64 bit). We could solve it if every compiler would
support "long long", but that is not the case. So for the time being
(and guaranteed portability) use Double_t.

Cheers, Fons.


Anthony A. Faust wrote:
> 
> Hello
> 
>         I am trying to convert an existing Class data file to a ROOT tree
> but from http://root.cern.ch/root/html/TBranch.html ULong_t is not
> supported. Is there a better way around this than defining it as a
> Double_t and dealing with the conversions in my code?
> 
> ----------------------------------------------------------------------------
> Anthony A. Faust              | Mail me with "PGP" in subject for my pgp key
> Centre for Subatomic Research | FAX:   403 492 3408
> University of Alberta         | PHONE: 403 492 5017
> Edmonton, Alberta, Canada     | Do not Fold, Spindle, or Mutilate.
> ----------------------------------------------------------------------------

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



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