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

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 8 Jun 2012 11:53:38 -0500


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 - 18:53:45 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 08 2012 - 23:50:02 CEST