Accessing ROOT.std.vector<ROOT.std.vector<ROOT.std.str

Good evening,

I’m using the version:
ROOT 5.18/00d (branches/v5-18-00-patches@24036, Jun 02 2008, 10:09:00 on linux)
(official ATLAS Athena)

and I have troubles drawing elements of a ROOT.std.vector<ROOT.std.vector<ROOT.std.string>>.

I created the Dict, and I load it at the beginning of the Cint session. The Dict is well created because with PyROOT Bindings I can access the elements of the vectors.

In CINT I can read the size(), but then, when I try to Draw the content of the elements, it crashes.

It says the “Proxy is not set”.

Is there a way to fix this?

How can I implement the Draw() and Scan() method for my vector<vector>?

Many thanks for your help and have a nice evening,

Ric.

Attaching file MyFile.root as _file0...
root [1] ROOT::Cintex::Enable()
root [2] gSystem->Load("libMyPackageDict")
(int)1
root [3] MyTree
(class TTree*)0x9c43378
root [9] SUSYTree->Scan("@jetChannels.at(0).data()")
***********************************
*    Row   * Instance * @jetChann *
***********************************
*        0 *        0 *   DEFAULT *
*        1 *        0 *   DEFAULT *
*        2 *        0 *   DEFAULT *
*        3 *        0 *   DEFAULT *
*        4 *        0 *   DEFAULT *
*        5 *        0 *   DEFAULT *
*        6 *        0 *   DEFAULT *
*        7 *        0 *   DEFAULT *
*        8 *        0 *   DEFAULT *
Exception: vector::_M_range_check (C++ exception) (tmpfile):1:
Fatal in <TGenVectorProxy>: At> Logic error - no proxy object set.
aborting
(no debugging symbols found)
.....

Hi,

5.18 had problem with containers of std::string, this should be fixed in v5.22/00.

Cheers,
Philippe.

Many thanks Philippe!

I’ll try with the SVN version.

Have a nice day,

Ric.