Hello ROOTers,
Is there a simple way to do
tree->Draw("a:TString(b,0,3)")
??
I played a bit around with TTreeFormula, but didn’t get it to work. When workarounding I created a Looper-Method (by MakeClass) and tried to do a
TH2I *h = new TH2I("h","h",10,0,10,10,0,10);
for(...){
...
h->Fill(myString, a)
}
which doesn’t work either… it seem that TH2::Fill(char*, Double_t) is protected,
Oh before I forget this:
Would be nice to get it running on Windows with root5.very-old.34/36
Thanks
George