I looked at the documentation but I don’t understand what it means that it’s only in master, I guess it means that I can’t use this method either in ROOT 5.34.36 or in ROOT 6.26?
It is only. implement in the very last version of ROOT. The master version. If you don’t find it in the doc corresponding to the ROOT version you are using, it means it is not implemented for that version. You can change the doc version in the menu on top of the doc.