16 #include "TBranchBrowsable.h" 22 class BranchToClass :
private TVirtualBranchBrowsable {
24 static TClass* doit(
const TBranch* iBranch);
27 BranchToClass() =
delete;
30 TClass* BranchToClass::doit(
const TBranch* iBranch) {
31 TClass* contained =
nullptr;
32 TClass*
type = TVirtualBranchBrowsable::GetCollectionContainedType(iBranch,
nullptr, contained);
33 if (
type ==
nullptr) {
41 TClass*
branchToClass(
const TBranch* iBranch) {
return BranchToClass::doit(iBranch); }
TClass * branchToClass(const TBranch *iBranch)