TTree name with dots

How to read a TTree on the Root prompt when the name of tree includes dots

name.with.dots->Scan() => Error!


Try:

TTree *t; gFile->GetObject("name.with.dots", t);
t->Scan();
1 Like

It works! thank you very much!!