Plotting a no.of variables in one macro

Dear Experts,

I am trying to plot a number variables(e.g Bmass, Mumumass, Phimass…etc) from a tree by using one macro. Could you please tell me how to draw it?

Thanks,
Deepak

   your_tree->Draw("Bmass"):

Hi Couet,

There are so many variables (50) to plot. I want to write a small macro such that it will plot all variables in one go.

Thanks,
Deepak

may be this example ca help:
https://root.cern/doc/master/treegetval_8C.html

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