How to get array of indexes for a tree

I’m using BuildIndex(const char* majorname, const char* minorname = “0”)

method on my tree but I have cases that I have more than one entry with the same
Major and minor names. Is it possible to get an array of indexes?


No it is not. The intent of the index is to be able to find the unique TTree entry matching the minor and major values. You will need to extend the definition so as to make it unique.