Ludger Janauschek wrote: > > Hello! > > after looking in TTree::SetBranchStatus, I would try to get the > branch status with > > tree->GetBranch("branchname")->TestBit(kDoNotProcess) > > But kDoNotProcess is not defined in a header file, > but in src/TREE_Branch.cxx. > > What is the recommended way to check the branch status? > Hi Ludger, I have moved the definition of kDoNotProcess and kIsClone from the implementation file to the header of TBranch. Here is the definition of kDoNotProcess const Int_t kDoNotProcess = BIT(10); // Active bit for branches where BIT is a macro defined in RTypes.h #define BIT(n) (1 << (n)) Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET