Hi,
I have a skimmed D3PD root file and I just MakeClass to analyze the data.
In this root file I have some vector of float vector branches like:
The question is how to access these branches in the source file. I have tried two methods:
Float_t eta = trig_EF_trigmuonef_track_MS_eta->at(i).at(j);
and
vector<float> tmp;
tmp = trig_EF_trigmuonef_track_MS_eta->at(i);
Float_t eta = tmp[j];
It gives me the same error:
Error: Can’t call vector<vector<float,allocator >,allocator<vector<float,allocator > > >::at(i) in current scope TagProbe.C:23:
Possible candidates are…
(in vector<vector<float,allocator >,allocator<vector<float,allocator > > >)
*** Interpreter error recovered ***
I’d be really appreciated if someone knows how to access to these branches.
cheers,
Qipeng