[ROOT] Fill histograms problem using TString

From: Martin Simard (msimard@slac.stanford.edu)
Date: Sat May 15 2004 - 02:22:53 MEST


Hello,

I want to fill histograms using TString like this.

HistoName->Fill(Variable);

Do Variable can be a TString??


I know there is a way to use a TString by Project like this.

ntuple->Project(HistoName, Variable, weight(cut));

For this case, How can I use this in a Loop over all entries?


Thanks
Martin



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET