Hello All, I have seen in the code of TBranchObject::IsFolder that it returns true only if the number of subbranches is greater than 1. Is there any reason for it to return kFALSE when the number of branches is equal to 1? I mean, why not: Bool_t TBranchObject::IsFolder() { //*-*-*-*-*Return TRUE if more than one leaf, FALSE otherwise*-* //*-* ================================================== Int_t nbranches = fBranches.GetEntriesFast(); if (nbranches >= 1) return kTRUE; else return kFALSE; } instead of: Bool_t TBranchObject::IsFolder() { //*-*-*-*-*Return TRUE if more than one leaf, FALSE otherwise*-* //*-* ================================================== Int_t nbranches = fBranches.GetEntriesFast(); if (nbranches > 1) return kTRUE; else return kFALSE; } I would like being able to browse a branch with an only subbranch in it. Greetings, Manuel Sanchez
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET