Re: [ROOT] Shared memory

From: Otto.Schaile@Physik.uni-muenchen.de
Date: Thu Jun 21 2001 - 16:44:31 MEST


Hi Arek,
guess you have a problem with mapping, please check the following URL:

http://root.cern.ch/root/htmldoc/TMapFile.html#TMapFile:SetMapAddress

Cheers
Otto


On Thu, 21 Jun 2001, Arkadiusz Bubak wrote:

> Hi all
> 
> A have a little problem with TFileMap. I have 2 working "scripts" (like
> in tutorial: hprod1.C and hcons.C). Next I chaned this scripts to
> compiled programs. And one seems to work correctly, but second (hcons)
> after run has a problem in point:
> 
> hpx    = (TH1F *) mfile->Get("hpx", hpx);
> 
> To this place work correctly. Exactly the same problem exist when
> instead compiled hcons I have "script" hcons.C and compiled hprod1.
> 
> I attached mentioned programs and makefile (shared.tar.gz):
> hprod1.cc
> hcons.cc
> Makefile
> 
> Have any idea whats is wrong?
> Thanks !
> 
> Arek
> 

Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



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