Hello,
The piece of code you provide is not executable.
Could you send me a short macro with the real statements being used ?
Your code below is to write a new file, not to read an existing file.
Rene Brun
Yongzhao Zhou wrote:
>
> Hi, Rooters,
> I have a pregram to try to read a file as
>
> // --- Open temporary file
> f = new TFile(kSystem->GetPidFile(),"RECREATE");
> // --- Creating Tree
> GAStree = new TTree("GAS Tree", DrawTitle);
> // --- Creating Branch
> GAStree->Branch("Ntuple", &event,
> "t:p1:p2:p3:p4:p5:p6:p7:p8:p9:p10:p11:p12:p13:p14:p15:p16:p17:p18");
> // --- the open and read a file GAS
>
> It works on ROOT v2.20 but does not work on ROOT v2.23/12 on AIX 4.3 even
> it has been passed by compiling and linking. The system always gave the
> messages when the program touchs the statement of creating Branch as
> above:
>
> <CustomReAlloc2>: passed oldsize 64, should be 0
> Fatal in <CustomReAlloc2>: storage area overwritten
> aborting
>
> What is wrong here? Thanks for someone give me a hand.
> Best,
> ZYZ
>
> ------
> Yongzhao Zhou, KLOE, LNF, INFN, Italy
> Tel:39-06-94032696 Fax:39-06-94032427
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET