Changing branch name ...

From: Anton Fokin (fokin@tsl.uu.se)
Date: Tue Mar 14 2000 - 21:54:33 MET


Hi rooters,

is it possible to change name of a branch in a tree? I have tryed (before
writing tree with split level 1 from Event example)

TBranch* Branch = Tree->GetBranch("fNTrack");
Branch->SetName("Hello");

It doesn't crash and "Hello" branch is acceptable from a root session, but
Event->GetNTrack() starts to return zero every time I read an event in my
compiled program.

Is there any trick/recommendations about changing branch names?

Best,
Anton



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET