Error: Can’t call vector<vector<int,allocator >,allocator<vector<int,allocator > > >::at(0) in current scope MakeEventShapes.C:829:
Possible candidates are…
(in vector<vector<int,allocator >,allocator<vector<int,allocator > > >)
Error: non class,struct,union object $(mc_child_index->at(0)) used with . or -> MakeEventShapes.C:829:
(class G__CINT_ENDL)342510752
*** Interpreter error recovered ***
Error: Can’t call vector<vector<int,allocator >,allocator<vector<int,allocator > > >::at(0) in current scope MakeEventShapes.C:830:
Possible candidates are…
(in vector<vector<int,allocator >,allocator<vector<int,allocator > > >)
Error: non class,struct,union object $(mc_child_index->at(0)) used with . or -> MakeEventShapes.C:830:
(class G__CINT_ENDL)64216224
*** Interpreter error recovered ***
Hello,
Sorry to bring up this subject again but I had the same problem and I tried all the solutions here, none of them worked.
I have to read a branch vector<vector >* from a tree. The class to read the tree is generated from MakeSelector. But when running the script I got this error:
Error: Can’t call vector<vector<int,allocator >,allocator<vector<int,allocator > > >
::vector<vector<int,allocator >,allocator<vector<int,allocator > > >() in current sc
ope go.C:14:
Possible candidates are…
(in vector<vector<int,allocator >,allocator<vector<int,allocator > > >)
Could you provide some suggestion how to fix this?