Hello,
AFAIK, it is not possible to store aliases in a TTree.
For example, during the TTree creation, if I do something like
TTree *t = new TTree("t","t");
t->SetBranch("foo",&foo,"foo/I");
t->SetAlias("bar","foo");
....
t->Fill();
....
t->Write();
then when I will open the ROOT file where there is the TTree, I will not be able to do something like
while
will work fine.
Am I right? If so, do you have any solution to give two different name to a branch?
Thanks in advance.