Re: Re: [Gaudi-talk] PyRoot, Reflex, STL iterators and __deref__()

From: <WLavrijsen_at_lbl.gov>
Date: Wed, 10 Dec 2008 21:15:07 -0800


Brett,

my mistake. Looking after the python script interactively at:

>>> help(m.begin)

shows that the first of the two functions (the non-const one) is:

 _Rb_tree_iterator<pair<const short,DayaBay::SimHitCollection*> >

Thus both in selection.xml as well as in brett.h it should actually be std::pair< const short, ... >.

With that change, I now do get first and second.

Best regards,

           Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Thu Dec 11 2008 - 06:14:59 CET

This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 11:50:01 CET