I need to be able to access different variables in a tree to project them into histograms, and it would be far easier if I could do something like this: Char_t Avars[10][30] = { "Costhmu", "Debrems", "Dedelta", "Deelse", "Deepair", "Demunu", "Demuon", "Ener", "Gmtns", "Gmtsec" }; for (Int_t j = 0; j <21; j++) { h100 -> Project(htemp, Avars[j]); htemp -> Draw(); etc; etc; } I tried using TString, but so far, I've had no luck. What is the standard way, in ROOT, to make and use an array of strings? Thanks in advance for any help. Kevin Rhodes UW-Madison Amanda Project
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET