[ROOT] Re: Root IO questions

From: Heather Kelly (heather@lheapop.gsfc.nasa.gov)
Date: Thu Aug 09 2001 - 20:35:05 MEST


Hi,

One additional piece of information about the classes whose StreamerInfo
are not included in the file.  There are actually 2 classes:  TkrLayer and
StripId.  Both of which are stored in TObjArrays.  This is our only use of
TObjArrays.  This might be a clue.  So, our Event class contains a
TObjArray to store TkrLayers and each TkrLayer contains a TObjArray to
store StripIds.

Heather   

At 11:09 AM 8/9/01 -0700, Johnson, Tony S. wrote:
>Dear Rooters, I have a couple of ROOT IO/StremerInfo questions.
>
>I am trying to read some root files generated by GLAST using my Root IO
for Java package. They are using Root 3.00/6. I have found two strange
features. First they have a class which contains:
>
>
>   enum {
>        L1T_Wait_Bit = 0x00100000,
>        Cpu_Busy_Bit = 0x00080000,
>        Fifo_Full_Trap_Bit = 0x00040000,
>        Fifo_Full_Bit = 0x00020000,
>        Fifo_Half_Trap_Bit = 0x00010000,
>        Fifo_Half_Bit = 0x00008000,
>        Tkr_Busy_Bit =  0x00004000
>   } DeadTimeCause;
>
>In the corresponding StreamerInfo DeadTimeCause has a type of "enum
TObject::". Is this a bug or a feature?  I dont see where the TObject::
comes into it, since this is effectively just an integer?
>
>If I work around that problem I encounter another problem. Some of the
classes in the file do not seem to get any StreamerInfo information at all
written to the file. I have confirmed this using root's own
TFile.ShowStreamerInfo(). I cannot see any obvious difference between the
classes that get TStreamerInfo and the ones that do not. I have attached
the .h file for one class that does not get included in case you can see
something wrong with it.
>
>Any idea why this happens?
>
>Tony
> <<TkrLayer.h>> 
>
>Attachment Converted: "g:\eudora\attach\TkrLayer.h"
>



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