In uproot4, how to replace "allitems" of uproot3


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi all,
I am trying to do some BDT studies. The old framework used uproot3. There is a line like:

all_ttrees = dict(file.allitems(filterclass=lambda cls: issubclass(cls, uproot3.tree.TTreeMethods)))

How can I replace it in uproot4? Actually, I have checked the tutorial of uproot4, but I did not understand it well.
Thank you very much!

As it is in the python section, may be @etejedor knows.

Hi @11111 ,
the ROOT team does not provide support for uproot, please refer to uproot’s own support channels.

Cheers,
Enrico

Hi Enrico,
Thank you very much for your info!

Cheers,
Xin

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.