Gather branch(columns) usage from RDataFrame

Dear ROOT experts,

is there a way to gather from RDataFrame which branches were actually accessed during the evaluation of the computing graph?

Thank you,


Hello @simonepigazzini ,

I am afraid that is not something RDF can do.

@pcanal do TTree, TChain or TFile have something like that? (if so, you could run a single-thread RDF on the TFile/TTree/TChain and then interrogate them on what branches have been accessed).


You can seemingly do:

auto c = mytree->GetReadCache(ntuple->GetDirectory()->GetFile());

You can also use

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