Dear ROOT experts,
I’ve been starting to use RDataFrame and I’m finding it very useful. As the impatient person that I am, I also find very useful the ROOT::RDF::Experimental::AddProgressBar
, that works perfectly. In the documentation, I see that one can attach the progress bar to nodes or to the RDataFrame object. However, I have a slightly more complicated workflow, using RunGraphs
(see dummy example below). Of course, I understand I can add a progress bar for each of the RDFs, but I was wondering if I could unify everything in a single progress bar?
import ROOT as r
r.EnableImplicitMT(16)
#rdf1=r.RDataFrame("Events", file1) # this creates two progress bars
#rdf2=r.RDataFrame("Events", file2)
r.RDF.Experimental.AddProgressBar(rdf1)
r.RDF.Experimental.AddProgressBar(rdf2)
histo1=rdf1.Histo1D( "LepGood_pt" )
histo2=rdf2.Histo1D( "LepGood_pt" )
histo3=rdf1.Histo1D( "LepGood_eta" )
print( r.RDF.RunGraphs([histo1, histo2, histo3]) )
Thanks in advance