Re: ROOT / Athena standard problem with (nested) templates (map + set)

From: Alexander Mann <amann_at_uni-goettingen.de>
Date: Fri, 8 Jun 2012 19:13:38 +0200

Hi Philippe,

this somehow doesn't work for me (even on the command line). See the attached text file.

I also attached to auto-generated dictionary which now has an empty include directive.

cu
Alexander

On 06/08/2012 06:53 PM, Philippe Canal wrote:
> Hi Alexander,
>
> You can try:
>
> echo 'gInterpreter->GenerateDictionary("set<unsigned int>","set");
> gInterpreter->GenerateDictionary("map<unsigned int,set<unsigned int>*
> >","set;map"); gROOT->ProcessLine(".x t1.C")' | root.exe -l
>
> Cheers,
> Philippe.
>
> On 6/8/12 11:47 AM, Alexander Mann wrote:
>>
>> Hi Philippe,
>>
>> I was afraid so :) What if I run it like
>>
>> > root -l template_test.C
>>
>> as I would when running this as a grid job, is there a way to pass
>> this on the command line (or any other trick)?
>>
>> cu
>> Alexander
>>
>>
>>
>> On 06/08/2012 06:31 PM, Philippe Canal wrote:
>>> Hi Alexander,
>>>
>>> On the command line, before the .L template_test.C
>>>
>>> Cheers,
>>> Philippe.
>>>
>>> On 6/8/12 11:28 AM, Alexander Mann wrote:
>>>>
>>>> Hi Philippe,
>>>>
>>>> OK, but where do I put this line in my example? (So that it is
>>>> executed early enough.)
>>>>
>>>> cu
>>>> Alexander
>>>>
>>>>
>>>> On 06/08/2012 06:14 PM, Philippe Canal wrote:
>>>>> Hi,
>>>>>
>>>>> So the problem is that a partial dictionary for set<unsigned int> is
>>>>> loaded that interferes with the proper operations.
>>>>> You could to explicitly generate it before hand by doing:
>>>>>
>>>>> gInterpreter->GenerateDictionary("set<unsigned int>","set");
>>>>>
>>>>> Cheers,
>>>>> Philippe.

Received on Fri Jun 08 2012 - 19:13:47 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 11 2012 - 23:50:01 CEST