Hello, I have a simple tree and I would like to histogram all variables in an automatic way. I do the following in 3.03/09 TFile f("myfile.root"); tree->Print; ... ****************************************************************************** *Br 0 :varname : this is its description/F * *Entries : 8877 : Total Size= 48065 bytes File Size = 28030 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.14 * *............................................................................* ... TLeaf *leaf; TIter next (tree->GetListOfLeaves()); leaf->GetTitle(); -> "this is its description" leaf->GetName(); -> "this is its description" i.e. I don't get its name, so I can't do tree->Draw(leaf->GetName()); *ERROR 26 : Unknown name : "thisisitsdescription" Any suggestions ? Thanks, Markus ____________________________________________ / Markus Cristinziani, Research Associate / / Stanford Linear Accelerator Center / / ++1(650)926-3886 markus@slac.stanford.edu / --------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET