Re: Error when adding THnSparseD objects

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Tue, 21 Jul 2009 12:05:25 +0200


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 Tue Jul 21 2009 - 12:04:36 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 28 2009 - 17:50:02 CEST