Hi rooters,
I’d be curious to know how TreeViewer decides the default ranges of the x-axis when plotting.
(They are typically wider than the data, and they seem to vary.)
Thanks in advance.
Hi rooters,
I’d be curious to know how TreeViewer decides the default ranges of the x-axis when plotting.
(They are typically wider than the data, and they seem to vary.)
Thanks in advance.
If you want to impose your own limits you can use:
auto h = new TH1D("h","h",nbins,xlow,xhigh);
tree->Draw("var>>h");
Thanks!
As about imposing limits, I saw that it is also possible to do on the TreeViewer itself.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.