hi blasters,
i checked in a small utility macro `run/util.C' with functions for
- scaling histograms from ntuples
- printing vectors and matrices
here is an example from reconPlot.C of how to use it:
gROOT->ProcessLine(".L util.C");
.....
TNtuple* etuple;
TH1F zhist("zhist", "% Error in Z0", bins,-0.75,0.75);
char* plot="(z-mcz)/mcz*100>>zhist";
if (scale) scalehist(etuple, &zhist, plot);
etuple->Draw(plot);
--chris
This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST