Hi, Rene,
Preparing short test for you I found mistake in my program! :))))
Initializing TEvent like pointer:
TEvent *fEvent = new TEvent();
I created branch sending **TEvent instead of *TEvent!:
fTEvent->Branch("Event","TEvent",&fEvent,32000,99);
~~~~~~~
Corrected line:
fTEvent->Branch("Event","TEvent",fEvent,32000,99);
solved the problem!
Rene Brun wrote:
> Hi Yuriy,
>
> Could you send me a test as short as possible reproducing this problem?
> I left a print message in the compression algorithm when it fails
> to compress the buffer (this should not happen in principle).
> Note that when the compression fails, the results are still OK. The buffer
> is written non-compressed.
>
> Rene Brun
>
> Chitov Iouri wrote:
> >
> > Hi,
> >
> > With new ROOT version
> >
> > --------------------------------------------------------
> > *******************************************
> > * *
> > * W E L C O M E to R O O T *
> > * *
> > * Version 3.03/02 29 March 2002 *
> > * *
> > * You are welcome to visit our Web site *
> > * http://root.cern.ch *
> > * *
> > *******************************************
> >
> > FreeType Engine v1.x used to render TrueType fonts.
> > Compiled for linux with thread support.
> >
> > CINT/ROOT C/C++ Interpreter version 5.15.34, Mar 5 2002
> > -------------------------------------------------------
> >
> > during creation of TTree ROOT file from binaries rawdata
> > from time to time I have now these warnings:
> >
> > Processing /exp/nemo/chitov/tgv/data/20311003.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311004.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311005.dat... OK!
> > R__zip: output buffer too small for in-memory compression
> > R__zip: output buffer too small for in-memory compression
> > R__zip: output buffer too small for in-memory compression
> > Processing /exp/nemo/chitov/tgv/data/20311006.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311007.dat... OK!
> > out_offset=14, len=31932, out_size=31932
> > R__zip: output buffer too small for in-memory compression
> > Processing /exp/nemo/chitov/tgv/data/20311008.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311009.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311010.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311011.dat... OK!
> > Processing /exp/nemo/chitov/tgv/data/20311012.dat... OK!
> > 12877 data events were saved in test.root
> >
> > With previous versions I never saw such warnings.
> > It seems, like the final results are the same...
> >
> > Is it enough to clarify situation or should I go deeper in
> > the problem?
> >
> > Best wishes,
> > Yuriy.
--
---/---> Chitov Yuriy The more, the better...
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET