Re: directories in TMapFile

From: Valeriy Onuchin (onuchin@emcal06.rhic.bnl.gov)
Date: Tue Sep 29 1998 - 22:11:02 MEST


Fons Rademakers wrote:
> 
> Hi Piergiorgio,
> 
>    sorry but directories in shared files are not supported.
> The TMapFile is to be seen as one directory. What you could
> do is to use multiple TMapFiles.
> 
> Cheers, Fons.
> 
> Piergiorgio Cerello wrote:
> >
> > Dear Rooters,
> >
> > I'd like to set up a directory structure into a memory mapped file, in
> > order to monitor different groups of histograms.
> >
> > In the producer, I open the TMapFile and then I create a directory tree,
> > which I check to be ok by listing the content.
> >
> > Then, the producer starts the loop on the events, and it works well until
> > the end of run.
> >
> > On the consumer side, I browse the shared memory, but I can only access
> > the histograms in the top directory. If I try to retrieve a subdirectory
> > nothing happens (indeed the browser doesn't show them as folders but as
> > objects).
> >
> > What's wrong or missing?
> > Thanks,
> >
> >     Piergiorgio
> 

  Just a comment:
   TMapFile cannot work well containing
   pointers-to-pointers (for example TList* )
   This is the main  reason.  
                Best regards . Valera     

P.S.
 Concerning my ???
http://root.cern.ch/root/roottalk/roottalk98/1839.html
  Could you introduce method to get Current breakval?

Some more comments.  For  my opinion ROOT in many cases
is overprotected.  Why I can not get access to 
  gObjectTable::list_of_objects or gSystem::list_of_timers?
similar examples are in  gui classes.
  It could be very nice to have possibility to open up some 
secure data members just for debugging.



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