Hi,
this was a bug in the persistency of TExMap which is used by THnSparse. The bug is already fixed in the trunk and will get fixed in v5-24-00-patches soon, so it should arrive at Alice soon. With that fix I can read and write files with a THnSparse in any combination of writing / reading and 64 or 32 bits.
Thanks for the report!
Cheers, Axel.
Axel Naumann wrote on 07/21/2009 12:05 PM:
> Hi Alberto,
>
> your files work for me - I can run
>
> $ hadd fileadd.root file1.root file2.root
> Target file: fileadd.root
> Source file 1: file1.root
> Source file 2: file2.root
> Target path: fileadd.root:/
>
> just fine with the trunk. Which version do you use? What platform are
> you on?
>
> Cheers, Axel.
>
> Alberto Pulvirenti wrote on 07/21/2009 10:52 AM:
>> I'll try. >> Hope that they are not too large to be attached in an email. >> I find that this error appears also if I use 'hadd'. >> >> Cheers >> >> Alberto >> >> Axel Naumann wrote: >>> Hi Alberto, >>> >>> can you send me the two files or better yet the two THnSparse for which >>> this happens? >>> >>> Cheers, Axel. >>> >>> On 2009-07-21 10:46, Alberto Pulvirenti wrote: >>>> Dear all, >>>> >>>> I have two files which are outputs of the same analysis done on >>>> different data sets. Each file contains a TList of THnSparseD objects >>>> with well-specified names. >>>> >>>> I want to generate a file with the same structure, where each >>>> THnSparseD >>>> should be the sum of the two omonyme objects in the source files. >>>> >>>> I managed to prepare a macro which reads the two files and adds up the >>>> two such histograms, but I always encounter a warning like this >>>> >>>> Error in <TExMap::Expand>: slot 568 not empty (should never happen) >>>> >>>> what does it mean? How can I check it? >>>> >>>> Thanks, cheers >>>> >>>> Alberto >>>> >>>>
This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 11:50:04 CEST