Re: Error when adding THnSparseD objects

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Wed, 29 Jul 2009 10:36:33 +0200


Hello,

in case one has some files with THnSparseD objects produced time ago, when the bug was present, will he be forced to re-produce those outputs with the new patched release, or the new release will be able to deal even with those files?

Thanks, best regards

        Alberto

Axel Naumann wrote:
> 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
>>>>>
>>>>>
>>
>>
Received on Wed Jul 29 2009 - 10:36:38 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 17:50:01 CEST