I have a file named “WW” that contains a tree named “mini” that contains leaves with information.
I want to write a script that reads this file and then plots multiple leaves into a histogram.
Thanks
I have a file named “WW” that contains a tree named “mini” that contains leaves with information.
I want to write a script that reads this file and then plots multiple leaves into a histogram.
Thanks
Hi,
I would recommend RDataFrame if you want to plot stuff. The action Histo1D
creates histograms, and if you want to do some computations with the values in the branches, you can Define
a quantity before you histogram it.
Check out this tutorial that demonstrates a few features:
https://root.cern/doc/master/df001__introduction_8C.html