Error in TTree::SetBranchStatus

when I ran my code, it post an error “Error in TTree::SetBranchStatus:unknown branch → t1”.

And the code is

    if(t==NULL)	return;
    t->SetBranchStatus("*",1);

This is the only place I use “SetBranchStatus”

I wonder what this error indicates.

What do you get from: t->Print();

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.