Dear root users,
I would like to create a top macro file (.C file) under which is
2 other macro files (like sub .C files) such that I can call it to plot
histograms defined in the 2 sub .C files. Normally, each time when I do:
root[] .L file.C
root[] CBNT t
root[] t.Loop()
, I loop over one .C file to fill histograms from a root-tuple (in the
form of a TTree) and plot them. However, I'm looking for a way to loop
only a single .C file through which I can choose to plot several
histograms form two (or more) .C files so that I don't need to repeat
the same steps to loop over many files. So how to create such a top .C
file? How do I input the arguments which specify the histograms I want
to plot when I load the top .C file?
Thanks in advance!
tcli
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET